[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
Wed Oct 15 00:31:43 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: reopened
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
-------------------------------------+-------------------------------------
Comment (by westonruter):
@dd32 I was able to reproduce the issue you described by hacking together
some changes on top of twentytwentyone to use the header/footer blocks
from that dotorg mu-plugin. This PR fixes the issue in my testing:
https://github.com/WordPress/wordpress-develop/pull/10252
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63676#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list