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:
Andrew Nacin 2013-12-08 07:42:34 +00:00
parent a3fa719dc5
commit 0e0377fb96
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ function wp_admin_bar_my_account_item( $wp_admin_bar ) {
if ( ! $user_id ) if ( ! $user_id )
return; return;
$avatar = get_avatar( $user_id, 16 ); $avatar = get_avatar( $user_id, 26 );
$howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name ); $howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
$class = empty( $avatar ) ? '' : 'with-avatar'; $class = empty( $avatar ) ? '' : 'with-avatar';