-
Notifications
You must be signed in to change notification settings - Fork 468
bug: fetching translated posts by uri #2066
Copy link
Copy link
Closed
Labels
close candidateNeeds confirmation before closingNeeds confirmation before closingtype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Milestone
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
close candidateNeeds confirmation before closingNeeds confirmation before closingtype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Type
Projects
Status
✅ Done