[wp-trac] [WordPress Trac] #57057: Reduce usage of `wp_get_theme`

WordPress Trac noreply at wordpress.org
Thu Nov 10 22:40:52 UTC 2022


#57057: Reduce usage of `wp_get_theme`
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.1.2
Component:  Themes                               |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:
  unit-tests                                     |  performance
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 @flixos90 Changing the `get_user_data_from_wp_global_styles` is the
 biggest change in this patch. If we remove that, I think can commit in
 6.1.x.

 This is a trival change as it a function replacement and drop-in solution.

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


More information about the wp-trac mailing list