[wp-hackers] WordPress multisite user creation

Daniel Westermann-Clark danieltwc at gmail.com
Tue Jul 26 02:15:34 UTC 2011


Hi,

I'm working on setting up some WordPress multisite instances but have
hit a roadblock with respect to creating users. In short, the code for
validating network usernames is fairly restrictive.

Much of it is possible to modify via a plugin. I've put one together
which I'll be registering shortly:

https://github.com/dwc/network-username-restrictions-override

However, there is one restriction that is hardcoded:

https://gist.github.com/1105744

Is there a particular reason why the strtolower is forced there? The
default multisite filters are configured to perform this anyway as
part of the sanitize_user process.

-- 
Daniel Westermann-Clark


More information about the wp-hackers mailing list