WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/08/2019 01:24:32 AM (2 months 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/twentythirteen/functions.php

    r45721 r45767  
    283283
    284284    // Loads our main stylesheet.
    285     wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' );
     285    wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20190507' );
    286286
    287287    // Theme block stylesheet.
    288     wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-12-30' );
     288    wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20190102' );
    289289
    290290    // Loads the Internet Explorer specific stylesheet.
    291     wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' );
     291    wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '20150214' );
    292292    wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' );
    293293}
     
    326326function twentythirteen_block_editor_styles() {
    327327    // Block styles.
    328     wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' );
     328    wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20190102' );
    329329    // Add custom fonts.
    330330    wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.