WordPress/wp-includes/rest-api/endpoints
Rachel Baker d87fe366a9 REST API: Set the comment `type` to a readonly property in the schema.
Document the type property as `readonly` and remove the default value. After #38820 it is no longer possible to set the type property on a comment to anything a custom type.

Props jnylen0, rachelbaker.
Fixes #38886.
Built from https://develop.svn.wordpress.org/trunk@39337


git-svn-id: http://core.svn.wordpress.org/trunk@39277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 22:56:30 +00:00
..
class-wp-rest-attachments-controller.php REST API: Uppercase 'ID' in endpoint descriptions and error messages for consistency with other strings. 2016-11-16 12:18:33 +00:00
class-wp-rest-comments-controller.php REST API: Set the comment `type` to a readonly property in the schema. 2016-11-21 22:56:30 +00:00
class-wp-rest-controller.php REST API: Remove rest_get_post filter and `get_post` abstraction. 2016-11-08 13:09:33 +00:00
class-wp-rest-post-statuses-controller.php REST API: Merge some more permission error strings missed in [39309]. 2016-11-19 02:21:31 +00:00
class-wp-rest-post-types-controller.php REST API: Merge some more permission error strings missed in [39309]. 2016-11-19 02:21:31 +00:00
class-wp-rest-posts-controller.php REST API: Merge two error messages for edit / update. 2016-11-20 22:36:31 +00:00
class-wp-rest-revisions-controller.php REST API: Uppercase 'ID' in endpoint descriptions and error messages for consistency with other strings. 2016-11-16 12:18:33 +00:00
class-wp-rest-settings-controller.php REST API: Switch to stable version of JSON Schema. 2016-11-03 02:22:29 +00:00
class-wp-rest-taxonomies-controller.php REST API: Merge some more permission error strings missed in [39309]. 2016-11-19 02:21:31 +00:00
class-wp-rest-terms-controller.php REST API: Merge and clarify some permission error strings. 2016-11-19 01:46:32 +00:00
class-wp-rest-users-controller.php REST API: Merge some more permission error strings missed in [39309]. 2016-11-19 02:21:31 +00:00