mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
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:
parent
00a68dc5ac
commit
51d04a18dc
@ -814,6 +814,7 @@ $_new_bundled_files = array(
|
||||
'themes/twentyfifteen/' => '4.1',
|
||||
'themes/twentysixteen/' => '4.4',
|
||||
'themes/twentyseventeen/' => '4.7',
|
||||
'themes/twentynineteen/' => '5.0',
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -55,6 +55,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
'twentyfifteen' => 'Twenty Fifteen',
|
||||
'twentysixteen' => 'Twenty Sixteen',
|
||||
'twentyseventeen' => 'Twenty Seventeen',
|
||||
'twentynineteen' => 'Twenty Nineteen',
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -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' );
|
||||
|
||||
}
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user