Bundled Theme: Make twentynineteen the default theme.

After [43808], we can now make twentynineteen the default theme. Twentyseventeen has been a great default, but 5.0 and twentynineteen is guten.

Fixes #45152.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43809 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2018-10-23 16:50:33 +00:00
parent 00a68dc5ac
commit 51d04a18dc
4 changed files with 4 additions and 1 deletions

View File

@ -814,6 +814,7 @@ $_new_bundled_files = array(
'themes/twentyfifteen/' => '4.1',
'themes/twentysixteen/' => '4.4',
'themes/twentyseventeen/' => '4.7',
'themes/twentynineteen/' => '5.0',
);
/**

View File

@ -55,6 +55,7 @@ final class WP_Theme implements ArrayAccess {
'twentyfifteen' => 'Twenty Fifteen',
'twentysixteen' => 'Twenty Sixteen',
'twentyseventeen' => 'Twenty Seventeen',
'twentynineteen' => 'Twenty Nineteen',
);
/**

View File

@ -358,6 +358,6 @@ function wp_templating_constants() {
* @see WP_Theme::get_core_default_theme()
*/
if ( !defined('WP_DEFAULT_THEME') )
define( 'WP_DEFAULT_THEME', 'twentyseventeen' );
define( 'WP_DEFAULT_THEME', 'twentynineteen' );
}

View File

@ -11,6 +11,7 @@ class Tests_Theme extends WP_UnitTestCase {
protected $default_themes = array(
'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen',
'twentyfourteen', 'twentyfifteen', 'twentysixteen', 'twentyseventeen',
'twentynineteen',
);
function setUp() {