On a single post/page in the comment section I have the option to logout. Within the wp-admin pages I have no problem logging out, but from outside the wp-admin I cannot logout. I get an error message.
The URL is as follows: /wp-login.php?action=logout
Then I get an error message which says to try again.
Well I looked into wp-login.php and on line 313 it tells me:
check_admin_referer('log-out');
And if I check this function in the function reference:
http://codex.wordpress.org/Function_Reference/check_admin_referer
I get the idea that you can only logout from the wp-admin pages, is that true? And if so, should it stay like that?