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:
parent
f6047c397e
commit
ef651a80dd
|
@ -136,7 +136,7 @@ function wp_admin_bar_my_account_menu( $wp_admin_bar ) {
|
||||||
|
|
||||||
if ( 0 != $user_id ) {
|
if ( 0 != $user_id ) {
|
||||||
/* Add the "My Account" menu */
|
/* 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 );
|
$howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
|
||||||
$class = empty( $avatar ) ? '' : 'with-avatar';
|
$class = empty( $avatar ) ? '' : 'with-avatar';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue