[wp-trac] [WordPress Trac] #56990: Render blocking CSS `classic-themes.css` unnecessarily enqueued

WordPress Trac noreply at wordpress.org
Fri May 26 18:15:14 UTC 2023


#56990: Render blocking CSS `classic-themes.css` unnecessarily enqueued
----------------------------------------+-------------------------------
 Reporter:  adamsilverstein             |       Owner:  flixos90
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.3
Component:  Themes                      |     Version:  6.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  css, performance
----------------------------------------+-------------------------------

Comment (by spacedmonkey):

 The issue here is that the css makes a blocking request. In-line the css,
 fixes that problem. The css, is very small. I understand the desire to not
 want to render the css at all. But I would see this as a breaking change.
 You never know how someone is using this css.

 My fix is simple and uses exist functionity. It also side steps the
 backwards compatibility conversation.

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


More information about the wp-trac mailing list