Make WordPress Core

Opened 10 years ago

Last modified 5 years ago

#30039 new defect (bug)

Email validation not working correctly

Reported by: bigwhale's profile BigWhale Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Formatting Keywords: is-email
Focuses: ui, administration Cc:


When creating new users with wp_insert_user or when changing user's email address in UI. Emails such as 'joe@com' or 'jill@sometld' are not accepted as valid email addresses.

Those email addresses are rarely used, but they are valid email addresses.

Change History (3)

#2 @BigWhale
10 years ago

So many related bugs. I'd suggest that validation includes only validating if '@' character is present, the absence of trailing dot, and the absence of double dots. Everything the else is a fair game.

#3 @miqrogroove
9 years ago

  • Component changed from Users to Formatting
  • Keywords is-email added
Note: See TracTickets for help on using tickets.