Skip to content

Conversation

@jklue
Copy link

@jklue jklue commented Jan 19, 2022

Checking isset on $_POST['g-recaptcha-response'] always passed for me locally on PHP 8.0.14. Changing to !empty actually failed when recaptcha was unchecked, which is the expected behavior. Don't know if this works for everyone across the board.

Checking isset on $_POST['g-recaptcha-response'] always passed for me locally on PHP 8.0.14. Changing to !empty actually failed when recaptcha was unchecked, which is the expected behavior.
@rowan-m
Copy link
Contributor

rowan-m commented Feb 18, 2023

I've upgraded everything to work on PHP8+ and do not see this behaviour. Can you verify it's still an issue for you?

@rowan-m rowan-m merged commit 2b63aa0 into google:master Jun 26, 2025
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.

2 participants