From 1dac2cdae7c5578bb140181c60c5d78d0fd4e9e5 Mon Sep 17 00:00:00 2001 From: desrosj Date: Wed, 10 Nov 2021 00:41:00 +0000 Subject: [PATCH] Themes: Twenty Twenty-Two is now the default theme. It's Friday night, and I feel alright. The party is here in the block theme. See #54318. Built from https://develop.svn.wordpress.org/trunk@52093 git-svn-id: http://core.svn.wordpress.org/trunk@51685 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 1 + wp-includes/class-wp-theme.php | 1 + wp-includes/default-constants.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 32664bf6ff..e411b817dc 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -864,6 +864,7 @@ $_new_bundled_files = array( 'themes/twentynineteen/' => '5.0', 'themes/twentytwenty/' => '5.3', 'themes/twentytwentyone/' => '5.6', + 'themes/twentytwentytwo/' => '5.9', ); /** diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index d0607528b5..6b7ddc8e26 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -70,6 +70,7 @@ final class WP_Theme implements ArrayAccess { 'twentynineteen' => 'Twenty Nineteen', 'twentytwenty' => 'Twenty Twenty', 'twentytwentyone' => 'Twenty Twenty-One', + 'twentytwentytwo' => 'Twenty Twenty-Two', ); /** diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php index 21a855ad25..cd70ca5cf6 100644 --- a/wp-includes/default-constants.php +++ b/wp-includes/default-constants.php @@ -409,7 +409,7 @@ function wp_templating_constants() { * @see WP_Theme::get_core_default_theme() */ if ( ! defined( 'WP_DEFAULT_THEME' ) ) { - define( 'WP_DEFAULT_THEME', 'twentytwentyone' ); + define( 'WP_DEFAULT_THEME', 'twentytwentytwo' ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index b8840512d5..6443244414 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52092'; +$wp_version = '5.9-alpha-52093'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.