Ensure email address is lower case in get_avatar(). Fixes #6028 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@7087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5a1139a585
commit
f36ec751be
@ -1211,7 +1211,7 @@ function get_avatar( $id_or_email, $size = '96', $default = '' ) {
|
||||
|
||||
if ( !empty($email) ) {
|
||||
$out = 'http://www.gravatar.com/avatar.php?gravatar_id=';
|
||||
$out .= md5( $email );
|
||||
$out .= md5( strtolower( $email ) );
|
||||
$out .= "&size={$size}";
|
||||
$out .= "&default={$default}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user