[wp-trac] [WordPress Trac] #63693: wp_should_load_block_assets_on_demand doing it wrong too early
WordPress Trac
noreply at wordpress.org
Tue Feb 24 09:59:12 UTC 2026
#63693: wp_should_load_block_assets_on_demand doing it wrong too early
---------------------------+------------------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by kkmuffme):
Since 6.9.1 this now also happens for things that are not running on the
wp_default_styles hook, e.g. register_block_core_video() from wp-
includes/blocks/video.php
>Should block registration/asset registration be moved later, e.g. on
parse_request or wp, so that the rest context is actually known?
Yes
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63693#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list