[wp-trac] [WordPress Trac] #44358: Unable to search a user if username is an email address

WordPress Trac noreply at wordpress.org
Wed Jun 13 14:43:41 UTC 2018


#44358: Unable to search a user if username is an email address
------------------------------+-----------------------------
 Reporter:  subrataemfluence  |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Users             |    Version:  trunk
 Severity:  normal            |   Keywords:  2nd-opinion
  Focuses:  administration    |
------------------------------+-----------------------------
 If a user has an email address in his username, that user is not searched
 in admin user list page.

 Steps to reproduce:
 - Create a new user and use an email address as the username, e.g.
 `abc at gmail.com`
 - Make sure no user on the system has an email address which contains
 `abc@` in it
 - Search a user with `abc@` keyword. No user will be returned.

 I think since WordPress does not restrict the character `@` in username,
 the search should include username field even when there is `@` in search
 keyword.

 Does this make any sense?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44358>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list