[wp-trac] [WordPress Trac] #57114: Add caching to is_block_theme

WordPress Trac noreply at wordpress.org
Mon Feb 6 19:57:55 UTC 2023


#57114: Add caching to is_block_theme
--------------------------------------+---------------------------
 Reporter:  spacedmonkey              |       Owner:  spacedmonkey
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.2
Component:  Themes                    |     Version:  5.9
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+---------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"55236" 55236]:
 {{{
 #!CommitTicketReference repository="" revision="55236"
 Themes: Add caching to `WP_Theme::is_block_theme()`.

 This changeset adds a `block_theme` entry in the theme cache data, similar
 to the existing entries `headers`, `errors`, `stylesheet`, and `template`.

 Props spacedmonkey, costdev, joemcgill, flixos90, mukesh27,
 adamsilverstein.
 Fixes #57114.
 }}}

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


More information about the wp-trac mailing list