| @@ -1,14 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * reCAPTCHA v1 Validation (legacy) | |
| 4 | - * @package Contact Forms | |
| 5 | - */ | |
| 6 | - | |
| 7 | -// phpcs:disable WordPress.Security.NonceVerification, WordPress.Security.ValidatedSanitizedInput -- Server-side CAPTCHA validation requires POST data | |
| 8 | - | |
| 9 | 2 | class AccuaForm_Validation_Captcha extends Validation { |
| 10 | - protected $message = "Error: The reCAPTCHA response provided was incorrect. Please retry."; | |
| 3 | + protected $message = "Error: The reCATPCHA response provided was incorrect. Please re-try."; | |
| 11 | 4 | protected $privateKey; |
| 12 | 5 | |
| 13 | 6 | public function isValid($value) { |
| 14 | 7 | require_once(dirname(__FILE__) . "/../../PFBC/Resources/recaptchalib.php"); |