Revisions are not returned #2957
Answered
by
rodrigo-arias
joebailey26
asked this question in
Q&A
-
I can see post revisions in the database and on the page in WordPress, but they are not returned in WP GraphQL using the example in the docs.
Returns:
I'm on v1.16.0. |
Beta Was this translation helpful? Give feedback.
Answered by
rodrigo-arias
Feb 2, 2024
Replies: 1 comment 4 replies
-
@joebailey26 This has been resolved in WPGraphQL v1.18 with #2937 so the two queries below should return the same.
Side note: Make sure the requests are authenticated to get the expected result. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@joebailey26 Make sure your requests are authenticated as WPGraphQL follows the same rules as WordPress in terms of roles and permission.
You can do it from GraphiQL with the following toggle