WordPress 7.1.2: critical core security fix. Update now, then check inactive themes and comments.

Details

Security tests

Anyone can register option

How the Security Ninja registration test works and how to disable public registration in WordPress.

This test checks whether Settings → General → Anyone can register is enabled. Open registration can attract spam accounts and unwanted users.

Why it matters

If you do not need public signups (membership sites, WooCommerce customer accounts, and similar), leave registration off. If you do need it, add CAPTCHA or email verification and keep default roles restricted.

How to run the test

  1. Open Security Ninja and run the security tests.
  2. Find the result for the “anyone can register” check.
  3. If it fails and you do not need open registration, disable it as below.

Disable public registration

  1. Go to Settings → General.
  2. Under Membership, uncheck Anyone can register.
  3. Click Save Changes.
  4. Re-run the security tests.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image