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

    r44313 r44382  
    201201
    202202    // Theme block stylesheet.
    203     wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181018' );
     203    wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181230' );
    204204
    205205    // Loads the Internet Explorer specific stylesheet.
     
    216216function twentytwelve_block_editor_styles() {
    217217    // Block styles.
    218     wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     218    wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    219219    // Add custom fonts.
    220220    wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.