[wp-trac] [WordPress Trac] #48148: Wrong redirect link after logout (wordpress version 5.2.3)
WordPress Trac
noreply at wordpress.org
Thu Sep 26 09:36:21 UTC 2019
#48148: Wrong redirect link after logout (wordpress version 5.2.3)
------------------------------------+-----------------------------
Reporter: cmagrin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 5.2.3
Severity: minor | Keywords: needs-patch
Focuses: administration |
------------------------------------+-----------------------------
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 = '';
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48148>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list