[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
Tue Nov 18 04:51:37 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 westonruter):
The new `enqueue_empty_block_content_assets` filter has been documented in
the 6.8 Frontend Performance Field Guide post:
https://make.wordpress.org/core/2025/11/18/wordpress-6-9-frontend-
performance-field-guide/#omit-styles-and-scripts-for-hidden-blocks-by-
default
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63676#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list