[wp-trac] [WordPress Trac] #59583: Patterns: `theme` attribute not inserted in Template Part blocks

WordPress Trac noreply at wordpress.org
Wed Nov 8 12:23:30 UTC 2023


#59583: Patterns: `theme` attribute not inserted in Template Part blocks
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  defect (bug)              |      Status:  closed
 Priority:  high                      |   Milestone:  6.4
Component:  General                   |     Version:
 Severity:  major                     |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+------------------------------

Comment (by gziolo):

 I opened https://github.com/WordPress/gutenberg/pull/55965, where I'm
 looking at adding the fallback for the current theme in places where
 template parts are loaded from the server without preprocessing through
 `_inject_theme_attribute_in_template_part_block`. In essence, I'm seeking
 a ways to the whole logic to the client to bring back the performance
 improvements we measured for the homepage in Twenty Twenty-Four theme.

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


More information about the wp-trac mailing list