[wp-trac] [WordPress Trac] #58480: Inline render blocking CSS `classic-themes.css'
WordPress Trac
noreply at wordpress.org
Thu Jun 8 07:15:28 UTC 2023
#58480: Inline render blocking CSS `classic-themes.css'
-----------------------------+--------------------
Reporter: adamsilverstein | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: General | Version: 6.1
Severity: normal | Keywords:
Focuses: performance |
-----------------------------+--------------------
Related to #56990.
Since WordPress 6.1, a new CSS file classic-themes.css is now enqueued on
all pages on the front end of non-block themes.
Since this is a blocking http request, the impact on performance will be
affected by network conditions. Inlining the styles will fix this issue.
Opening this new ticket to inline the styles and leaving #56990 open
because we still need to address the underlying issue raised there: the
button CSS should only be included on pages that actually use a button
block.
There is a fix available already for this in https://github.com/WordPress
/wordpress-develop/pull/4511/files
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58480>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list