From d04eb1a5ba33a1965560a5293474560d5ae7e315 Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Wed, 15 Jul 2026 10:21:15 -0500 Subject: [PATCH] Fix missing argument with AIOWPS --- inc/location/class-lost-password-form.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/inc/location/class-lost-password-form.php b/inc/location/class-lost-password-form.php index 5d5e54b..ffed418 100644 --- a/inc/location/class-lost-password-form.php +++ b/inc/location/class-lost-password-form.php @@ -4,7 +4,7 @@ * @author cleverogre * @copyright 2026 CleverOgre * @license GLP-3.0-or-later - * @version 1.2.4 + * @version 1.2.6 * @since 1.0.0 */ @@ -14,7 +14,6 @@ use Override; use Ogre\Captcha\LoginLocation; use Ogre\Captcha\Settings; use WP_Error; -use WP_User; defined('ABSPATH') || exit; @@ -35,10 +34,10 @@ final class LostPasswordForm extends LoginLocation { { parent::activate(); add_action('lostpassword_form', [$this, 'render']); - add_action('lostpassword_post', [$this, 'process_form'], 10, 2); + add_action('lostpassword_post', [$this, 'process_form'], 10, 1); } - public function process_form(WP_Error $errors, WP_User|bool $user_data):void { + public function process_form(WP_Error $errors):void { $this->process($errors); }