Make WordPress Core


Ignore:
Timestamp:
10/11/2022 05:03:08 PM (2 years 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/twentythirteen/functions.php

    r53418 r54492  
    311311
    312312    // Loads JavaScript file with functionality specific to Twenty Thirteen.
    313     wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true );
     313    wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20210122', true );
    314314
    315315    // Add Source Sans Pro and Bitter fonts, used in the main stylesheet.
     
    320320
    321321    // Loads our main stylesheet.
    322     wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20220524' );
     322    wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20221101' );
    323323
    324324    // Theme block stylesheet.
    325     wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20190102' );
     325    wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20210622' );
    326326
    327327    // Loads the Internet Explorer specific stylesheet.
     
    363363function twentythirteen_block_editor_styles() {
    364364    // Block styles.
    365     wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20201208' );
     365    wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20210621' );
    366366    // Add custom fonts.
    367367    wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
     
    813813 */
    814814function twentythirteen_customize_preview_js() {
    815     wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20141120', true );
     815    wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20200516', true );
    816816}
    817817add_action( 'customize_preview_init', 'twentythirteen_customize_preview_js' );
Note: See TracChangeset for help on using the changeset viewer.