[wp-trac] [WordPress Trac] #39997: Bundled Themes: Pass theme version number to wp_enqueue_style()

WordPress Trac noreply at wordpress.org
Wed Apr 10 16:57:00 UTC 2019


#39997: Bundled Themes: Pass theme version number to wp_enqueue_style()
-------------------------------------+------------------------
 Reporter:  parsmizban               |       Owner:  desrosj
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  5.2
Component:  Bundled Theme            |     Version:  4.7.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------
Changes (by ianbelanger):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 39997.2.diff removes the hard coded version number from all stylesheets
 included by each theme and makes them dynamic based on the current theme's
 version number. This should allow for proper cache busting when a theme or
 child theme version number is changed.

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


More information about the wp-trac mailing list