WordPress/wp-includes/rest-api/endpoints
danielbachhuber 4bf87727a4 REST API: Enable users with read_private_posts to query for them.
An authorized request with the `read_private_posts` capability for a post type should be able to `GET /wp/v2/posts` for posts of `status=private`. This query is further sanity-checked by `WP_REST_Posts_Controller->check_read_permission()`, which is unchanged.

Props rachelbaker, soulseekah, twoelevenjay.
Fixes #43701.

Built from https://develop.svn.wordpress.org/branches/5.0@43694


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-10 20:49:23 +00:00
..
class-wp-rest-attachments-controller.php REST API: Load missing required file for multisite users 2018-10-10 12:37:24 +00:00
class-wp-rest-comments-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-post-statuses-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-post-types-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-posts-controller.php REST API: Enable users with read_private_posts to query for them. 2018-10-10 20:49:23 +00:00
class-wp-rest-revisions-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-settings-controller.php REST API: Don’t remove unregistered properties from objects in schema. 2017-10-24 21:05:49 +00:00
class-wp-rest-taxonomies-controller.php REST API: Define taxonomy visibility settings in schema 2018-10-08 13:50:27 +00:00
class-wp-rest-terms-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-users-controller.php REST API: Filter responses based on the _fields parameter, before data is processed. 2018-07-13 06:51:27 +00:00