The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
1k views

I keep getting logged out in Firefox

For some reason, tonight when I have gone to work on my Wordpress installation I firstly found myself logged out, even though there was a few cookies left in Firefox relating to the website and when ...
3
votes
3answers
2k views

Logout redirect to current page - function

I'm looking for a function that can redirect users when they logout to the current page. I'm looking for a code I can use in functions.php?
4
votes
1answer
1k views

handling login/logout redirects

I have a couple issues with the way Wordpress handles redirects on login and logout. Standard behaviour is: login: /wp-login.php (with no redirect_to url) -> /wp-admin.php logout: /wp-admin.php ...
0
votes
2answers
1k views

Ajax function returns -1

I have a question. I made a simply ajax function. When I'm logged in, it works perfectly. When I'm logged out, it returns me -1 (since Wordpress 3.1) Why ? I don't understand. Precisely, it returns ...
2
votes
2answers
1k views

wp_nav_menu log in/out link?

I have a wp_nav_menu showing pages, but I'd also like to include a log in/out link, based on the current state of the user, which will redirect them to the home page. I've looked far and wide, but ...
2
votes
1answer
915 views

WordPress failure when logging out

I have came across the WordPress logout error several times but I really never figured out the cause of it. In earlier days, it was generally that I was missing a nonce but now even with logout link ...
2
votes
1answer
2k views

wp_logout Not Logging Me Out

Here is what I'm doing: wp_logout(); var_dump(is_user_logged_in()); var_dump returns: bool(true) Why is wp_logout() not logging me out?