WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/08/2019 01:28:26 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Bundled Themes: Audit and update version numbers passed to wp_enqueue_script() to ensure proper cache busting.

Props dswebsme, ianbelanger, justinahinon.
Fixes #46981.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php

    r45609 r45768  
    141141 */
    142142function twentyfourteen_customize_preview_js() {
    143     wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20131205', true );
     143    wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20141015', true );
    144144}
    145145add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' );
Note: See TracChangeset for help on using the changeset viewer.