[wp-trac] [WordPress Trac] #56990: Render blocking CSS `classic-themes.css` unnecessarily enqueued
WordPress Trac
noreply at wordpress.org
Mon Nov 14 18:59:20 UTC 2022
#56990: Render blocking CSS `classic-themes.css` unnecessarily enqueued
-------------------------------------+-------------------------------
Reporter: adamsilverstein | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1.2
Component: Themes | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: css, performance
-------------------------------------+-------------------------------
Comment (by sabernhardt):
Some themes we do not control probably need these default styles.
Otherwise, Twenty Sixteen would need to update the `font-size` property in
`blocks.css` in addition to the Twenty Ten fixes.
The `has_block` function checks the post content, but blocks can be in
widget areas for 'classic' themes.
If the test problems cannot be resolved, could this be an inline script
added to the `wp-block-library` stylesheet handle?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56990#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list