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

    r44313 r44382  
    371371
    372372    // Theme block stylesheet.
    373     wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20181018' );
     373    wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20181230' );
    374374
    375375    // Load the Internet Explorer specific stylesheet.
     
    399399    }
    400400
    401     wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20160816', true );
     401    wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20181230', true );
    402402
    403403    wp_localize_script(
     
    419419function twentysixteen_block_editor_styles() {
    420420    // Block styles.
    421     wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     421    wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    422422    // Add custom fonts.
    423423    wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.