We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e88fe commit c3e1caaCopy full SHA for c3e1caa
integrations/prosopo-procaptcha/class-procaptcha.php
@@ -219,8 +219,7 @@ protected function is_human_made_request()
219
220
$body = wp_remote_retrieve_body($response);
221
$body = json_decode($body, true);
222
-
223
- $is_verified = $body['verified'] ?? false;
+ $is_verified = is_array($body) && isset($body['verified']) && $body['verified'];
224
225
return true === $is_verified;
226
}
0 commit comments