WordPress/wp-includes/rest-api/endpoints
K. Adam White 51619c00a4 REST API: Fix revisions controller get_item permission check.
r45812 incorrectly introduced a delete_post permissions check into the get_item method, breaking some plugins which requested revisions when generating previews.

Props sorenbronsted, yohannp, TimothyBlynJacobs.
Fixes #49645.

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


git-svn-id: http://core.svn.wordpress.org/trunk@47322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-03 19:40:08 +00:00
..
class-wp-rest-attachments-controller.php Docs: Improve documentation for `WP_REST_Attachments_Controller`. 2020-02-28 12:31:08 +00:00
class-wp-rest-autosaves-controller.php Docs: Use more specific types in parameter descriptions in place of `mixed`. 2020-03-01 10:38:07 +00:00
class-wp-rest-block-renderer-controller.php Docs: Improve documentation for `WP_REST_Attachments_Controller`. 2020-02-28 12:31:08 +00:00
class-wp-rest-blocks-controller.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-rest-comments-controller.php Docs: Improve documentation for `WP_REST_Attachments_Controller`. 2020-02-28 12:31:08 +00:00
class-wp-rest-controller.php REST API: Fix _fields filtering of registered rest fields. 2020-03-26 17:52:16 +00:00
class-wp-rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-types-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-posts-controller.php REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. 2020-02-11 16:28:06 +00:00
class-wp-rest-revisions-controller.php REST API: Fix revisions controller get_item permission check. 2020-04-03 19:40:08 +00:00
class-wp-rest-search-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-settings-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php REST API: Merge "not allowed to create new terms" permission error message with an existing string. 2020-02-02 05:41:03 +00:00
class-wp-rest-themes-controller.php REST API: Fix typo in `disable-custom-gradients` theme feature description. 2020-03-06 00:17:05 +00:00
class-wp-rest-users-controller.php Docs: Use more specific types in parameter descriptions in place of `mixed`. 2020-03-01 10:38:07 +00:00