Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702.

git-svn-id: https://develop.svn.wordpress.org/trunk@26024 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-11-06 20:01:54 +00:00
parent 8f46d50138
commit cd7deb0e7b
5 changed files with 5 additions and 3 deletions

View File

@ -589,6 +589,7 @@ $_new_bundled_files = array(
'themes/twentyeleven/' => '3.2', 'themes/twentyeleven/' => '3.2',
'themes/twentytwelve/' => '3.5', 'themes/twentytwelve/' => '3.5',
'themes/twentythirteen/' => '3.6', 'themes/twentythirteen/' => '3.6',
'themes/twentyfourteen/' => '3.8',
); );
/** /**

View File

@ -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 (),'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 (), 'sidebar-3' => 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 );

View File

@ -476,7 +476,7 @@ if ( ! current_theme_supports( 'menus' ) && ! $num_locations )
if ( ! $locations_screen ) : // Main tab if ( ! $locations_screen ) : // Main tab
$overview = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>'; $overview = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>';
$overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a &#8220;Custom Menu&#8221; widget on the <a href="%1$s">Widgets</a> screen. If your theme does not support the custom menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>'; $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a &#8220;Custom Menu&#8221; widget on the <a href="%1$s">Widgets</a> screen. If your theme does not support the custom menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Fourteen', 'Twenty Thirteen' ) . '</p>';
$overview .= '<p>' . __( 'From this screen you can:' ) . '</p>'; $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>';
$overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>'; $overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>';
$overview .= '<li>' . __( 'Add, organize, and modify individual menu items' ) . '</li></ul>'; $overview .= '<li>' . __( 'Add, organize, and modify individual menu items' ) . '</li></ul>';

View File

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

View File

@ -311,6 +311,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', 'twentythirteen' ); define( 'WP_DEFAULT_THEME', 'twentyfourteen' );
} }