WordPress.org

Make WordPress Core

Changeset 19614


Ignore:
Timestamp:
12/20/11 22:00:44 (3 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.