When calling wp_query via AJAX and passing a category ID and search parameter, the query does not return any posts. On page load, the query runs fine, which runs the same query. If I add these variables directly in the JS or on the query itself, the query also runs fine… (Budget: $10 – $30 USD, Jobs: AJAX, PHP)
