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

WordPress Trac noreply at wordpress.org
Mon Feb 20 16:43:03 UTC 2023


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

Comment (by hellofromTonya):

 Replying to [comment:2 flixos90]:
 > Thanks for opening a ticket for this @hellofromTonya!
 >
 > Unless there is a reasonable way to get a version number specifically
 for this file (reasonable in terms of maintenance effort), we should just
 use the default value of `false` which will lead to the current WordPress
 version to be used which is a standard practice for many core assets.

 Unless there's a specific reason to have a unique version number for a
 specific stylesheet, I agree with you @flixos90 that Core should use its
 `false` default.

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


More information about the wp-trac mailing list