#48148 closed defect (bug) (duplicate)
Wrong redirect link after logout (wordpress version 5.2.3)
| Reported by: | cmagrin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Login and Registration | Version: | 5.2.3 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: | administration |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @cmagrin, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #47980.