Make WordPress Core


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

    r53418 r54492  
    384384
    385385        // Theme stylesheet.
    386         wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri(), array(), '20201208' );
     386        wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri(), array(), '20221101' );
    387387
    388388        // Theme block stylesheet.
    389         wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20220524' );
     389        wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20221004' );
    390390
    391391        // Load the Internet Explorer specific stylesheet.
    … …  
    415415        }
    416416
    417         wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20181217', true );
     417        wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20211130', true );
    418418
    419419        wp_localize_script(
    … …  
    435435function twentysixteen_block_editor_styles() {
    436436        // Block styles.
    437         wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20201208' );
     437        wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20221004' );
    438438        // Add custom fonts.
    439439        wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.