WordPress.org

Make WordPress Core


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

    r45675 r45767  
    295295function twentyeleven_scripts_styles() {
    296296    // Theme block stylesheet.
    297     wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' );
     297    wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20190102' );
    298298}
    299299add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
     
    306306function twentyeleven_block_editor_styles() {
    307307    // Block styles.
    308     wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' );
     308    wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20190102' );
    309309}
    310310add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' );
Note: See TracChangeset for help on using the changeset viewer.