[wp-trac] [WordPress Trac] #46186: The Password reset email produces errors

WordPress Trac noreply at wordpress.org
Tue Feb 5 06:22:13 UTC 2019


#46186: The Password reset email produces errors
--------------------------+-----------------------------
 Reporter:  pepwave1      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  major         |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 hello.
 The password reset email produces errors on Safari and Chrome.
 I am using WordPress 5.0.3 as part of a multi-site install.
 It's a simple fix on line 369 by adding a space in front of the > so that
 the line reads:

         $message .= '<' . network_site_url( "wp-
 login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ),
 'login' ) . " >\r\n";

 What happens, otherwise, is that the > is added to the URL and that
 produces an error on the password reset page.

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


More information about the wp-trac mailing list