[wp-trac] [WordPress Trac] #9568: Allow users to log in using their email address
WordPress Trac
noreply at wordpress.org
Sat Feb 20 10:24:24 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 has- | Focuses:
screenshots needs-refresh |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
Replying to [comment:91 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.
Thanks for the heads up. That means I can simplify the condition there a
bit, which I'll do over the coming days.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9568#comment:93>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list