Make WordPress Core


Ignore:
Timestamp:
10/11/2022 05:03:08 PM (21 months ago)
Author:
desrosj
Message:

Bundled Themes: Bump version numbers for 6.1.

In coordination with the release of 6.1, a new version of each bundled theme will also be released. This bumps the version of each theme to the following:

  • Twenty Ten: 3.7
  • Twenty Eleven: 4.2
  • Twenty Twelve: 3.8
  • Twenty Thirteen: 3.7
  • Twenty Fourteen: 3.5
  • Twenty Fifteen: 3.3
  • Twenty Sixteen: 2.8
  • Twenty Seventeen: 3.1
  • Twenty Nineteen: 2.4
  • Twenty Twenty: 2.1
  • Twenty Twenty-One: 1.7
  • Twenty Twenty-Two: 1.3

Additionally, this audits all $version parameters for wp_(enqueue|register)_(script|style) calls, ensuring accurate last edited or theme version values for proper caching and cache busting.

Props robinwpdeveloper, desrosj, mukesh27.
Fixes #56450.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r53418 r54492  
    436436
    437437    // Add Genericons, used in the main stylesheet.
    438     wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20201208' );
     438    wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20201026' );
    439439
    440440    // Load our main stylesheet.
    441     wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), '20201208' );
     441    wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), '20221101' );
    442442
    443443    // Theme block stylesheet.
    444     wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20220524' );
     444    wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20220914' );
    445445
    446446    // Load the Internet Explorer specific stylesheet.
    447     wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20170916' );
     447    wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20220908' );
    448448    wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' );
    449449
     
    462462    }
    463463
    464     wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20220524', true );
     464    wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20221101', true );
    465465    wp_localize_script(
    466466        'twentyfifteen-script',
     
    481481function twentyfifteen_block_editor_styles() {
    482482    // Block styles.
    483     wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20201208' );
     483    wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20220908' );
    484484    // Add custom fonts.
    485485    wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.