bug: fetching translated posts by uri #2066
Labels
close candidate
Needs confirmation before closing
type: bug
Issue that causes incorrect or unexpected behavior
Milestone
I'm seeing an issue with Polylang and trying to fetch content by uri. valu-digital/wp-graphql-polylang#57 it's already been reported on the polylang repo but it may be a core issue. If I have 3 pages with the slug "about" but each in a different language, then only the english one is returned (english being the default language). I'm guessing this is a corner case that wasn't considered. Polylang uses the post_link hook to modify urls for rendering.
Can we confirm whether this is a polylang or graphql issue?
Versions
WordPress - 5.8
WPGraphQL - 1.62
Polylang Pro - 3.1-rc1
Polylang WPGraphQL - 0.5.0
The text was updated successfully, but these errors were encountered: