[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 17:46:15 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 sabernhardt):

 I prefer a string for the `classic-themes` file because it is on the front
 end and theme-related, though other stylesheets in that category use the
 modified date (my `6.2` suggestion would be inconsistent).

 Setting to `false` would update the version number with every major and
 minor release, and ''hopefully'' there will not be a need to adjust the
 styles in this file again. On the other hand, `false` is more reliable,
 and minor releases are still not highly frequent to worry ''much'' about
 unnecessarily reloading a small stylesheet already in browser cache.

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


More information about the wp-trac mailing list