WordPress.org

Make WordPress Core

Changeset 19128


Ignore:
Timestamp:
11/03/2011 04:53:00 AM (10 years ago)
Author:
nacin
Message:

Admin bar 'W' shakeup. About This Version is now About WordPress. Credits and Freedoms will now become tabs on the post-update screen. see #18742.

File:
1 edited

Legend:

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

    r19105 r19128  
    8383
    8484    if ( is_user_logged_in() ) {
    85         // Add "About This Version" link
     85        // Add "About WordPress" link
    8686        $wp_admin_bar->add_menu( array(
    8787            'parent' => 'wp-logo',
    8888            'id'     => 'about',
    89             'title'  => __('About This Version'),
     89            'title'  => __('About WordPress'),
    9090            'href'   => admin_url('about.php'),
    91         ) );
    92 
    93         // Add freedoms link
    94         $wp_admin_bar->add_menu( array(
    95             'parent' => 'wp-logo',
    96             'id'     => 'freedoms',
    97             'title'  => __('Freedoms'),
    98             'href'   => admin_url('freedoms.php'),
    99         ) );
    100 
    101         // Add credits link
    102         $wp_admin_bar->add_menu( array(
    103             'parent' => 'wp-logo',
    104             'id'     => 'credits',
    105             'title'  => __('Credits'),
    106             'href'   => admin_url('credits.php'),
    10791        ) );
    10892    }
Note: See TracChangeset for help on using the changeset viewer.