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

WordPress Trac noreply at wordpress.org
Thu Apr 18 15:30:35 UTC 2019


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

Comment (by obenland):

 Replying to [comment:36 dswebsme]:
 > I don't believe this change will address the original issue reported by
 @parsmizban though. Child themes based off of most twenty* parents will
 still default to the WP version OR the parent theme version.

 I'm not sure parent themes should have to worry about properly versioning
 child theme's stylesheets. If versioning is a concern for a child theme, I
 think it should enqueue its stylesheet itself and pass that version.

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


More information about the wp-trac mailing list