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:
parent
c47ea8d881
commit
0961b15abe
@ -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'),
|
||||
),
|
||||
) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user