Set Twenty Fifteen as the new default theme. see #29799.

git-svn-id: https://develop.svn.wordpress.org/trunk@29895 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-10-14 19:57:13 +00:00
parent 3640f40a12
commit 209a4c6a86
3 changed files with 6 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ final class WP_Theme implements ArrayAccess {
'twentytwelve' => 'Twenty Twelve',
'twentythirteen' => 'Twenty Thirteen',
'twentyfourteen' => 'Twenty Fourteen',
'twentyfifteen' => 'Twenty Fifteen',
);
/**

View File

@@ -318,6 +318,6 @@ function wp_templating_constants() {
* @since 3.0.0
*/
if ( !defined('WP_DEFAULT_THEME') )
define( 'WP_DEFAULT_THEME', 'twentyfourteen' );
define( 'WP_DEFAULT_THEME', 'twentyfifteen' );
}

View File

@@ -8,7 +8,10 @@
class Tests_Theme extends WP_UnitTestCase {
protected $theme_slug = 'twentyeleven';
protected $theme_name = 'Twenty Eleven';
protected $default_themes = array( 'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen', 'twentyfourteen' );
protected $default_themes = array(
'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen',
'twentyfourteen', 'twentyfifteen',
);
function setUp() {
parent::setUp();