Revisions are not returned #2957
-
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.
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.
@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