Make WordPress Core


Ignore:
Timestamp:
01/02/2019 06:03:47 PM (5 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/twentythirteen/functions.php

    r44313 r44382  
    284284
    285285    // Theme block stylesheet.
    286     wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-10-18' );
     286    wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-12-30' );
    287287
    288288    // Loads the Internet Explorer specific stylesheet.
     
    324324function twentythirteen_block_editor_styles() {
    325325    // Block styles.
    326     wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     326    wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' );
    327327    // Add custom fonts.
    328328    wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.