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.

git-svn-id: https://develop.svn.wordpress.org/trunk@52093 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2021-11-10 00:39:45 +00:00
parent 94dc7028be
commit be7313f8c2
4 changed files with 4 additions and 1 deletions

View File

@ -864,6 +864,7 @@ $_new_bundled_files = array(
'themes/twentynineteen/' => '5.0',
'themes/twentytwenty/' => '5.3',
'themes/twentytwentyone/' => '5.6',
'themes/twentytwentytwo/' => '5.9',
);
/**

View File

@ -70,6 +70,7 @@ final class WP_Theme implements ArrayAccess {
'twentynineteen' => 'Twenty Nineteen',
'twentytwenty' => 'Twenty Twenty',
'twentytwentyone' => 'Twenty Twenty-One',
'twentytwentytwo' => 'Twenty Twenty-Two',
);
/**

View File

@ -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' );
}
}

View File

@ -20,6 +20,7 @@ class Tests_Theme extends WP_UnitTestCase {
'twentynineteen',
'twentytwenty',
'twentytwentyone',
'twentytwentytwo',
);
public function set_up() {