[wp-testers] Logging out from the frontend

Ryan Boren ryan at boren.nu
Sat Nov 1 21:31:07 GMT 2008


On Sat, Nov 1, 2008 at 1:00 PM, Joachim Kahlman <joche at joche.se> wrote:
> Hi,
> Trying to log out from my admin-account from the frontend (i e from the "You
> are logged in as..." in the commentsection. After clicking the Log out,
> referring to wp-login.php?action=logout I get a page saying:
>
> "You are attempting to log out of <site>
> Please try again."
>
> Pressing the Please try again, brings back the single entry page again.
> However logging out from the backend works ok.

Logouts are now protected by a nonce.  Themes can use wp_logout_url()
to get a nonced logout link.


More information about the wp-testers mailing list