wordpress-develop/tests/phpunit/tests/rest-api
K. Adam White b5190458fe 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@47361 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-25 15:18:19 +00:00
..
rest-attachments-controller.php REST API: Allow meta to be set when creating a new media record via REST. 2020-02-11 03:37:17 +00:00
rest-autosaves-controller.php Tests: Replace use of $this->server with rest_get_server() in test_registered_query_params(). 2018-12-17 01:24:36 +00:00
rest-block-renderer-controller.php REST API: Apply all relevant block rendering filters when rendering block previews. 2020-02-25 15:03:57 +00:00
rest-blocks-controller.php REST API: Always include title.raw/content.raw for Blocks in context=view. 2018-12-17 17:21:05 +00:00
rest-categories-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-comments-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-controller.php REST API: Don't assume all item schemas have properties. 2020-02-20 16:56:17 +00:00
rest-pages-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-post-meta-fields.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-post-types-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-posts-controller.php REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. 2020-02-11 16:26:56 +00:00
rest-request-validation.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-request.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
rest-revisions-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-schema-sanitization.php REST API: Pass "null" as the post date property to reset post to initial "floating" date value. 2019-09-23 17:24:58 +00:00
rest-schema-setup.php Block Editor: Update WordPress Packages; Remove navigation block; Add social links block 2020-02-10 22:31:13 +00:00
rest-schema-validation.php REST API: Pass "null" as the post date property to reset post to initial "floating" date value. 2019-09-23 17:24:58 +00:00
rest-search-controller.php REST API: Permit embedding of the 'self' link relation in the /search endpoint. 2019-10-08 04:43:10 +00:00
rest-server.php REST API: Fix namespace shadowing issue in route matching logic. 2020-02-24 18:05:12 +00:00
rest-settings-controller.php REST API: Warn if registering array settings without an items schema. 2020-02-19 22:54:03 +00:00
rest-tags-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-term-meta-fields.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-test-controller.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:41:15 +00:00
rest-themes-controller.php REST API: Permit access to the themes controller if user can edit any post type. 2020-02-25 15:18:19 +00:00
rest-users-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00