WordPress/wp-includes/rest-api/endpoints
Rachel Baker 2dda813ae2 REST API: Include the `status` property in `view` context responses from the Posts endpoints.
Previously the status for a Post (or other post_types) was only exposed under the `edit` context, which doesn't really make much sense considering we support querying by post status without authentication. Originally introduced in v2.0 beta 1: 69f617d749 without any explanation in the commit message.

Props dhanendran, jnylen0, rachelbaker.
Merges [40080] to the 4.7 branch.
Fixes #39466.

Built from https://develop.svn.wordpress.org/branches/4.7@40081


git-svn-id: http://core.svn.wordpress.org/branches/4.7@40018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-02-19 04:36:32 +00:00
..
class-wp-rest-attachments-controller.php REST API: Add support for filename search in media endpoint. 2016-12-21 05:19:34 +00:00
class-wp-rest-comments-controller.php REST API: Unify object access handling for simplicity. 2017-01-26 13:47:34 +00:00
class-wp-rest-controller.php REST API: Remove rest_get_post filter and `get_post` abstraction. 2016-11-08 13:09:33 +00:00
class-wp-rest-post-statuses-controller.php REST API: Unify object access handling for simplicity. 2017-01-26 13:47:34 +00:00
class-wp-rest-post-types-controller.php REST API: Unify object access handling for simplicity. 2017-01-26 13:47:34 +00:00
class-wp-rest-posts-controller.php REST API: Include the `status` property in `view` context responses from the Posts endpoints. 2017-02-19 04:36:32 +00:00
class-wp-rest-revisions-controller.php REST API: Cast revision author ID to int. 2017-02-19 03:19:37 +00:00
class-wp-rest-settings-controller.php REST API: Switch to stable version of JSON Schema. 2016-11-03 02:22:29 +00:00
class-wp-rest-taxonomies-controller.php REST API: Unify object access handling for simplicity. 2017-01-26 13:47:34 +00:00
class-wp-rest-terms-controller.php REST API: Unify object access handling for simplicity. 2017-01-26 13:47:34 +00:00
class-wp-rest-users-controller.php REST API: Unify object access handling for simplicity. 2017-01-26 13:47:34 +00:00