spstieng
Member
Posted 6 months ago #
I think it's about time that sanitize_user() allows '.' and '@'.
WordPress is being used more and more as a CMS and the need for registering more than one user is getting higher.
In such cases many would like to use the e-mail addres as username.
Will this ever be considered for future releases?
Not likely soon, but possible.
The default blog name for a MultiSite blog is the same as your user ID. So when you allow creation of an id as foobar@domain.com, it defaults to making a SITE named domain.com/foobar@domain.com or (worse) foobar@domain.com.domain.com
Which would break all over.
It possible that, one day, we'll split off the sanitize_user() and sanitize_blogname() but not quite yet.