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

WordPress Trac noreply at wordpress.org
Thu Feb 23 21:32:37 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-patch needs-unit-tests  |     Focuses:  css, performance
------------------------------------------+-------------------------------

Comment (by flixos90):

 In [changeset:"55417" 55417]:
 {{{
 #!CommitTicketReference repository="" revision="55417"
 Editor: Fix invalid parameters being passed to `wp_register_style()`.

 Boolean `true` is not a valid value for the `$ver` or `$media` parameters
 of `wp_register_style()`.

 Props sabernhardt, flixos90, hellofromtonya.
 Fixes #57771. See #56990, #57688.
 }}}

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


More information about the wp-trac mailing list