Fetch 16x16 avatar, not 28x28. Props linuxologos. fixes #19421

git-svn-id: https://develop.svn.wordpress.org/trunk@19549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-12-05 20:47:12 +00:00
parent 6bd61a831e
commit 7054e89150
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ function wp_admin_bar_my_account_menu( $wp_admin_bar ) {
if ( 0 != $user_id ) {
/* Add the "My Account" menu */
$avatar = get_avatar( $user_id, 28 );
$avatar = get_avatar( $user_id, 16 );
$howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
$class = empty( $avatar ) ? '' : 'with-avatar';