Change the default size avatar back to 96 now we are using the new gravatar.com api which supports bigger sizes.

git-svn-id: https://develop.svn.wordpress.org/trunk@7308 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-03-15 08:27:28 +00:00
parent 2e0c6c5cb0
commit c3f4c6a97b
1 changed files with 2 additions and 2 deletions

View File

@ -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) ) {