WP-API / docs-v2

Documentation for version 2 of the API
http://v2.wp-api.org
58 stars 76 forks source link

Document handling/escapting of "slug" field #176

Open kadamwhite opened 8 years ago

kadamwhite commented 8 years ago

Referenced issue: slug field is saved HTML-encoded WP-API/WP-API#2243, others are not. This can be counterintuitive and should be called out in the documentation.

kadamwhite commented 8 years ago

Broadening the issue to capture documenting how slugs work more broadly, following WP-API/WP-API#2712 where confusion arose from the fact they are not set by WP until a post is published