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:
Andrew Nacin
2013-02-28 19:01:07 +00:00
parent e09a4c5a79
commit afd9cbced9
5 changed files with 14 additions and 12 deletions

View File

@@ -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',
);
/**

View File

@@ -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' );
}