WordPress/wp-includes/rest-api/endpoints
K. Adam White a5f16272dd REST API: Permit access to the themes controller if user can edit any post type.
Check a more exhaustive list of post type editing caps beyond "edit_post" to ensure custom user roles with access to to specific post types may still use block editor functionality depending on theme features.

Props miyauchi, TimothyBlynJacobs.
Fixes #46723.

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


git-svn-id: http://core.svn.wordpress.org/trunk@47148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 15:20:08 +00:00
..
class-wp-rest-attachments-controller.php Docs: Fix typo in a comment in `WP_REST_Attachments_Controller::create_item()`. 2020-02-17 03:30:04 +00:00
class-wp-rest-autosaves-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-block-renderer-controller.php REST API: Apply all relevant block rendering filters when rendering block previews. 2020-02-25 15:05:06 +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 Administration: Capitalize `Trash` consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
class-wp-rest-controller.php REST API: Don't assume all item schemas have properties. 2020-02-20 16:58:06 +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 Administration: Capitalize `Trash` consistently in various messages and comments. 2020-02-10 04:12:07 +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: Permit access to the themes controller if user can edit any post type. 2020-02-25 15:20:08 +00:00
class-wp-rest-users-controller.php Users: Limit the scope of admin files required in `WP_REST_Users_Controller`. 2020-02-17 05:33:06 +00:00