#22254 closed defect (bug) (wontfix)
"Do you really want to log out" message after already logged out
Reported by: | Ov3rfly | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
- Log into admin area
- Open some page within admin area in a new tab (middle click or "Open link in new tab" or similar)
- Select "Log Out" in menu in one tab
- Normal "You are now logged out." screen appears
- Select "Log Out" in menu in other tab
- The following message appears:
You are attempting to log out of Blogname Do you really want to log out?
The content of this message is wrong as the user is already logged out at this point.
Attachments (2)
Change History (22)
#10
@
12 years ago
A few things:
- I don't think this is the right place for this code. Rather than going in wp_nonce_ays() — where messages for failed nonces get printed — the nonce check should be avoided all together, in wp-login.php's action = logout branch.
- I'm not sure this is necessary at all. The user may be "logged out" by having the logged_in cookie drop, but they may still have admin cookies and it would be good for those to be removed. By providing an extra step, we can ensure that they have an opportunity to explicitly log out and remove all cookies.
- For more, see #14949, which covers the logging-in-when-already-logged-in problem. This is just the reverse — logging out when already logged out.
#15
@
10 years ago
- Keywords has-patch removed
- Resolution set to worksforme
- Status changed from new to closed
This ticket was mentioned in Slack in #core by liamhogan. View the logs.
10 years ago
This ticket was mentioned in Slack in #core by andrewgtibbetts. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
send logged out user straight to login form