#48148 closed defect (bug) (duplicate)
Wrong redirect link after logout (wordpress version 5.2.3)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | minor | Version: | 5.2.3 |
| Component: | Login and Registration | Keywords: | |
| Focuses: | administration | Cc: |
Description (last modified by )
Bug logout redirect (wordpress version 5.2.3)
Cause: There is no "/" before "wp-login.php?..." and the user is redirected to "http://wp-login.php/?loggedout=true"
(row 546 wp-login.php)
if ( ! empty( $_REQUEST['redirect_to'] ) ) {
$redirect_to = $requested_redirect_to = $_REQUEST['redirect_to'];
} else {
$redirect_to = 'wp-login.php?loggedout=true';
$requested_redirect_to = '';
}
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @cmagrin, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #47980.