[wp-trac] [WordPress Trac] #9568: Allow users to log in using their email address
WordPress Trac
noreply at wordpress.org
Tue Feb 16 21:28:44 UTC 2016
#9568: Allow users to log in using their email address
-------------------------------------------------+-------------------------
Reporter: Denis-de-Bernardy | Owner: swissspidy
Type: feature request | Status: assigned
Priority: normal | Milestone: 4.5
Component: Users | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses:
screenshots |
-------------------------------------------------+-------------------------
Comment (by ocean90):
[attachment:9568.11.diff] In `wp_authenticate_email_password()` `is_email(
$email )` is used which returns false in case `$email` is empty. So the
following `empty( $email )` checks seem to be unnecessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9568#comment:91>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list