From 6a582d31f7be280cf6b480502ac6c38f903d55e7 Mon Sep 17 00:00:00 2001 From: desrosj Date: Tue, 11 Oct 2022 17:05:13 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@54492 git-svn-id: http://core.svn.wordpress.org/trunk@54051 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- functions.php | 6 +++--- readme.txt | 9 +++++++-- style.css | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/functions.php b/functions.php index a86de032a..4ecca30d2 100644 --- a/functions.php +++ b/functions.php @@ -207,7 +207,7 @@ function twentytwelve_scripts_styles() { } // Loads our main stylesheet. - wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), '20190507' ); + wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), '20221101' ); // Theme block stylesheet. wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20190406' ); @@ -225,7 +225,7 @@ function twentytwelve_scripts_styles() { */ function twentytwelve_block_editor_styles() { // Block styles. - wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20190406' ); + wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20200713' ); // Add custom fonts. wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null ); } @@ -698,7 +698,7 @@ function twentytwelve_customize_partial_blogdescription() { * @since Twenty Twelve 1.0 */ function twentytwelve_customize_preview_js() { - wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20141120', true ); + wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20200516', true ); } add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' ); diff --git a/readme.txt b/readme.txt index 5d13cc4e7..6878b6fd4 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === Twenty Twelve === Contributors: wordpressdotorg -Tested up to: 6.0 -Stable tag: 3.7 +Tested up to: 6.1 +Stable tag: 3.8 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, block-patterns @@ -46,6 +46,11 @@ Source: https://github.com/aFarkas/html5shiv == Changelog == += 3.8 = +* Released: November 1, 2022 + +https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_3.8 + = 3.7 = * Released: May 24, 2022 diff --git a/style.css b/style.css index ce81e47e8..75e3d28c4 100644 --- a/style.css +++ b/style.css @@ -4,8 +4,8 @@ Theme URI: https://wordpress.org/themes/twentytwelve/ Author: the WordPress team Author URI: https://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. -Version: 3.7 -Tested up to: 6.0 +Version: 3.8 +Tested up to: 6.1 Requires at least: 3.5 Requires PHP: 5.2.4 License: GNU General Public License v2 or later