wp2shell: more than a month later. Confirm 6.8.6, 6.9.5, 7.0.2. Patched is not clean.

Read the advisory

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, WooCommerce customer accounts, etc.), leave registration off. If you do need it, add CAPTCHA / email verification and keep roles restricted.

How to run the test

  1. Open WP Security Ninja → Security Tests.
  2. Run Check if ‘anyone can register’ option is enabled.
  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 test.

Still stuck? Get help or contact us.

Larger screenshot