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:
parent
e09a4c5a79
commit
afd9cbced9
|
@ -571,10 +571,11 @@ $_old_files = array(
|
||||||
global $_new_bundled_files;
|
global $_new_bundled_files;
|
||||||
|
|
||||||
$_new_bundled_files = array(
|
$_new_bundled_files = array(
|
||||||
'plugins/akismet/' => '2.0',
|
'plugins/akismet/' => '2.0',
|
||||||
'themes/twentyten/' => '3.0',
|
'themes/twentyten/' => '3.0',
|
||||||
'themes/twentyeleven/' => '3.2',
|
'themes/twentyeleven/' => '3.2',
|
||||||
'themes/twentytwelve/' => '3.5',
|
'themes/twentytwelve/' => '3.5',
|
||||||
|
'themes/twentythirteen/' => '3.6',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -218,7 +218,7 @@ As a new WordPress user, you should go to <a href=\"%s\">your dashboard</a> to d
|
||||||
update_option( 'widget_archives', array ( 2 => array ( 'title' => '', 'count' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) );
|
update_option( 'widget_archives', array ( 2 => array ( 'title' => '', 'count' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) );
|
||||||
update_option( 'widget_categories', array ( 2 => array ( 'title' => '', 'count' => 0, 'hierarchical' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) );
|
update_option( 'widget_categories', array ( 2 => array ( 'title' => '', 'count' => 0, 'hierarchical' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) );
|
||||||
update_option( 'widget_meta', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) );
|
update_option( 'widget_meta', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) );
|
||||||
update_option( 'sidebars_widgets', array ( 'wp_inactive_widgets' => array (), 'sidebar-1' => array ( 0 => 'search-2', 1 => 'recent-posts-2', 2 => 'recent-comments-2', 3 => 'archives-2', 4 => 'categories-2', 5 => 'meta-2', ), 'sidebar-2' => array (), 'sidebar-3' => array (), 'array_version' => 3 ) );
|
update_option( 'sidebars_widgets', array ( 'wp_inactive_widgets' => array (), 'sidebar-1' => array ( 0 => 'search-2', 1 => 'recent-posts-2', 2 => 'recent-comments-2', 3 => 'archives-2', 4 => 'categories-2', 5 => 'meta-2', ), 'sidebar-2' => array (),'array_version' => 3 ) );
|
||||||
|
|
||||||
if ( ! is_multisite() )
|
if ( ! is_multisite() )
|
||||||
update_user_meta( $user_id, 'show_welcome_panel', 1 );
|
update_user_meta( $user_id, 'show_welcome_panel', 1 );
|
||||||
|
|
|
@ -435,7 +435,7 @@ get_current_screen()->add_help_tab( array(
|
||||||
'content' =>
|
'content' =>
|
||||||
'<p>' . __('This feature allows you to use a custom menu in place of your theme’s default menus.') . '</p>' .
|
'<p>' . __('This feature allows you to use a custom menu in place of your theme’s default menus.') . '</p>' .
|
||||||
'<p>' . __('Custom menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu location, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>' .
|
'<p>' . __('Custom menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu location, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>' .
|
||||||
'<p>' . sprintf( __('If your theme does not support the custom menus feature (the default themes, %1$s and %2$s, do), you can learn about adding this support by following the Documentation link to the side.'), 'Twenty Twelve', 'Twenty Eleven' ) . '</p>'
|
'<p>' . sprintf( __('If your theme does not support the custom menus feature (the default themes, %1$s and %2$s, do), you can learn about adding this support by following the Documentation link to the side.'), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>'
|
||||||
) );
|
) );
|
||||||
get_current_screen()->add_help_tab( array(
|
get_current_screen()->add_help_tab( array(
|
||||||
'id' => 'create-menus',
|
'id' => 'create-menus',
|
||||||
|
|
|
@ -37,11 +37,12 @@ final class WP_Theme implements ArrayAccess {
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private static $default_themes = array(
|
private static $default_themes = array(
|
||||||
'classic' => 'WordPress Classic',
|
'classic' => 'WordPress Classic',
|
||||||
'default' => 'WordPress Default',
|
'default' => 'WordPress Default',
|
||||||
'twentyten' => 'Twenty Ten',
|
'twentyten' => 'Twenty Ten',
|
||||||
'twentyeleven' => 'Twenty Eleven',
|
'twentyeleven' => 'Twenty Eleven',
|
||||||
'twentytwelve' => 'Twenty Twelve',
|
'twentytwelve' => 'Twenty Twelve',
|
||||||
|
'twentythirteen' => 'Twenty Thirteen',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -304,6 +304,6 @@ function wp_templating_constants() {
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*/
|
*/
|
||||||
if ( !defined('WP_DEFAULT_THEME') )
|
if ( !defined('WP_DEFAULT_THEME') )
|
||||||
define( 'WP_DEFAULT_THEME', 'twentytwelve' );
|
define( 'WP_DEFAULT_THEME', 'twentythirteen' );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue