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

WordPress Trac noreply at wordpress.org
Fri May 26 17:05:31 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 flixos90):

 @spacedmonkey I like your suggestion in the PR
 https://github.com/WordPress/wordpress-develop/pull/4511, however I think
 that PR should be for a new ticket. It doesn't address the main problem
 from this ticket, which is that the styles are enqueued regardless of
 whether they are needed for the markup on the page or not.

 Could you open a separate ticket for your PR? I think it's worth including
 in 6.3.

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


More information about the wp-trac mailing list