WordPress/wp-includes/rest-api/endpoints
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
..
class-wp-rest-attachments-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php REST API: Validate posts status enum 2016-10-25 17:13:28 +00:00
class-wp-rest-revisions-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-terms-controller.php
class-wp-rest-users-controller.php