Skip to content

Commit 1b1c6af

Browse files
committed
Bundled Themes: Twenty Twenty-Four is now the default theme.
Follow up to [56716]. Props desrosj. See #59447. git-svn-id: https://develop.svn.wordpress.org/trunk@56727 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0b3e704 commit 1b1c6af

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

src/wp-admin/includes/update-core.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@
997997
'themes/twentytwentyone/' => '5.6',
998998
'themes/twentytwentytwo/' => '5.9',
999999
'themes/twentytwentythree/' => '6.1',
1000+
'themes/twentytwentyfour/' => '6.4',
10001001
);
10011002

10021003
/**

src/wp-includes/class-wp-theme.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ final class WP_Theme implements ArrayAccess {
5959
* @since 5.6.0 Added the Twenty Twenty-One theme.
6060
* @since 5.9.0 Added the Twenty Twenty-Two theme.
6161
* @since 6.1.0 Added the Twenty Twenty-Three theme.
62+
* @since 6.4.0 Added the Twenty Twenty-Four theme.
6263
* @var string[]
6364
*/
6465
private static $default_themes = array(
@@ -77,6 +78,7 @@ final class WP_Theme implements ArrayAccess {
7778
'twentytwentyone' => 'Twenty Twenty-One',
7879
'twentytwentytwo' => 'Twenty Twenty-Two',
7980
'twentytwentythree' => 'Twenty Twenty-Three',
81+
'twentytwentyfour' => 'Twenty Twenty-Four',
8082
);
8183

8284
/**

src/wp-includes/default-constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,6 @@ function wp_templating_constants() {
431431
* @see WP_Theme::get_core_default_theme()
432432
*/
433433
if ( ! defined( 'WP_DEFAULT_THEME' ) ) {
434-
define( 'WP_DEFAULT_THEME', 'twentytwentythree' );
434+
define( 'WP_DEFAULT_THEME', 'twentytwentyfour' );
435435
}
436436
}

tests/phpunit/tests/theme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class Tests_Theme extends WP_UnitTestCase {
2222
'twentytwentyone',
2323
'twentytwentytwo',
2424
'twentytwentythree',
25+
'twentytwentyfour',
2526
);
2627

2728
/**

0 commit comments

Comments
 (0)