Skip to content
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

fix(response headers): replace single header instead of overwriting them all #118

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

tsmith-rv
Copy link
Contributor

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

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
@rodrigo-arias
Copy link

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?

@matthijs166
Copy link

We have the same issues this plugin is breaking some of our REST API apps

@kpoelhekke
Copy link

Would love to see this merged, currently Woocommerce Analytics is partly broken because of this. 👀

@tsmith-rv
Copy link
Contributor Author

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.

@jasonbahl
Copy link
Collaborator

@tsmith-rv 🥳

@jasonbahl jasonbahl merged commit cf86790 into wp-graphql:develop Oct 25, 2022
@jasonbahl
Copy link
Collaborator

Released: https://github.com/wp-graphql/wp-graphql-jwt-authentication/releases/tag/v0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants