Make WordPress Core


Ignore:
Timestamp:
08/08/2019 01:24:32 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Props dswebsme, ianbelanger, desrosj.
Fixes #46979.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php

    r45675 r45767  
    1818 */
    1919function twentyeleven_admin_enqueue_scripts( $hook_suffix ) {
    20     wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '2011-04-28' );
     20    wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '20110602' );
    2121    wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011-06-10' );
    2222    wp_enqueue_style( 'farbtastic' );
     
    420420
    421421    if ( 'dark' == $color_scheme ) {
    422         wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), null );
     422        wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), '20190404' );
    423423    }
    424424
Note: See TracChangeset for help on using the changeset viewer.