Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#44324 closed defect (bug) (invalid)

WordPress cuts plus signs in email addresses

Reported by: sgr33n's profile SGr33n Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.6
Component: Users Keywords:
Focuses: Cc:


GMail has this cool function that if you add a plus sign to your email you can work with filters and get a variety of email aliases (ref.
If you use it on WordPress it will cut the plus sign, making the account unreachable.

It would be useful if WordPress could handle this function, but at least it should cut everything after the plus sign, not only the sign itself.

Example: testemail@… is the original email address, testemail+wp@… is an alias, WordPress transforms this into testmailwp@… that is a completely different email address, unreachable from the real user.

So WordPress could not remove the plus sign or at least remove all the part after the sign.

Thanks :)

Change History (4)

#1 @pbiron
6 years ago

I suspect you've got an active plugin that is stripping the +.

I just tested on clean (i.e., no plugins, twentyseventeen theme) single and multi-site 4.9.6 installs and was accepted by both.

#2 @SGr33n
6 years ago

Was happened while I was developing a plugin, happened via wp_create_user() function. I will test it again.

#3 @SGr33n
6 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Ok, I tested it and I found what's wrong. The username, that was the same as the email address, was stripping the plus, the email is correct so everything is ok :)

Version 0, edited 6 years ago by SGr33n (next)

#4 @netweb
6 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.