Make WordPress Core


Ignore:
Timestamp:
01/07/2019 06:39:03 PM (6 years ago)
Author:
SergeyBiryukov
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.

Props laurelfulford.
Merges [44382] to the 5.0 branch.
Fixes #45679.

Location:
branches/5.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0

  • branches/5.0/src/wp-content/themes/twentythirteen/functions.php

    r44213 r44434  
    257257
    258258    // Theme block stylesheet.
    259     wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-10-18' );
     259    wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-12-30' );
    260260
    261261    // Loads the Internet Explorer specific stylesheet.
     
    297297function twentythirteen_block_editor_styles() {
    298298    // Block styles.
    299     wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     299    wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' );
    300300    // Add custom fonts.
    301301    wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.