[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:36:29 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 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.

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


More information about the wp-trac mailing list