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:
Andrew Nacin 2013-12-08 07:43:11 +00:00
parent 5b5a31e78e
commit e9f6fc09df
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 )
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';