[wp-trac] [WordPress Trac] #47995: WP 5.2.3 on W10 Logout Not returning to Login Page
WordPress Trac
noreply at wordpress.org
Sat Sep 7 01:02:03 UTC 2019
#47995: WP 5.2.3 on W10 Logout Not returning to Login Page
--------------------------+-----------------------------
Reporter: tezzerfx | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.2.3
Severity: major | Keywords:
Focuses: |
--------------------------+-----------------------------
On a windows system the “dirname” can result in “\” a backwards slash.
In wp-includes/pluggable.php the code on line 1404 :
$location = ‘/’ . ltrim( $path . ‘/’, ‘/’ ) . $location;
dose not take this in to account, and causes the logout to hang until a
timeout occurs.
IMHO it should be as follows:
$location = ‘/’ . ltrim( $path . ‘/’, ‘/!\\’ ) . $location;
PLEASE FIX…
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47995>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list