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

    r52929 r54492  
    208208
    209209    // Loads our main stylesheet.
    210     wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), '20190507' );
     210    wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), '20221101' );
    211211
    212212    // Theme block stylesheet.
     
    226226function twentytwelve_block_editor_styles() {
    227227    // Block styles.
    228     wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20190406' );
     228    wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20200713' );
    229229    // Add custom fonts.
    230230    wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null );
     
    699699 */
    700700function twentytwelve_customize_preview_js() {
    701     wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20141120', true );
     701    wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20200516', true );
    702702}
    703703add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' );
Note: See TracChangeset for help on using the changeset viewer.