Request a larger avatar for the toolbar, as we use it at narrow responsive sizes.
props kovshenin. fixes #26292. git-svn-id: https://develop.svn.wordpress.org/trunk@26800 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a3fa719dc5
commit
0e0377fb96
@ -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…
Reference in New Issue
Block a user