Skip to content

Commit 7cc41da

Browse files
committed
Fixed wrong form response message.
1 parent 781eca2 commit 7cc41da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

includes/smartphoniker-util.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ function validate_nonce() {
8888
function validate_recaptcha() {
8989
// request recaptcha validation from Google
9090
$response = request_recaptcha_validation();
91-
wp_send_json_success( json_encode($response) );
9291
// evaluate response
9392
return $response->success && $response->score >= 0.5;
9493
}

0 commit comments

Comments
 (0)