#3823 closed defect (bug) (fixed)
Using Locale Switcher on Logout Page redirects to Profile page
Reported by: | garrett-eclipse | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Login & Authentication | Keywords: | |
Cc: |
Description
Hello,
While writing #3821 I noticed that using the Locale Switcher on the Logout page redirects you to your profile page.
To reproduce;
- Make sure you're logged in.
- From this Trac ticket click Logout at the top of the page.
- From the https://login.wordpress.org/logout page use the Locale Switcher to select an alternate language
- Note that you've been redirected to your profile.
Now if the result of #3821 is to remove the logout and loggedout pages from the flow and instead logout and reload current page then users won't be able to get to the logout page so this issue is moot.... But if the logout page will continue to exist moving forward then this would be an issue.
I believe what happens is when the Locale Switcher is invoked the user is taken from the logout page to the login page with the locale appended. And since the login page has logic detecting if a user is logged in and redirecting to their profile then this occurs.
Thanks
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Logout Page w/ Locale Switcher