Add titles to toolbar W and Account items. props DrewAPicture, see #19404.

git-svn-id: https://develop.svn.wordpress.org/trunk@19517 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2011-12-01 02:55:53 +00:00
parent c47ea8d881
commit 0961b15abe
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,9 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
'id' => 'wp-logo',
'title' => '<span class="ab-icon"></span>',
'href' => admin_url( 'about.php' ),
'meta' => array(
'title' => __('About WordPress'),
),
) );
if ( is_user_logged_in() ) {
@ -144,6 +147,7 @@ function wp_admin_bar_my_account_menu( $wp_admin_bar ) {
'href' => $profile_url,
'meta' => array(
'class' => $class,
'title' => __('My Account'),
),
) );