| @@ -1,14 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * PFBC (PHP Form Builder Class) - Third-party library | |
| 4 | - * @package PFBC | |
| 5 | - */ | |
| 6 | - | |
| 7 | -// phpcs:disable WordPress.Security.EscapeOutput, WordPress.NamingConventions.PrefixAllGlobals, PluginCheck.CodeAnalysis.Heredoc, WordPress.Security.NonceVerification, WordPress.Security.ValidatedSanitizedInput, WordPress.WP.AlternativeFunctions -- Third-party library | |
| 8 | - | |
| 9 | 2 | class 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 __construct($privateKey, $message = "") { |
| 14 | 7 | $this->privateKey = $privateKey; |