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:
westi 2008-03-15 08:27:28 +00:00
parent d74331ba32
commit 6c14cad3c9
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) ) {