When using Polylang, trying to filter posts by category -for example- results in "Sorry, no data so far" after switching to a non-primary language even though there are posts under said category (see https://wordpress.org/support/topic/no-results-in-secondary-language/ for example.)
Steps to reproduce it
Create posts & translations (and categories) with Polylang.
Try filtering posts by category ID (either the "main" category or its translation).
Output will be "Sorry, no data so far).
Expected behavior
WPP should render a list of posts when filtering by taxonomy.
Screenshots
N/A
Environment
Plugin version: 6.4.1
WordPress version: 6.4.3
PHP version: 8.1
Active plugins: Polylang (latest)
Additional context
Switching languages without filtering by taxonomy works as intended.
Describe the problem
When using Polylang, trying to filter posts by category -for example- results in "Sorry, no data so far" after switching to a non-primary language even though there are posts under said category (see https://wordpress.org/support/topic/no-results-in-secondary-language/ for example.)
Steps to reproduce it
Expected behavior
WPP should render a list of posts when filtering by taxonomy.
Screenshots
N/A
Environment
Additional context
Switching languages without filtering by taxonomy works as intended.