wordpress-develop/tests/phpunit/tests/rest-api
Joe Hoyle 58169b04fa REST API: Validate and Sanitize registered meta based off the schema.
With the addition of Array support in our schema validation functions, it's now possible to use these in the meta validation and sanitization steps. Also, this increases the test coverage of using registered via meta the API significantly.

Fixes #38531.
Props rachelbaker, tharsheblows.


git-svn-id: https://develop.svn.wordpress.org/trunk@39222 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-14 16:35:35 +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: Allow updating a comment without the content present. 2016-11-10 03:34:30 +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: Clean-up our validation callbacks and add missing array items properties in our endpoint schemas. 2016-11-03 02:17:39 +00:00
rest-post-meta-fields.php REST API: Validate and Sanitize registered meta based off the schema. 2016-11-14 16:35:35 +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: Validate and Sanitize registered meta based off the schema. 2016-11-14 16:35:35 +00:00
rest-schema-validation.php REST API: Validate and Sanitize registered meta based off the schema. 2016-11-14 16:35:35 +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: Improve validation for usernames and passwords. 2016-11-14 07:12:31 +00:00