#47073 closed defect (bug) (duplicate)
Lost Password generates invalid link in user email
| Reported by: | lcwakeman | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Login and Registration | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
7 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
@
7 years ago
- Milestone Awaiting Review
- Resolution → duplicate
- Severity major → normal
- Status new → closed
- Version 5.0
#5
@
7 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@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?