Make WordPress Core

Changeset 22054


Ignore:
Timestamp:
09/27/2012 07:47:51 AM (12 years ago)
Author:
nacin
Message:

Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789.

Location:
trunk
Files:
4 edited

Legend:

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

    r21703 r22054  
    560560'plugins/akismet/' => '2.0',
    561561'themes/twentyten/' => '3.0',
    562 'themes/twentyeleven/' => '3.2'
     562'themes/twentyeleven/' => '3.2',
     563'themes/twentytwelve/' => '3.5',
    563564);
    564565
  • trunk/wp-admin/includes/upgrade.php

    r21996 r22054  
    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 ( ), 'sidebar-4' => array ( ), 'sidebar-5' => 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 ( ), 'sidebar-3' => array ( ), 'array_version' => 3 ) );
    222222
    223223    if ( ! is_multisite() )
  • trunk/wp-includes/class-wp-theme.php

    r21712 r22054  
    4242        'twentyten'    => 'Twenty Ten',
    4343        'twentyeleven' => 'Twenty Eleven',
     44        'twentytwelve' => 'Twenty Twelve',
    4445    );
    4546
  • trunk/wp-includes/default-constants.php

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