WordPress/wp-includes/rest-api/endpoints
TimothyBlynJacobs bf51961e7e REST API: Expose all themes in the themes controller.
Previously, only the active theme was made available. This commit allows for all themes to be queried if the user has the `switch_themes` or `manage_network_themes` capabilities.

This commit also no longer exposes the `page`, `per_page`, `search` and `context` query parameters since they are not supported by this controller.

Props spacedmonkey, lpawlik, TimothyBlynJacobs.
Fixes #50152.

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


git-svn-id: http://core.svn.wordpress.org/trunk@49624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-03 21:47:05 +00:00
..
class-wp-rest-application-passwords-controller.php App Passwords: Unify availability language. 2020-11-16 22:42:04 +00:00
class-wp-rest-attachments-controller.php REST API: Pass the previous state of the post as a parameter to the wp_after_insert_post hook. 2020-12-01 20:47:06 +00:00
class-wp-rest-autosaves-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-block-directory-controller.php Editor: Display short description from block directory in results. 2020-11-10 20:26:08 +00:00
class-wp-rest-block-renderer-controller.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-rest-block-types-controller.php Coding Standards: Correct some minor coding standards issues. 2020-10-20 13:29:08 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-controller.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
class-wp-rest-plugins-controller.php REST API: Install plugin translations after the plugin install. This only installs for the plugin in question, not all plugins. 2020-07-27 18:31:06 +00:00
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-posts-controller.php REST API: Move the WP_Query args filter after the tax_query is setup. 2021-01-03 02:39:11 +00:00
class-wp-rest-revisions-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-search-controller.php Docs: Add @since notes for the $id parameter of REST API search controller accepting a string. 2020-10-03 01:22:11 +00:00
class-wp-rest-settings-controller.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +00:00
class-wp-rest-site-health-controller.php Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:44:05 +00:00
class-wp-rest-taxonomies-controller.php
class-wp-rest-terms-controller.php REST API: Only include the controller's own taxonomy in it's schema. 2021-01-02 23:49:05 +00:00
class-wp-rest-themes-controller.php REST API: Expose all themes in the themes controller. 2021-01-03 21:47:05 +00:00
class-wp-rest-users-controller.php Docs: Correct the type of the $user parameter in WP_REST_Users_Controller::prepare_links(). 2020-12-25 14:54:07 +00:00