[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
Wed Oct 7 23:07:06 UTC 2015


#22367: Usernames with "@" char are assumed email addresses, causing incorrect
look-up in several places
-----------------------------------+-----------------------------
 Reporter:  johnjamesjacoby        |       Owner:  johnbillion
     Type:  defect (bug)           |      Status:  reviewing
 Priority:  normal                 |   Milestone:  Future Release
Component:  Users                  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  needs-patch => has-patch 2nd-opinion
 * milestone:  Awaiting Review => Future Release


Comment:

 [attachment:22367.2.patch] updates the patch from JJJ. Note that user
 searches are wildcarded by default now (#32913), so checking for
 `is_email()` when searching users would prevent users for searching for
 things like `@gmail.com`.

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


More information about the wp-trac mailing list