WordPress.org

Make WordPress Core

Ticket #25702: 25702.2.diff

File 25702.2.diff, 3.9 KB (added by markmcwilliams, 7 years ago)
  • wp-admin/includes/update-core.php

     
    589589        'themes/twentyeleven/'   => '3.2',
    590590        'themes/twentytwelve/'   => '3.5',
    591591        'themes/twentythirteen/' => '3.6',
     592        'themes/twentyfourteen/' => '3.8',
    592593);
    593594
    594595/**
  • wp-admin/includes/upgrade.php

     
    218218        update_option( 'widget_archives', array ( 2 => array ( 'title' => '', 'count' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) );
    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() )
    224224                update_user_meta( $user_id, 'show_welcome_panel', 1 );
  • wp-admin/nav-menus.php

     
    476476
    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>';
    482482        $overview .= '<li>' . __( 'Add, organize, and modify individual menu items' ) . '</li></ul>';
  • wp-includes/class-wp-theme.php

     
    4343                'twentyeleven'   => 'Twenty Eleven',
    4444                'twentytwelve'   => 'Twenty Twelve',
    4545                'twentythirteen' => 'Twenty Thirteen',
     46                'twentyfourteen' => 'Twenty Fourteen',
    4647        );
    4748
    4849        /**
  • wp-includes/default-constants.php

     
    311311         * @since 3.0.0
    312312         */
    313313        if ( !defined('WP_DEFAULT_THEME') )
    314                 define( 'WP_DEFAULT_THEME', 'twentythirteen' );
     314                define( 'WP_DEFAULT_THEME', 'twentyfourteen' );
    315315
    316316}