[wp-trac] [WordPress Trac] #65272: Blocks' opinionated styles are not loading on demand in classic themes (was: Twenty Fifteen: Quote block border is on the left when text is aligned right)
WordPress Trac
noreply at wordpress.org
Wed May 20 02:20:20 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: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+---------------------
Changes (by sabernhardt):
* component: Bundled Theme => Script Loader
* version: => trunk
* milestone: 7.1 => 7.0.1
Comment:
This bug is new to 7.0, but not with the theme(s).
The Quote block border issue can happen in Twenty Fifteen and Twenty
Nineteen. However, the `theme.css` for individual blocks such as Quote,
Search, etc., are not loading.
I can temporarily correct the behavior by
1. adding `wp_load_classic_theme_block_styles_on_demand` on the `init`
action, as it was before [61981], or
2. disabling the `should_load_separate_core_block_assets` filter and
loading the full `wp-block-library-theme` stylesheet.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65272#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list