WordPress.org

Make WordPress Core

Opened 10 days ago

#44358 new enhancement

Unable to search a user if username is an email address

Reported by: subrataemfluence Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Users Keywords: 2nd-opinion
Focuses: administration Cc:

Description

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@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?

Change History (0)

Note: See TracTickets for help on using tickets.