[wp-trac] [WordPress Trac] #54595: The get_theme_item method should respect fields param
WordPress Trac
noreply at wordpress.org
Tue Dec 14 16:29:17 UTC 2021
#54595: The get_theme_item method should respect fields param
---------------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+---------------------------
Changes (by spacedmonkey):
* owner: (none) => spacedmonkey
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"52374" 52374]:
{{{
#!CommitTicketReference repository="" revision="52374"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54595#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list