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

WordPress Trac noreply at wordpress.org
Mon Nov 14 18:53:44 UTC 2022


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

Comment (by adamsilverstein):

 Based on the thread, it looks like this stylesheet was added only to
 address an issue with displaying the buttons in the `twentyten` theme.

 In [attachment:"56990.3.diff"] I moved the styles directly into
 `twentyten` and removed them from `default_scripts.php`. I tested all core
 themes back to `twentyten` and my post with buttons looked fine.

 Appreciate feedback on this proposed change @scruffian & @Mamaduka.

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


More information about the wp-trac mailing list