mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
Request a larger avatar for the toolbar, as we use it at narrow responsive sizes.
props kovshenin. fixes #26292. Built from https://develop.svn.wordpress.org/trunk@26800 git-svn-id: http://core.svn.wordpress.org/trunk@26687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5b5a31e78e
commit
e9f6fc09df
@ -190,7 +190,7 @@ function wp_admin_bar_my_account_item( $wp_admin_bar ) {
|
||||
if ( ! $user_id )
|
||||
return;
|
||||
|
||||
$avatar = get_avatar( $user_id, 16 );
|
||||
$avatar = get_avatar( $user_id, 26 );
|
||||
$howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
|
||||
$class = empty( $avatar ) ? '' : 'with-avatar';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user