Make Twenty Thirteen the default theme.
Has the added benefit of ensuring the WordPress Beta Tester plugin allows updates of Twenty Thirteen. props JustinSainton. fixes #23573. git-svn-id: http://core.svn.wordpress.org/trunk@23529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -37,11 +37,12 @@ final class WP_Theme implements ArrayAccess {
|
||||
* @var array
|
||||
*/
|
||||
private static $default_themes = array(
|
||||
'classic' => 'WordPress Classic',
|
||||
'default' => 'WordPress Default',
|
||||
'twentyten' => 'Twenty Ten',
|
||||
'twentyeleven' => 'Twenty Eleven',
|
||||
'twentytwelve' => 'Twenty Twelve',
|
||||
'classic' => 'WordPress Classic',
|
||||
'default' => 'WordPress Default',
|
||||
'twentyten' => 'Twenty Ten',
|
||||
'twentyeleven' => 'Twenty Eleven',
|
||||
'twentytwelve' => 'Twenty Twelve',
|
||||
'twentythirteen' => 'Twenty Thirteen',
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -304,6 +304,6 @@ function wp_templating_constants() {
|
||||
* @since 3.0.0
|
||||
*/
|
||||
if ( !defined('WP_DEFAULT_THEME') )
|
||||
define( 'WP_DEFAULT_THEME', 'twentytwelve' );
|
||||
define( 'WP_DEFAULT_THEME', 'twentythirteen' );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user