Minor bug fixes #8

Merged
ogrecooper merged 3 commits from minor-bug-fixes into main 2026-06-18 17:33:52 +00:00
Showing only changes of commit 20b812e91b - Show all commits
+2 -2
View File
@@ -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 {