diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php index 23017d7c29..4862fae564 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php @@ -2130,12 +2130,15 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { 'type' => 'string', 'default' => 'date', 'enum' => array( + 'author', 'date', - 'relevance', 'id', 'include', - 'title', + 'modified', + 'parent', + 'relevance', 'slug', + 'title', ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 08f32cb1f4..4fcd916b24 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40604'; +$wp_version = '4.8-alpha-40605'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.