[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
Thu Oct 9 21:54:18 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:  accepted
 Priority:  normal                   |   Milestone:  6.9
Component:  Editor                   |     Version:  5.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript, css,
  dev-feedback has-unit-tests        |  performance
-------------------------------------+-------------------------------------
Changes (by westonruter):

 * keywords:  has-patch needs-testing needs-unit-tests dev-feedback => has-
     patch needs-testing dev-feedback has-unit-tests


Comment:

 [https://github.com/WordPress/wordpress-develop/pull/9213 PR] is ready for
 review. See [https://github.com/WordPress/wordpress-
 develop/pull/9213#issuecomment-3387486657 comment] describing the new
 approach to properly deal with nested blocks with enqueued assets inside
 of container blocks that are hidden.

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


More information about the wp-trac mailing list