Query not resetting if no posts found
-
In post-grid-hook.php these lines are called at 410-411:
wp_reset_query(); wp_reset_postdata();
However, they were within the if block checking if any posts are returned. If no posts are returned, the query and postdata are not reset, but they should be.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Query not resetting if no posts found’ is closed to new replies.