qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
553
stars
104
forks
source link
Add function to check if a request is a GraphQL call. #1211
Specifically for wp-graphql plugin: https://github.com/wp-graphql/wp-graphql - 3.3k Github stars and 20k active installs.
Add function to check if a request is a GraphQL call, and, if GraphQL call then don't do redirect or set cookies.
Without this change, WPGraphQL does not function correctly. It's default endpoint of /graphql is redirected to /xx/graphql