From 0e0377fb9601b8d1348179339842fb0923e553be Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 8 Dec 2013 07:42:34 +0000 Subject: [PATCH] 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 --- src/wp-includes/admin-bar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php index c11a1f3073..69334a6eb4 100644 --- a/src/wp-includes/admin-bar.php +++ b/src/wp-includes/admin-bar.php @@ -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';