#47073 closed defect (bug) (duplicate)
Lost Password generates invalid link in user email
Reported by: | lcwakeman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Login and Registration | Keywords: | |
Focuses: | Cc: |
Description
When a user asks to reset their password, the link generated by wp-login.php is invalid. This is in all releases since at least 5.0 and is in the latest nightly build.
wp-login.php line 390 of latest build is:
$message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
S/B:
$message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n";
Change History (6)
#3
@
5 years ago
In trying to replicate the issue described, everything seems to work for me as expected on WordPress 5.1.1. Does the error give any more information?
Couple other questions:
Is your mail message plain text or HTML?
Are there any plugins ( or theme functions ) that would manipulate the login password reset email?
#4
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Severity changed from major to normal
- Status changed from new to closed
- Version 5.0 deleted
#5
@
5 years ago
Is your mail message plain text or HTML? Plain text
Are there any plugins ( or theme functions ) that would manipulate the login password reset email? That may be a possibility. On the site I am having problems with I am using Login With Ajax. I will do a little more checking and get back.
@lcwakeman Welcome!
Why do you feel the link generated is invalid? That link has been that way for quite a while, can give some more detail about the bug you are seeing?