[wp-trac] [WordPress Trac] #64099: Load block styles on demand in classic themes via template enhancement output buffer

WordPress Trac noreply at wordpress.org
Fri Nov 14 17:26:13 UTC 2025


#64099: Load block styles on demand in classic themes via template enhancement
output buffer
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
                                                 |  westonruter
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  Script Loader                        |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |  performance
-------------------------------------------------+-------------------------

Comment (by westonruter):

 @awetz583 Thanks for calling that out. This would actually be related to
 #63676. There is a new filter `enqueue_empty_block_content_assets` which
 is specifically introduced to opt-in to enqueueing scripts and styles for
 blocks that have no content. I'm working on a dev note about it now.

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


More information about the wp-trac mailing list