Opened 8 years ago
Closed 8 years ago
#43662 closed defect (bug) (duplicate)
No reset password link preset in some providers
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Login and Registration | Keywords: | |
| Focuses: | Cc: |
Description
The password reset email is missing the rest link in some cases. It seems to be because of an inconsistency with email providers with regards to text vs html emails. The fix is below in login.php
$message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
should be
$message .= '(' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ")\r\n";
Note that < >has been replaced with ( )
Cheers
Julius
Attachments (1)
Change History (3)
#1
@
8 years ago
- Keywords needs-patch dev-feedback needs-testing added
Hello Julius123,
A good next step here would be to submit a patch (.diff file) with your changes. There are a variety of methods out there for generating this file. Your can use SVN or GIT. Read more here: https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
login.php