mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
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:
@@ -44,6 +44,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
'twentytwelve' => 'Twenty Twelve',
|
||||
'twentythirteen' => 'Twenty Thirteen',
|
||||
'twentyfourteen' => 'Twenty Fourteen',
|
||||
'twentyfifteen' => 'Twenty Fifteen',
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -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' );
|
||||
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user