Use a default size that gravatar supports rather than one it doesn't. Fixes #6033 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@7091 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7de1747c15
commit
41fe914d9e
@ -1182,7 +1182,7 @@ if ( !function_exists( 'get_avatar' ) ) :
|
||||
* @param string $default URL to a default image to use if no avatar is available
|
||||
* @return string <img> tag for the user's avatar
|
||||
*/
|
||||
function get_avatar( $id_or_email, $size = '96', $default = '' ) {
|
||||
function get_avatar( $id_or_email, $size = '64', $default = '' ) {
|
||||
if ( ! get_option('show_avatars') )
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user