WordPress.org

Plugin Directory

Restrict Usernames

Restrict the usernames that new users may use when registering for your site.

So if I restrict a username from being registered, does that mean that username can't be used at all?

No. The plugin only prevents the usernames visitors can use when registering for an account. An admin that has user creation privileges can still create a user account, from within the admin, using any otherwise valid username. Username restrictions don't apply to admins.

Does this plugin provide any default username restrictions?

No.

= If I specify restricted usernames and a required username substring, must all criteria be matched by potential usernames?

Yes.

What if I define username restrictions that some existing user accounts would violate?

Nothing happens to those accounts. The plugin does not do anything with existing accounts. Existing usernames are not checked against any username restriction rules; that only happens for accounts being newly registered on the front-end.

Does the plugin inform users about restrictions when they are about to register for the site?

No. The next version will likely add a way for you to optionallly specify a message to be displayed to those registering for a user account.

Does the plugin indicate what specific restriction was violated for a failed registration?

No. A generic "ERROR: This username is invalid. Please choose another." is reported.

Does this work with the membership plugin I have running on my site?

Most likely not. Many membership plugins implement their own user registration handling that often bypasses checks (and hooks) performed by WordPress. As such, it is unlikely that the plugin is compatible with them without special plugin-specific amendments.

Is this Multisite compatible?

Yes.

Is this BuddyPress compatible?

Yes, for at least BuddyPress 1.2+ through 2.6+, and perhaps other versions.

Does this plugin include unit tests?

Yes.

Requires: 4.1 or higher
Compatible up to: 4.5.3
Last Updated: 1 month ago
Active Installs: 1,000+

Ratings

3.5 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.

100,1,1
100,1,1 100,3,3
100,1,1
100,1,1
100,1,1
67,3,2
100,1,1
50,2,1
0,2,0 100,1,1
50,2,1
50,2,1
50,2,1
100,1,1
100,1,1
100,1,1
100,2,2