[wp-trac] [WordPress Trac] #43662: No reset password link preset in some providers

WordPress Trac noreply at wordpress.org
Thu Mar 29 20:04:32 UTC 2018


#43662: No reset password link preset in some providers
------------------------------------+-----------------------------
 Reporter:  Julius123               |      Owner:
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:
 Severity:  normal                  |   Keywords:
  Focuses:                          |
------------------------------------+-----------------------------
 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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43662>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list