[wp-trac] [WordPress Trac] #63676: Blocks without rendered content (including blocks via block visibility) still enqueue scripts and styles

WordPress Trac noreply at wordpress.org
Mon Nov 17 21:58:30 UTC 2025


#63676: Blocks without rendered content (including blocks via block visibility)
still enqueue scripts and styles
-------------------------------------+-------------------------------------
 Reporter:  westonruter              |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.9
Component:  Editor                   |     Version:  5.9
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  javascript, css,
  dev-feedback has-unit-tests        |  performance
-------------------------------------+-------------------------------------

Comment (by desrosj):

 The miscellaneous developer-focused changes developer note mentioned the
 new `enqueue_empty_block_content_assets` hook introduced in [60930], but
 did not cover it's usage in depth.:
 https://make.wordpress.org/core/2025/11/17/miscellaneous-developer-
 focused-changes-in-6-9/.

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


More information about the wp-trac mailing list