Multisite has more restrictions on user login character set
|Reported by:||duck_||Owned by:|
|Cc:||d@…, mercijavier@…, pippin@…, chriscct7@…|
Multisite has more restrictions on the characters allowed in a user's login name compared to single site. This seems unnecessary and confusing. It was also the root of a recent bug in the importer, see this forum thread and the workaround.
I haven't worked up a patch yet since there seem to be a few locations where these restrictions are enforced and I don't know if I have found them all yet:
- wpmu_validate_user_signup() uses the regex /[a-z0-9]+/
- ms-default-filters.php adds strtolower to sanitize_user