Ready to get started?Download WordPress


[Plugin: Theme My Login] Logging Out (3 posts)

  1. Bev
    Posted 5 years ago #

    First, thanks very much for this plugin, it was just what I needed.

    I did have an issue with logging out. I downloaded version 2.1 and found that when I tried to log out I got the dreaded "Are you sure you want to do that?" screen. After poking around for a while I found that I had to edit out the check_admin_referer('log-out') code. I think the log-out nonce was introduced in WordPress 2.7 rather than 2.6.

  2. Jeff Farthing
    Posted 5 years ago #

    That's weird because I tested on WP 2.5 and it worked fine.

  3. Bev
    Posted 5 years ago #

    The code only calls check_admin_referer if the version is 2.6 or over. I suspect it should be 2.7 or over, although I don't know where to look to confirm the first version that uses a log-out nonce.

Topic Closed

This topic has been closed to new replies.

About this Topic