WordPress.org

Make WordPress Core

Changeset 26024


Ignore:
Timestamp:
11/06/2013 08:01:54 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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

Location:
trunk/src
Files:
5 edited

Legend:

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

    r26014 r26024  
    590590    'themes/twentytwelve/'   => '3.5',
    591591    'themes/twentythirteen/' => '3.6',
     592    'themes/twentyfourteen/' => '3.8',
    592593);
    593594
  • trunk/src/wp-admin/includes/upgrade.php

    r25838 r26024  
    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 (),'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/src/wp-admin/nav-menus.php

    r25993 r26024  
    477477if ( ! $locations_screen ) : // Main tab
    478478    $overview  = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>';
    479     $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>';
     479    $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>';
    480480    $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>';
    481481    $overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>';
  • trunk/src/wp-includes/class-wp-theme.php

    r25666 r26024  
    4444        'twentytwelve'   => 'Twenty Twelve',
    4545        'twentythirteen' => 'Twenty Thirteen',
     46        'twentyfourteen' => 'Twenty Fourteen',
    4647    );
    4748
  • trunk/src/wp-includes/default-constants.php

    r25986 r26024  
    312312     */
    313313    if ( !defined('WP_DEFAULT_THEME') )
    314         define( 'WP_DEFAULT_THEME', 'twentythirteen' );
    315 
    316 }
     314        define( 'WP_DEFAULT_THEME', 'twentyfourteen' );
     315
     316}
Note: See TracChangeset for help on using the changeset viewer.