[wp-trac] [WordPress Trac] #22367: Usernames with "@" char are assumed email addresses, causing incorrect look-up in several places

WordPress Trac noreply at wordpress.org
Sun Apr 24 11:03:56 UTC 2016


#22367: Usernames with "@" char are assumed email addresses, causing incorrect
look-up in several places
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Users            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  dev-feedback     |     Focuses:
-----------------------------+------------------------------

Comment (by websupporter):

 I've just checked for #36653 the following:

 I can login with the username `admin at example.com` since the login via
 `wp_authenticate_email_password()` is hooked into `wp_authenticate` after
 `wp_authenticate_username_password()` and returns the `$user` if its a
 user object. But I still can't reset my password or find
 `admin at example.com` by conducting a search on the user page in `wp-admin/`

 The patch for the password reset still seems to work. Didn't check for the
 search though.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22367#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list