WordPress/wp-includes/rest-api/endpoints
spacedmonkey f1f71a0798 REST API: Ensure that the get_theme_item method should respect fields param.
Fix the `get_theme_item` method in the `WP_REST_Global_Styles_Controller` class to respect the fields param context filtering and to return links. 

Props spacedmonkey, hellofromtonya, peterwilsoncc, costdev.
Fixes #54595.


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


git-svn-id: http://core.svn.wordpress.org/trunk@51966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-12-14 16:31:00 +00:00
..
class-wp-rest-application-passwords-controller.php
class-wp-rest-attachments-controller.php
class-wp-rest-autosaves-controller.php
class-wp-rest-block-directory-controller.php
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php
class-wp-rest-edit-site-export-controller.php REST API: Ensure that the export template endpoint returns a valid WP_Error object. 2021-12-07 18:38:02 +00:00
class-wp-rest-global-styles-controller.php REST API: Ensure that the get_theme_item method should respect fields param. 2021-12-14 16:31:00 +00:00
class-wp-rest-menu-items-controller.php
class-wp-rest-menu-locations-controller.php
class-wp-rest-menus-controller.php
class-wp-rest-pattern-directory-controller.php
class-wp-rest-plugins-controller.php
class-wp-rest-post-statuses-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php REST API: Ensure that the parent link, uses the rest_get_route_for_post function. 2021-12-13 15:20:03 +00:00
class-wp-rest-revisions-controller.php
class-wp-rest-search-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-sidebars-controller.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-templates-controller.php Coding Standards: Correct alignment in blocks.php and class-wp-rest-templates-controller. 2021-12-07 22:49:59 +00:00
class-wp-rest-terms-controller.php
class-wp-rest-themes-controller.php Themes: Rename public static functions in WP_Theme_JSON_Resolver to remove custom_post_type references. 2021-12-14 16:14:01 +00:00
class-wp-rest-url-details-controller.php
class-wp-rest-users-controller.php Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9 2021-11-09 02:17:17 +00:00
class-wp-rest-widget-types-controller.php
class-wp-rest-widgets-controller.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00