WordPress/wp-includes/rest-api
Joe Hoyle e8a311ed02 REST API: Validate posts status enum
Currently we are using a different validate callback, so the `enum` is not interpretted. We just have to fallback to the result of `rest_validate_request_arg` in our custom wrapper function.

Fixes #38417.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-25 17:13:28 +00:00
..
endpoints REST API: Validate posts status enum 2016-10-25 17:13:28 +00:00
fields REST API: Introduce the Content API endpoints. 2016-10-20 02:55:32 +00:00
class-wp-rest-request.php REST API: Enable sanitize_callback to return WP_Error. 2016-09-14 15:50:29 +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 Docs: Improve formatting of filter docs added in [38689]. 2016-10-07 19:24:28 +00:00