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

git-svn-id: http://svn.automattic.com/wordpress/trunk@19549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-12-05 20:47:12 +00:00
parent f6047c397e
commit ef651a80dd
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';