sanitize_user() disallows + in usernames causes problem for email as username
|Reported by:||jb510||Owned by:|
I want to use email addresses as usernames which seems to work fine, except sanitize_user() doesn't allow a + in the username and my email addresses have + in them.
Google/gmail allows one to use a + modifier on emails like so:
user+admin@…, user+editor@…, user+author@…, etc...
I often use this to get around WordPress's requirement for unique email addresses but it's also intended for and useful in filtering: user+blog1@…, user+blog2@…, etc...
Is there a reason we can't allow +'s in usernames or could it be moved to the strict case only?