wp-graphql-jwt-authentication
wp-graphql-jwt-authentication copied to clipboard
fix(response headers): replace single header instead of overwriting them all
updated to call the 'header' instead of 'set_headers' method when writing response headers to avoid overwriting all the headers such as X-WP-Total and X-WP-TotalPages which are necessary for different plugins and pieces of Wordpress to work properly
Hi @jasonbahl this fixes some issues for me and from what I see for other folks, do you think you can merge it or do you see any side effects?
We have the same issues this plugin is breaking some of our REST API apps
Would love to see this merged, currently Woocommerce Analytics is partly broken because of this. 👀
Coming up on the 2 year anniversary of when I opened this PR — not quite sure how I'll celebrate yet. I'm pretty low key, but it never hurts to go all out every once in a while.
@tsmith-rv 🥳
Released: https://github.com/wp-graphql/wp-graphql-jwt-authentication/releases/tag/v0.6.0