Why is the reset password key missing in the reset password email?
The site’s original developer was using the reset_password_message filter and had either done it incorrectly or the core code has changed. The following function now works: function reset_password_message( $message, $key ) { if ( strpos($_POST[‘user_login’], ‘@’) ) { $user_data = get_user_by(’email’, trim($_POST[‘user_login’])); } else { $login = trim($_POST[‘user_login’]); $user_data = get_user_by(‘login’, $login); } $user_login = … Read more