[wp-trac] [WordPress Trac] #56900: WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles call to WP_Query incorrect.
WordPress Trac
noreply at wordpress.org
Wed Nov 9 00:38:30 UTC 2022
#56900: WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles call to
WP_Query incorrect.
------------------------------+----------------------------
Reporter: peterwilsoncc | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1.1
Component: Themes | Version: 6.1
Severity: minor | Resolution: fixed
Keywords: has-patch commit | Focuses: performance
------------------------------+----------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54770" 54770]:
{{{
#!CommitTicketReference repository="" revision="54770"
Themes: Improve `WP_Query` call getting global styles.
Change `orderby` clause used within
`WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles` to `date` to
match the `WP_Query` documentation for the parameter.
Props miguelaxcar, johnbillion, JeffPaul, spacedmonkey, mxbclang,
mukesh27.
Fixes #56900.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56900#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list