[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 05:52:41 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 westonruter):

 Replying to [comment:4 sabernhardt]:
 > 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

 Right, the change in r61981 was done intentionally, so reverting it will
 break something else. See #64846.

 We'll need to figure something else for this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65272#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list