Make WordPress Core


Ignore:
Timestamp:
01/02/2019 06:03:47 PM (6 years ago)
Author:
laurelfulford
Message:

Bundled Themes: Bump script and style version numbers.

When existing scripts or styles are updated in default themes, the version numbers in the enqueues should also be bumped to make sure the old files don't cache. This update bumps version numbers for changes since version 5.0, for themes Twenty Eleven through Twenty Nineteen.

Fixes #45679.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/functions.php

    r44313 r44382  
    293293function twentyeleven_scripts_styles() {
    294294    // Theme block stylesheet.
    295     wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' );
     295    wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' );
    296296}
    297297add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
     
    304304function twentyeleven_block_editor_styles() {
    305305    // Block styles.
    306     wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' );
     306    wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' );
    307307}
    308308add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' );
Note: See TracChangeset for help on using the changeset viewer.