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

WordPress Trac noreply at wordpress.org
Fri May 26 01:22:32 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):

 @adamsilverstein @flixos90 I have a super simple PR at
 [https://github.com/WordPress/wordpress-develop/pull/4511 #4511]. This add
 the path data to the style registered. Means that this style is read by
 `wp_maybe_inline_styles` and inlines the style. See screenshot.

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


More information about the wp-trac mailing list