Forums

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

  1. 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?

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    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.

Reply

You must log in to post.

About this Topic