PluginProbe
Contact Forms by Cimatti / 1.9.2
Contact Forms by Cimatti v1.9.2
2.3.6 2.3.5 2.3.0 2.2.32 2.2.4 2.2.0 2.1.2 2.1.1 trunk 1.0 1.1 1.2 1.2.1 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 All 62 releases
← All changes | classes/Validation/Captcha.php +1 -8 2.2.01.9.2 View file →
@@ -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");