Ticket #28163: user.php.patch
File user.php.patch, 512 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/user.php
1526 1526 * @return bool|int The user's ID on success, and false on failure. 1527 1527 */ 1528 1528 function email_exists( $email ) { 1529 if ( $user = get_user_by('email', $email) ) 1529 $sanitize_email = sanitize_email( $email ); 1530 if ( $user = get_user_by('email', $sanitize_email) ) 1530 1531 return $user->ID; 1531 1532 1532 1533 return false;