mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-10 09:31:54 +01:00
Add titles to toolbar W and Account items. props DrewAPicture, see #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9fdd8c9301
commit
f54aba9b06
@ -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