wp_logout_url isn't utilizing redirect_to as it should or is trying to
In the core code I looked how wp_logout_url was being used in various places
one of them is: wp_logout_url(get_permalink());
So trying that out I do this:
<li><a href="<?php echo wp_logout_url(get_permalink()); ?>"><?php
_e('Logout','easel'); ?></a></li>
The problem is that it's not actually redirecting back, here's the permalink
url it actually gives:
http://comicpress.net/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fcomicpress.net%2F2011%2Fnews%2Fcomicpress-manager%2F&_wpnonce=feb153de6f
while this is showing the &redirect_to it's not actually redirecting to
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers