Logout (double session issue)
-
Upon logging out you can sometimes get this message on a new page with the title ‘Something went wrong’ and body ‘You are attempting to log out of (WordPress website title). Do you really want to log out?’ where log out is a link.
I am using the “wp_logout_url” to generate the URL:
<a class="button-link" href="'. wp_logout_url('/login/') .'" style="text-decoration:none;">Log Out</a>
The problem can be created merely by an user clicking upon the ‘logout’ link multiple times or having a couple of tabs open.
I’m wondering if it’s possible to disable this warning on standard accounts (while perhaps keeping for admins and editors) or if it’s a matter of preventing multiple clicks (requests to the logout) on the button, etc?
- The topic ‘Logout (double session issue)’ is closed to new replies.