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

WordPress Trac noreply at wordpress.org
Mon Apr 15 20:06:41 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      |     Focuses:
---------------------------+------------------------
Changes (by dswebsme):

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


Comment:

 Patch `39997.2.diff` tested and confirmed. Themes 2010 - 2017 now properly
 (dynamically) append version info from style.css for enqueued stylesheets.

 This fix also addresses the original issue child themes based off of
 twenty* themes append the parent theme version instead of the child theme
 version.

 Ready for commit.

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


More information about the wp-trac mailing list