[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:26:08 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:  needs-patch    |     Focuses:
---------------------------+-----------------------
Changes (by desrosj):

 * keywords:  has-patch => needs-patch


Comment:

 I audited the stylesheet last edit dates and the version specified in the
 `wp_enqueue_style()` call. Let's leave Twenty Nineteen alone (that was
 already calling `wp_get_theme()->get( 'Version' )`, and make sure the
 dates are correct (and actually present) for each stylesheet. Results
 (dates in YYYY-MM-DD):

 || ||= **Last Modified** =||= **Current Specified Version** =||
 ||= **Twenty Ten** =|| || ||
 ||= `blocks.css` =||  `2018-12-18`  || `20181018`* ||
 ||= `editor-blocks.css` =||  `2018-12-18`  || none ||
 ||= `style.css` =||  `2019-02-07`  || none ||
 ||= **Twenty Eleven** =|| || ||
 ||= `blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= `editor-blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= `style.css` =||  `2019-04-04`  || none ||
 ||= `/inc/theme-options.css` =||  `2011-06-02`  || `2011-04-28`* ||
 ||= `/colors/dark.css` =||  `2019-04-04`  || `null`** ||
 ||= **Twenty Twelve** =|| || ||
 ||= `style.css` =||  `2019-04-06`  || none ||
 ||= `/css/blocks.css` =||  `2019-04-06`  || `20181230`* ||
 ||= `/css/ie.css` =||  `2015-02-14`  || `20121010`* ||
 ||= `/css/editor-blocks.css` =||  `2019-04-06`  || `20181230`* ||
 ||= **Twenty Thirteen** =|| || ||
 ||= `style.css` =||  `2019-02-07`  || `2013-07-18`* ||
 ||= `/css/blocks.css` =||  `2019-01-02`  || `2018-12-30`* ||
 ||= `/css/ie.css` =||  `2015-02-14`  || `2013-07-18`* ||
 ||= `/css/editor-blocks.css` =||  `2019-01-02`  || `2018-12-30`* ||
 ||= **Twenty Fourteen** =|| || ||
 ||= `style.css` =||  `2019-02-07`  || none ||
 ||= `/css/blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= `/css/ie/css` =||  `2014-07-01`  || `20131205`* ||
 ||= `/css/editor-blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= **Twenty Fifteen** =|| || ||
 ||= `style.css` =||  `2019-04-02`  || none ||
 ||= `/css/blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= `/css/ie.css` =||  `2017-09-16`  || `20141010`* ||
 ||= `/css/ie7.css` =||  `2014-12-10`  || `20141010`* ||
 ||= `css/edtior-blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= **Twenty Sixteen** =|| || ||
 ||= `style.css` =||  `2019-02-07`  || none ||
 ||= `/css/blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= `/css/ie8.css` =||  `2017-05-30`  || `20160816`* ||
 ||= `/css/ie7.css` =||  `2017-05-30`  || `20160816`* ||
 ||= `/css/editor-blocks.css` =||  `2019-01-02`  || `20181230`* ||
 ||= **Twenty Seventeen** =|| || ||
 ||= `style.css` =||  `2019-04-08`  || none ||
 ||= `/assets/css/blocks.css` =||  `2019-01-05`  || `1.1` ||
 ||= `/assets/css/colors-dark.css` =||  `2019-04-08`  || `1.0` ||
 ||= `/assets/css/ie9.css` =||  `2016-12-02`  || `1.0` ||
 ||= `/assets/css/ie8.css` =||  `2016-12-02`  || `1.0` ||
 ||= `/assets/css/editor-blocks.css` =||  `2019-03-28`  || `1.1` ||

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


More information about the wp-trac mailing list