WordPress.org

Make WordPress Core

Changeset 23529


Ignore:
Timestamp:
02/28/2013 07:01:07 PM (8 years ago)
Author:
nacin
Message:

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.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update-core.php

    r23297 r23529  
    572572
    573573$_new_bundled_files = array(
    574 'plugins/akismet/' => '2.0',
    575 'themes/twentyten/' => '3.0',
    576 'themes/twentyeleven/' => '3.2',
    577 'themes/twentytwelve/' => '3.5',
     574    'plugins/akismet/'       => '2.0',
     575    'themes/twentyten/'      => '3.0',
     576    'themes/twentyeleven/'   => '3.2',
     577    'themes/twentytwelve/'   => '3.5',
     578    'themes/twentythirteen/' => '3.6',
    578579);
    579580
  • trunk/wp-admin/includes/upgrade.php

    r23416 r23529  
    219219    update_option( 'widget_categories', array ( 2 => array ( 'title' => '', 'count' => 0, 'hierarchical' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) );
    220220    update_option( 'widget_meta', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) );
    221     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 ) );
     221    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 ) );
    222222
    223223    if ( ! is_multisite() )
  • trunk/wp-admin/nav-menus.php

    r23453 r23529  
    436436    '<p>' . __('This feature allows you to use a custom menu in place of your theme&#8217;s default menus.') . '</p>' .
    437437    '<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>' .
    438     '<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>'
     438    '<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>'
    439439) );
    440440get_current_screen()->add_help_tab( array(
  • trunk/wp-includes/class-wp-theme.php

    r23394 r23529  
    3838     */
    3939    private static $default_themes = array(
    40         'classic'      => 'WordPress Classic',
    41         'default'      => 'WordPress Default',
    42         'twentyten'    => 'Twenty Ten',
    43         'twentyeleven' => 'Twenty Eleven',
    44         'twentytwelve' => 'Twenty Twelve',
     40        'classic'        => 'WordPress Classic',
     41        'default'        => 'WordPress Default',
     42        'twentyten'      => 'Twenty Ten',
     43        'twentyeleven'   => 'Twenty Eleven',
     44        'twentytwelve'   => 'Twenty Twelve',
     45        'twentythirteen' => 'Twenty Thirteen',
    4546    );
    4647
  • trunk/wp-includes/default-constants.php

    r23308 r23529  
    305305     */
    306306    if ( !defined('WP_DEFAULT_THEME') )
    307         define( 'WP_DEFAULT_THEME', 'twentytwelve' );
    308 
    309 }
     307        define( 'WP_DEFAULT_THEME', 'twentythirteen' );
     308
     309}
Note: See TracChangeset for help on using the changeset viewer.