Disable User Registration

Stops bots from registering accounts when Anyone can register is unchecked in Dashboard > Settings > General > Membership.

Author:Andrei Gheorghiu (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:4.7.25
Plugin version:1.0.1
Added to WordPress repository:07-01-2017
Last updated:07-01-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:74
Rated by:3
Plugin URI:http://websiter.ro
Total downloads:5 333
Active installs:900+
plugin download
Click to start download

Un-checking “Anyone can register” in Settings only hides the sign-up link from login page, it doesn’t disable user registration and bots can continue to create users programatically.

This plugin stops them. Activate it, uncheck “Anyone can register” and the only way to add new users will be from Dashboard, being logged in with an account having the create_users capability, by going to Users > Add new.

Very Important Notice

If you managed to lock yourself out of the admin area and are trying to create a new user with administrator role by uploading and executing a php file on your server, this plugin will effectively block the attempt. You will need to rename or delete the folder of this plugin (in order to deactivate it) to be able to add users from scripts without being logged in into an account having the create_users capability.

Uninstall

  1. Deactivate from Plugins list in WordPress Dashboard…
  2. …or rename/delete plugin folder (wp-content/plugins/disable-user-registration)