[wp-trac] [WordPress Trac] #57771: Editor: Fix `true` as the version when using wp_register_style().

WordPress Trac noreply at wordpress.org
Thu Feb 23 21:32:36 UTC 2023


#57771: Editor: Fix `true` as the version when using wp_register_style().
----------------------------+-----------------------
 Reporter:  hellofromTonya  |       Owner:  flixos90
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.2
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 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/57771#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list