#48017 closed defect (bug) (duplicate)
Redirect after Get New Password button is used
Reported by: | wentloc | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2.3 |
Component: | Login and Registration | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
We found an instance, whether it was new or after the update to 5.2.3, that when a user clicks the Get New Password button in the lostpassword screen, that the user is redirected to https://wp-login.php/?checkemail=confirm. The email still comes in to the user, but is navigated away from the site. As a note, this is on a windows hosting (just because it makes it interesting sometimes). I modified line 568 of wp-login.php to
$redirect_to = ! empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : site_url() . '/wp-login.php?checkemail=confirm';
I simply included the site_url() function and a forward slash.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Thanks for the ticket @wentloc! We're tracking this issue in #47980.