[wp-trac] [WordPress Trac] #63676: Blocks without rendered content still enqueue scripts and styles

WordPress Trac noreply at wordpress.org
Wed Jul 9 19:54:04 UTC 2025


#63676: Blocks without rendered content 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,
  needs-unit-tests dev-feedback      |  performance
-------------------------------------+-------------------------------------

Comment (by jorbin):

 My first thought is the same as @dd32. While I haven't done this or seen
 it, it is absolutely something I would do and something that I don't think
 should be completely blocked from happening.

 That said, i think it would still make sense to do this. I would like to
 see it be overwritable by a filter though.

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


More information about the wp-trac mailing list