wordpress-develop/tests/phpunit/tests/rest-api
Rachel Baker 6028062ade 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@39337 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-21 22:55:33 +00:00
..
rest-attachments-controller.php REST API: Include template in all post type schemas. 2016-11-09 07:12:01 +00:00
rest-categories-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-03 20:04:59 +00:00
rest-comments-controller.php REST API: Set the comment type to a readonly property in the schema. 2016-11-21 22:55:33 +00:00
rest-controller.php REST API: Remove rest_get_post filter and get_post abstraction. 2016-11-08 13:08:49 +00:00
rest-pages-controller.php REST API: Allow parent property to be explicitly set to 0 when creating or updating a Post. 2016-11-18 18:11:49 +00:00
rest-post-meta-fields.php REST API: Correctly map meta keys to field names. 2016-11-21 05:40:46 +00:00
rest-post-statuses-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-post-types-controller.php REST API: Add rest_base to response objects of wp/v2/taxonomies and wp/v2/types 2016-11-10 02:20:09 +00:00
rest-posts-controller.php REST API: Include template in all post type schemas. 2016-11-09 07:12:01 +00:00
rest-request-validation.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-request.php REST API: Return error when JSON decoding fails. 2016-11-03 04:04:41 +00:00
rest-revisions-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-03 20:04:59 +00:00
rest-schema-sanitization.php REST API: Change “ipv4” types to “ip” to support ipv6. 2016-11-18 19:32:03 +00:00
rest-schema-validation.php REST API: Change “ipv4” types to “ip” to support ipv6. 2016-11-18 19:32:03 +00:00
rest-server.php REST API: Deprecate the rest_enabled filter. 2016-10-26 06:27:04 +00:00
rest-settings-controller.php REST API: Add support for "integer" type for meta and options 2016-10-31 16:06:54 +00:00
rest-tags-controller.php REST API: Fix test for unfiltered_html under multisite. 2016-11-10 02:47:48 +00:00
rest-taxonomies-controller.php REST API: Add rest_base to response objects of wp/v2/taxonomies and wp/v2/types 2016-11-10 02:20:09 +00:00
rest-test-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-users-controller.php REST API: Add test case for users/me endpoint that the context param defaults to view. 2016-11-18 18:58:25 +00:00