Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Autogenerate or remove username


Jeff Sayre
Participant

@jeffsayre

Donnacha-

You are correct. It should not be that difficult. There are a few special characters in an email address that may need to be properly handled ( the period, the @ sign, potentially a dash in some addresses).

I suppose you could use htmlentities() to do this, but I don’t see why it would not work. Although I believe WPMU simply escapes the email address on POST.

Of course, this would not prevent people from entering an all-character username. I guess you’d simply perform the standard check to see if a validly-formatted email address was entered.

In fact as one of the goals for BuddyPress (and therefore I assume WPMU) is to implement the Open Stack, there will need to be a way for people to signup and sign in using their email address.

Skip to toolbar