From 20b812e91b1ddb5ed070670f4893125d97e8f4eb Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Thu, 18 Jun 2026 12:32:56 -0500 Subject: [PATCH] Fix lost password callback --- inc/location/class-lost-password-form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/location/class-lost-password-form.php b/inc/location/class-lost-password-form.php index bdebeb8..a7a7da6 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.0 + * @version 1.2.3 * @since 1.0.0 */ @@ -35,7 +35,7 @@ final class LostPasswordForm extends LoginLocation { { parent::activate(); add_action('lostpassword_form', [$this, 'render']); - add_action('lostpassword_post', [$this, 'process_form']); + add_action('lostpassword_post', [$this, 'process_form'], 10, 2); } public function process_form(WP_Error $errors, WP_User|bool $user_data):void {