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:
Peter Westwood 2008-02-28 16:34:59 +00:00
parent 5a1139a585
commit f36ec751be
1 changed files with 1 additions and 1 deletions

View File

@ -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}";