[wp-trac] [WordPress Trac] #46979: Bundled themes should pass version to wp_enqueue_style() to ensure proper cache busting

WordPress Trac noreply at wordpress.org
Sun Apr 28 21:28:35 UTC 2019


#46979: Bundled themes should pass version to wp_enqueue_style() to ensure proper
cache busting
-------------------------------------+-----------------------
 Reporter:  dswebsme                 |       Owner:  dswebsme
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.2.1
Component:  Themes                   |     Version:  5.1.1
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by superpoincare):

 If there's a child theme, this won't work.

 This is because the main stylesheet enqueued in parent functions.php is
 the child stylesheet.

 The last modified date of the file is user dependent.

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


More information about the wp-trac mailing list