Change the default size avatar back to 96 now we are using the new gravatar.com api which supports bigger sizes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d74331ba32
commit
6c14cad3c9
|
@ -1182,12 +1182,12 @@ 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 = '64', $default = '' ) {
|
||||
function get_avatar( $id_or_email, $size = '96', $default = '' ) {
|
||||
if ( ! get_option('show_avatars') )
|
||||
return false;
|
||||
|
||||
if ( !is_numeric($size) )
|
||||
$size = '64';
|
||||
$size = '96';
|
||||
|
||||
$email = '';
|
||||
if ( is_numeric($id_or_email) ) {
|
||||
|
|
Loading…
Reference in New Issue