[wp-trac] [WordPress Trac] #64812: Scripts: wp_enqueue_registered_block_scripts_and_styles() does not include modules
WordPress Trac
noreply at wordpress.org
Thu Mar 5 15:32:04 UTC 2026
#64812: Scripts: wp_enqueue_registered_block_scripts_and_styles() does not include
modules
----------------------------------------+-----------------------------
Reporter: jonsurrell | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Script Loader | Version: 6.5
Severity: normal | Resolution:
Keywords: good-first-bug needs-patch | Focuses: javascript
----------------------------------------+-----------------------------
Changes (by westonruter):
* keywords: good-first-bug => good-first-bug needs-patch
* milestone: Awaiting Review => Future Release
Comment:
As of 6.9, `wp_should_load_block_assets_on_demand()` returns true all
sites by default. It only returned true for block themes previously, but
it now returns true for classic themes as of #64099. That said, sites can
still opt out of loading block styles on demand such as with a
[https://wordpress.org/plugins/load-combined-core-block-assets/ plugin].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64812#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list