Make WordPress Core


Ignore:
Timestamp:
08/08/2019 01:28:26 AM (5 years 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/twentysixteen/inc/customizer.php

    r43571 r45768  
    485485 */
    486486function twentysixteen_customize_control_js() {
    487     wp_enqueue_script( 'color-scheme-control', get_template_directory_uri() . '/js/color-scheme-control.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '20160816', true );
     487    wp_enqueue_script( 'color-scheme-control', get_template_directory_uri() . '/js/color-scheme-control.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '20170530', true );
    488488    wp_localize_script( 'color-scheme-control', 'colorScheme', twentysixteen_get_color_schemes() );
    489489}
     
    496496 */
    497497function twentysixteen_customize_preview_js() {
    498     wp_enqueue_script( 'twentysixteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20160816', true );
     498    wp_enqueue_script( 'twentysixteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20170530', true );
    499499}
    500500add_action( 'customize_preview_init', 'twentysixteen_customize_preview_js' );
Note: See TracChangeset for help on using the changeset viewer.