• Resolved mooberrydreams

    (@mooberrydreams)


    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.

    • This topic was modified 1 year, 8 months ago by mooberrydreams. Reason: typos
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.