-
Notifications
You must be signed in to change notification settings - Fork 19
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
Languages menu missing after Wordpress 6.1.1 update #38
Comments
Confirming and following up with further details. Basically before WP 6.1.1 I could run a query like this:
.. and I would get all of my menus (English, French, German). That response would look something like this:
Now after updating to WP 6.1.1 the same query above instead gives these results:
The issue being that the non-English menus are no longer returning via GraphQL queries. I've tried instead querying by language like the following, but this does not work before or after 6.1.1:
Before 6.1.1 this (^) query would return all menus and ignore the I'm guessing next steps are reviewing what may have changed in WordPress between WordPress 5.9 and Wordpress 6.1.1 that could've had this cascading effect. Will follow up if I can dig in further on that front. |
In case it is helpful to anyone, our workaround for this issue was to instead use the REST API with a menus extension such that we can query for all menu locations like this: Then, once we know all the menu locations and languages we then query all those combinations in individual queries something like this:
We then aggregate all of those responses. Basically you can query for |
After we updated to Wordpress 6.1.1, we no longer see the menu in other languages. GraphQL IDE does not retrieve the data either. GraphQL Version 1.13.7 and WPGraphQL WPML Version 1.1.0
The text was updated successfully, but these errors were encountered: