[wp-trac] [WordPress Trac] #46981: Bundled themes should pass version to wp_enqueue_script() to ensure proper cache busting
WordPress Trac
noreply at wordpress.org
Wed May 15 16:34:58 UTC 2019
#46981: Bundled themes should pass version to wp_enqueue_script() to ensure proper
cache busting
---------------------------+-----------------------
Reporter: dswebsme | Owner: dswebsme
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.3
Component: Bundled Theme | Version:
Severity: minor | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+-----------------------
Comment (by ianbelanger):
I audited the script last edit dates and the version specified in the
wp_enqueue_script() call. Let's make sure the dates are correct (and
actually present) for each script. Results (dates in YYYY-MM-DD):
|| ||= **Last Modified** =||= **Current Specified Version** =||
||= **Twenty Eleven** =|| || ||
||= `/js/html5.js` =|| `2014-02-25` || none ||
||= `/js/showcase.js` =|| `2011-04-29` || `2011-04-28` ||
||= `/js/theme-customizer.js` =|| `2015-04-01` || `20150401` ||
||= `/js/theme-options.js` =|| `2011-06-10` || `2011-06-10` ||
||= **Twenty Twelve** =|| || ||
||= `/js/html5.js` =|| `2014-02-25` || none ||
||= `/js/navigation.js` =|| `2014-12-05` || `20140711` ||
||= `/js/theme-customizer.js` =|| `2014-11-20` || `20141120` ||
||= **Twenty Thirteen** =|| || ||
||= `/js/html5.js` =|| `2014-02-25` || none ||
||= `/js/functions.js` =|| `2017-12-18` || `20160717` ||
||= `/js/theme-customizer.js` =|| `2014-11-20` || `20141120` ||
||= **Twenty Fourteen** =|| || ||
||= `/js/html5.js` =|| `2014-02-25` || none ||
||= `/js/customizer.js` =|| `2014-10-15` || `20131205` ||
||= `/js/featured-content-admin.js` =|| `2013-12-05` || `20131022` ||
||= `/js/functions.js` =|| `2017-12-18` || `20150315` ||
||= `/js/keyboard-image-navigation.js` =|| `2015-01-20` || `20130402` ||
||= `/js/slider.js` =|| `2015-01-20` || `20131205` ||
||= **Twenty Fifteen** =|| || ||
||= `/js/html5.js` =|| `2014-10-28` || none ||
||= `/js/color-scheme-control.js` =|| `2014-12-16` || `20141216` ||
||= `/js/customize-preview.js` =|| `2014-12-16` || `20141216` ||
||= `/js/functions.js` =|| `2017-12-18` || `20150330` ||
||= `/js/keyboard-image-navigation.js` =|| `2014-12-10` || `20141010` ||
||= `/js/skip-link-focus-fix.js` =|| `2014-10-28` || `20141010` ||
||= **Twenty Sixteen** =|| || ||
||= `/js/html5.js` =|| `2017-05-30` || `3.7.3` ||
||= `/js/color-scheme-control.js` =|| `2017-05-30` || `20160816` ||
||= `/js/customize-preview.js` =|| `2017-05-30` || `20160816` ||
||= `/js/functions.js` =|| `2018-12-17` || `20181230` ||
||= `/js/keyboard-image-navigation.js` =|| `2017-05-30` || `20160816` ||
||= `/js/skip-link-focus-fix.js` =|| `2017-05-30` || `20160816` ||
||= **Twenty Seventeen** =|| || ||
||= `/assets/js/html5.js` =|| `2016-10-20` || `3.7.3` ||
||= `/assets/js/customize-controls.js` =|| `2016-12-20` || `1.0` ||
||= `/assets/js/customize-preview.js` =|| `2016-12-02` || `1.0` ||
||= `/assets/js/global.js` =|| `2019-01-21` || `1.0` ||
||= `/assets/js/jquery.scrollTo.js` =|| `2016-10-20` || `2.1.2` ||
||= `/assets/js/navigation.js` =|| `2016-12-03` || `1.0` ||
||= `/assets/js/skip-link-focus-fix.js` =|| `2016-11-14` || `1.0` ||
||= **Twenty Nineteen** =|| || ||
||= `/js/customize-controls.js` =|| `2018-12-14` || `20181231` ||
||= `/js/customize-preview.js` =|| `2018-12-14` || `20181231` ||
||= `/js/priority-menu.js` =|| `2018-12-14` || `1.1` ||
||= `/js/touch-keyboard-navigation.js` =|| `2018-12-31` || `1.1` ||
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46981#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list