Fix lost password callback
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user