Closed szepeviktor closed 4 years ago
$query is not defined in that anonymous function
$query
Closed by #23 — it appears those lines weren't functional. In my tests, the behavior was the same with/without them (even when corrected to $wp_query as in this PR)
$wp_query
$query
is not defined in that anonymous function