Feature request: Allow e-mail username (2 posts)

  1. Steven
    Posted 4 years 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?

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic