🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 19:11:42 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
thedasstores.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Captcha
/
Validator
📍 /home/therahul/thedasstores.com/wp-content/plugins/mailpoet/lib/Captcha/Validator
🔄 Refresh
✏️
Editing: RecaptchaValidator.php
Writable
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Captcha\Validator; if (!defined('ABSPATH')) exit; use MailPoet\Captcha\ReCaptchaValidator as Validator; class RecaptchaValidator { /** @var Validator */ private $validator; public function __construct( Validator $validator ) { $this->validator = $validator; } public function validate(array $data): bool { $token = $data['recaptchaResponseToken'] ?? ''; try { $this->validator->validate($token); } catch (\Exception $e) { throw new ValidationError($e->getMessage()); } return true; } }
💾 Save Changes
❌ Cancel