WordPress/wp-includes/rest-api
Gary Pendergast 6c1e98d1fb REST API: Add support for arrays in schema validation and sanitization.
By allowing more fine-grained validation and sanitisation of endpoint args, we can ensure the correct data is being passed to endpoints.

This can easily be extended to support new data types, such as CSV fields or objects.

Props joehoyle, rachelbaker, pento.
Fixes #38531.


Built from https://develop.svn.wordpress.org/trunk@39046


git-svn-id: http://core.svn.wordpress.org/trunk@38988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-31 01:48:41 +00:00
..
endpoints REST API: Add support for arrays in schema validation and sanitization. 2016-10-31 01:48:41 +00:00
fields Docs: Add much more complete and syntactically correct documentation throughout the `WP_REST_User_Meta_Fields` class. 2016-10-30 18:28:30 +00:00
class-wp-rest-request.php REST: Fix a yoda condition in `WP_REST_Request::get_parameter_order()` and add a missing period for an inline comment in `WP_REST_Request::from_url(). 2016-10-30 17:42:45 +00:00
class-wp-rest-response.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-rest-server.php REST API: Allow Content-Type on CORS requests. 2016-10-31 00:34:33 +00:00