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:
parent
2e0c6c5cb0
commit
c3f4c6a97b
@ -1182,12 +1182,12 @@ if ( !function_exists( 'get_avatar' ) ) :
|
|||||||
* @param string $default URL to a default image to use if no avatar is available
|
* @param string $default URL to a default image to use if no avatar is available
|
||||||
* @return string <img> tag for the user's avatar
|
* @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') )
|
if ( ! get_option('show_avatars') )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( !is_numeric($size) )
|
if ( !is_numeric($size) )
|
||||||
$size = '64';
|
$size = '96';
|
||||||
|
|
||||||
$email = '';
|
$email = '';
|
||||||
if ( is_numeric($id_or_email) ) {
|
if ( is_numeric($id_or_email) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user