[wp-trac] [WordPress Trac] #65272: Blocks' opinionated styles are not loading on demand in classic themes
WordPress Trac
noreply at wordpress.org
Thu May 21 06:02:44 UTC 2026
#65272: Blocks' opinionated styles are not loading on demand in classic themes
--------------------------------------+---------------------
Reporter: nidhidhandhukiya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0.1
Component: Script Loader | Version: 7.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by sabernhardt):
I was able to get the individual `theme.css` stylesheets again by changing
the priority for `register_core_block_style_handles` from 9 to the default
10, but I do not know what else that changes.
`add_action( 'init', 'register_core_block_style_handles', 10 );`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65272#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list