Skip to content

reCAPTCHA & Turnstile refactor/improvements. - #3493

Draft
andrewlimaza wants to merge 13 commits into
strangerstudios:devfrom
andrewlimaza:captcha-pitch
Draft

reCAPTCHA & Turnstile refactor/improvements.#3493
andrewlimaza wants to merge 13 commits into
strangerstudios:devfrom
andrewlimaza:captcha-pitch

Conversation

@andrewlimaza

@andrewlimaza andrewlimaza commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

Improvements to CAPTCHA placement for reCAPTCHA and CloudFlare Turnstile:

  • Reworked settings page to choose between captchas, instead of being able to use both at the same time.
  • Implemented captchas to load on the default wp-login.php and PMPro's frontend login forms. The captcha will only show after a single failed login attempt - this helps prevent site owners from getting locked out if incorrect keys are used or keys do not match domains (and any other failure to load the captchas).
  • Added new generic 'track failed login attempt' to trigger the above captcha to load, and clears up after successful actions are made.

This sets the foundation for us to create more integrations into other captchas or custom validation practices needed.

Example of new settings UI update
Screenshot 2025-10-01 at 12 58 45

Examples of frontend login captcha V2 (for demonstrative purposes)

Screenshot 2025-10-01 at 13 06 08 Screenshot 2025-10-01 at 13 06 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant