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/twentyfourteen/functions.php

    r44313 r44382  
    320320
    321321    // Theme block stylesheet.
    322     wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20181018' );
     322    wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20181230' );
    323323
    324324    // Load the Internet Explorer specific stylesheet.
     
    396396function twentyfourteen_block_editor_styles() {
    397397    // Block styles.
    398     wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     398    wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    399399    // Add custom fonts.
    400400    wp_enqueue_style( 'twentyfourteen-fonts', twentyfourteen_font_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.