Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore category_name if tax_query is provided. #501

Merged
merged 1 commit into from
May 4, 2016

Conversation

tlovett1
Copy link
Member

@tlovett1 tlovett1 commented May 2, 2016

Let's skip category_name entirely if tax_query has already been provided as a query argument. WP_Query has some quirky backward compat functionality that will fill category_name if the category taxonomy is provided within tax_query which leads to duplicate filters.

@dkotter or @allan23 can you review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant