‘s’ term in WP_Query extended class causes huge memory leak (268MB)
I’m not sure what convention is with pre_get_posts, but it seems to be for setting additional arguments and not replacing then running the query. Comparing wp_query and my own geo query, I noticed my own had post data in the query object. This may have been what caused the memory leak, but it must have … Read more