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

WordPress Trac noreply at wordpress.org
Fri Nov 11 16:33:07 UTC 2022


#57057: Reduce usage of `wp_get_theme`
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  task (blessed)                       |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1.1
Component:  Themes                               |     Version:  6.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit     |     Focuses:
  fixed-major                                    |  performance
-------------------------------------------------+-------------------------

Comment (by desrosj):

 In [changeset:"54819" 54819]:
 {{{
 #!CommitTicketReference repository="" revision="54819"
 Themes: Revert one instance of `wp_get_theme()` from [54817].

 Since this specific call to `wp_get_theme()` is found within `wp-
 includes/blocks`, this change will need to be made upstream in the
 Gutenberg repository.

 See #57057.
 }}}

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


More information about the wp-trac mailing list