wordpress-develop/tests/qunit
Timothy Jacobs 69cc6e61d0 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@49925 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-03 21:45:42 +00:00
..
fixtures REST API: Expose all themes in the themes controller. 2021-01-03 21:45:42 +00:00
wp-admin/js Community Events: Display dates and times in the user's time zone. 2020-10-14 18:19:43 +00:00
wp-includes/js Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:42:31 +00:00
.jshintrc Build/Test Tools: Restore the QUnit global in JSHint config for QUnit. 2020-09-15 10:07:29 +00:00
index.html General: Remove noreferrer from wp_targeted_link_rel() and other uses. 2020-10-19 23:37:53 +00:00