[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 16:31:02 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 fixed-major  |     Focuses:  performance
------------------------------------------+----------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54779" 54779]:
 {{{
 #!CommitTicketReference repository="" revision="54779"
 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.
 Merges [54770] to the 6.1 branch.
 Fixes #56900.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56900#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list