Make WordPress Core


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

    r52290 r54492  
    332332
    333333    // Load our main stylesheet.
    334     wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '20190507' );
     334    wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '20221101' );
    335335
    336336    // Theme block stylesheet.
    337     wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20190102' );
     337    wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20210622' );
    338338
    339339    // Load the Internet Explorer specific stylesheet.
    340     wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20140701' );
     340    wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20140711' );
    341341    wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
    342342
     
    365365    }
    366366
    367     wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true );
     367    wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20210122', true );
    368368}
    369369add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' );
     
    411411function twentyfourteen_block_editor_styles() {
    412412    // Block styles.
    413     wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20201208' );
     413    wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20210216' );
    414414    // Add custom fonts.
    415415    wp_enqueue_style( 'twentyfourteen-fonts', twentyfourteen_font_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.