Make WordPress Core


Ignore:
Timestamp:
12/20/2011 10:00:44 PM (13 years ago)
Author:
nacin
Message:

Gravatar emails should be trimmed before being lowered and hashed. props evansolomon. fixes #19614.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r19593 r19614  
    16301630
    16311631    if ( !empty($email) )
    1632         $email_hash = md5( strtolower( $email ) );
     1632        $email_hash = md5( strtolower( trim( $email ) ) );
    16331633
    16341634    if ( is_ssl() ) {
Note: See TracChangeset for help on using the changeset viewer.