Fix parameter count on hook

This commit is contained in:
Cooper Dalrymple
2026-08-26 17:27:07 -05:00
parent f06d449065
commit 958376cafd
2 changed files with 2 additions and 2 deletions
@@ -37,7 +37,7 @@ final class LostPassword extends Location {
add_action('woocommerce_lostpassword_form', [$this, 'render']);
add_action('woocommerce_after_lost_password_form', [$this, 'footer']);
if (isset($_POST['woocommerce-lost-password-nonce'])) {
add_action('lostpassword_post', [$this, 'process_form']);
add_action('lostpassword_post', [$this, 'process_form'], 10, 2);
}
}