Community Support Forums — WordPress® ( Users Helping Users ) — 2010-06-23T22:21:48-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=165 2010-06-23T22:21:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=165&p=1143#p1143 <![CDATA[Re: "Do You really want to logout?" page]]>
If you supply a logout link, like this:
This will trigger that screen, because it does NOT include the "_wpnonce" key which verifies logout.
Code:
http://mysite.com/wp-login.php?action=logout


The solution is to generate your logout link, like this:
<?php echo wp_logout_url(); ?>, which will produce something like this:
Code:
http://mysite.com/wp-login.php?action=logout&_wpnonce=9b6fc1ed37

Statistics: Posted by Jason Caldwell — June 23rd, 2010, 10:21 pm


]]>
2010-05-28T12:23:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=165&p=631#p631 <![CDATA["Do You really want to logout?" page]]> Everything works great so far, i was just wondering if there was someway to bypass the "Do You Really Want To Log Out?" page. I would like it to just log out and return to the page the user was on or even the home page. Thanks so much!

Statistics: Posted by mandyfeinstein — May 28th, 2010, 12:23 pm


]]>