Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702.
Built from https://develop.svn.wordpress.org/trunk@26024 git-svn-id: http://core.svn.wordpress.org/trunk@25955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c6e90efb0
commit
72d4b140fb
|
@ -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',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
|
@ -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 “Custom Menu” 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 “Custom Menu” 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>';
|
||||||
|
|
|
@ -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',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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' );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue