WP_Query ignoring tax_query when is_singular
-
I’m trying to set up some post permissions using taxonomies and applying my rules in a pre_get_posts action. It’s working fine when multiple posts are found, but in class-wp-query.php on line 1960, it’s specifically not applying the tax_query rules when is_singular is true. Is there a way around this without modifying core?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP_Query ignoring tax_query when is_singular’ is closed to new replies.