Released on:
WPML GraphQL 1.2.0 makes ACF Options Pages language-aware — so now, you can pull the correct translated content from global settings fields.
- ACF Options Pages now respect language in GraphQL queries. If your site uses Advanced Custom Fields and Options Pages, you can now pass a language parameter in your WPGraphQL query and get back the translated values for that language.
- Querying translated content by URI now works as expected. You can now look up translated posts, pages, and custom post types using their URI — covering
postBy(`uri`:),post(`id`:, `idType`: `URI`),pageBy(`uri`:),page(`id`:, `idType`: `URI`),myCustomPostType(`id`:, `idType`: `URI`),myCustomPostTypeBy(`uri`:),nodeByUri(`uri`: ),contentNode(`id`:, `idType`: `URI`). This is useful when your headless frontend routes by URL and needs to fetch the right translation. - WooGraphQL fix: Querying product translations no longer causes a server error.
- A minor security issue was fixed.
Download and Update
You can get this release directly to the WordPress admin or download and install manually. To receive automatic updates, you need to register WPML on your site. Then, visit the Plugins or Updates admin pages. To download manually, visit your wpml.org account and go to Downloads. Follow the installation and upgrade instructions for complete details.
When you update WPML, be sure to update together all the components that you are using. Don’t use a mixture of new and older versions.
Feedback? Need Help?
We love feedback. To make a suggestion, ask a question or give an idea, leave your comment here. If you need technical support and help troubleshooting problems, please use our technical support forum.