From 5a8176ea3639891e3e3cfec583776a9cf00e2713 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 3 Nov 2011 04:53:00 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@19128 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/admin-bar.php | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index cabd8a3ef9..925d474520 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -82,29 +82,13 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) { ) ); if ( is_user_logged_in() ) { - // Add "About This Version" link + // Add "About WordPress" link $wp_admin_bar->add_menu( array( 'parent' => 'wp-logo', 'id' => 'about', - 'title' => __('About This Version'), + 'title' => __('About WordPress'), 'href' => admin_url('about.php'), ) ); - - // Add freedoms link - $wp_admin_bar->add_menu( array( - 'parent' => 'wp-logo', - 'id' => 'freedoms', - 'title' => __('Freedoms'), - 'href' => admin_url('freedoms.php'), - ) ); - - // Add credits link - $wp_admin_bar->add_menu( array( - 'parent' => 'wp-logo', - 'id' => 'credits', - 'title' => __('Credits'), - 'href' => admin_url('credits.php'), - ) ); } // Add secondary menu.