Fix missing argument with AIOWPS
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user