[wp-trac] [WordPress Trac] #58480: Inline render blocking CSS `classic-themes.css'

WordPress Trac noreply at wordpress.org
Tue Jun 13 13:25:59 UTC 2023


#58480: Inline render blocking CSS `classic-themes.css'
------------------------------+-------------------------------
 Reporter:  adamsilverstein   |       Owner:  adamsilverstein
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  6.3
Component:  Themes            |     Version:  6.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  css, performance
------------------------------+-------------------------------

Comment (by sabernhardt):

 If you want to commit this for the front end now, that should be fine.
 However, I'm working on moving these styles out of the `$editor_settings`
 array. Fallback styles should not have the extra `.editor-styles-wrapper`
 class and, more importantly, they do not belong printed inside the `body`
 after the theme-specific styles. I'm also dequeuing it from all the
 bundled themes (with the few necessary adjustments to theme styles). It
 may be better to add the [https://github.com/WordPress/wordpress-
 develop/commit/13c434699ebb5a49ca67085df13885e6abf8e56f script-loader and
 default-filters changes] in one ticket (here?) and only address the theme
 changes in a new ticket.

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


More information about the wp-trac mailing list