Query is never reset on index.php
I’ve noticed that when posts are displayed using
index.phpthat the query is not reset at the end (even if I add
Ordinarily, not a problem, but when users log out of my site a filter is used to determine where to send them. Because of this, people who log out from the index page are being sent to the URL of the bottom article on the page.
To fix this I’ve added this condition to the function that the
logout_urlfilter uses, but I feel that it’s not really somthing that should need to be done –
if(is_home() || is_front_page()) : $redirect = get_bloginfo('home'); endif;
Is this a WP bug, does anybody know? Or is there somthing that I am missing?
- The topic ‘Query is never reset on index.php’ is closed to new replies.