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

Fix language comparison in tax query #1092

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

Chouby
Copy link
Contributor

@Chouby Chouby commented Aug 15, 2022

In PLL_Canonical::get_queried_term_id() we suppose that the language tax query is made by term_id or by slug.
However, in #1068, we add a language tax query by term taxonomy id, even in the main query that we are checking here. This caused get_queried_term_id() to fail to detect shared slugs.

@Chouby Chouby added this to the 3.3 milestone Aug 15, 2022
@Chouby Chouby removed this from the 3.3 milestone Oct 4, 2022
@Hug0-Drelon Hug0-Drelon removed their request for review August 17, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant