WordPress.org

Ready to get started?Download WordPress

Plugin Directory

wp-valid-username-normalizer

This plugin will clean up the mess when your user database is full av invalid usernames.

WordPress functions for creating new users does not check wheather the usernames are valid (for having in URL:s etc.) So, if you have a wordpress site with some plugin that creates users with "funny characters" (such as spaces, national characters, etc.), this plugin will clean up the mess. (Yes, this is a real world scenario that did happen.)

This plugin will rename all your user's usernames to something valid, still allowing your users to continue logging in with their old invalid username, so you do not have to instruct all your users to login in with the new valid username. This plugin will map old invalid usernames to the new valid ones.

Overall, what is considered a "valid" username is a bit of a mess in WordPress. You would expect the sanitize_user() function to return a username that works, but it does accept spaces, wildcard and at (@), which all will fuck up your authors' archives URLs in WordPress. However, when creating new users in the wordpress admin, those characters are NOT valid. So, wordpress itself is not consistent on what is valid.

This plugin will only accept lower case a-z and 0-9. All other usernames will be rewritten.

The plugin also handles potential username conflicts, so you do not have to worry about dupes in the database after installing this plugin.

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-10-9
Downloads: 276

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.