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

WordPress Trac noreply at wordpress.org
Tue Apr 16 18:33:30 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      |     Focuses:
---------------------------+-----------------------
Changes (by dswebsme):

 * keywords:  needs-patch => has-patch


Comment:

 @desrosj Is your audit suggesting that we should continue using the
 hardcoded (corrected) dates instead of `wp_get_theme()->get( 'Version' )`
 as proposed by @ianbelanger?

 I understand we're leaving `twentynineteen` as is and that `twentyten` and
 `twentyeleven` can't use `wp_get_theme()` due to backwards compatibility.
 I'm just unclear on the proposed direction for 2012-2017 themes.

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


More information about the wp-trac mailing list