Hi there, I really would like to get rid of the log out confirmation ‘Do you really want to log out? which sometimes pop up.
I guess it is a WP thing, and I have read topics with code you can copy to get rid of the confirmation. But I do not want all sorts of code snippets added to my files, is there a better way to avoid this message, I was thinking this as part of BuddyDev Logout Redirect?
Thank you for posting.
I do not think it to be related to BuddyDev Logout Redirect. It happens due to expired logout nonce.
It may happen in 2 cases.
1. Nonce expiration due to inactivity. Say you have been inactive for a long time and the nonce somehow got expired for the logout link(it’s rare) and then you tried to click the link.
2. Expiration due to logout/login. You logged out in another tab of same browser and tried to log out again or your logged out/logged in again and then used the link from another tab which was from earlier session.
If it is a regular issue, Please try disabling Logout redirect and see if that works.
Hi Brajesh, oh, I have to make my self clear then, the issue is not related to Logout Redirect at all.
My point was to find a way to get rid of the message, maybe encourage to build in this option in e.g. Logout Redirect, as it’s an annoyance for many site owners.
I mean it is not a big deal to be logged out, as a user, so this message is redundant, it is one of those annoyances, having to answer all sorts of questions, do you want to do this or that, before you can logout.
Besides that, the “Do you really want to log out?” is not styled or centered at all, and looks terrible, nobody has apperantly been thinking of styling this pop up message.
It might be a small thing, but it is one of those things you do not want your users to relate to, technicalities.
The topic ‘ [Resolved] How to log out without confirmation 'Do you really want to log out?’ is closed to new replies.