wp-graphql
wp-graphql copied to clipboard
:rocket: GraphQL API for WordPress
When using the path to a media item in a `nodeByUri` query, I get a `null` response. This isn't happening on every environment I've tested, so it might be permalink...
When querying for page/post preview data with `asPreview` set to `true` and the `idType` is of type `URI`, preview data is not returned as expected. Take the following query: ```...
I'm seeing an issue with Polylang and trying to fetch content by uri. https://github.com/valu-digital/wp-graphql-polylang/issues/57 it's already been reported on the polylang repo but it may be a core issue. If...
Really strange and specific issue here... thought it might be downstream to `wp-graphql-woocommerce` and [wp-grapql/wp-graphql-woocommerce#491](https://github.com/wp-graphql/wp-graphql-woocommerce/issues/491), but it's present even without the downstream plugin enabled. Steps to replicate: 1. Fresh wordpress...
I have registered a custom post type. So when I query a page that has same slug/uri as the custom post type, I receive the custom post type instead. I...
**Problem** When a page has a path such as `my-page/#some-anchor-link`, many clients will pass that as the id for a `nodeByUri` query. While we could argue that the client should...
## Expected behavior When querying a single page by `URI` and the provided `URI` does not exist, no error is thrown, and the returned data is null. ## Actual behavior...
This is a tracker for all the issues relating to improving the experience of using mutations. ## Proposed Work The most of this can be solved holistically is through a...
## Problem Upgrading `WPBrowser` from `3.1.0` to `3.1.1+` causes [`tests/wpunit/UserObjectMutationsTest.php:testSendPasswordResetEmailSentWithUsername`](https://github.com/wp-graphql/wp-graphql/blob/18838ea8779e204ff87b9a1b50bf12f6689193fd/tests/wpunit/UserObjectMutationsTest.php#L1058) and [`tests/wpunit/UserObjectMutationsTest.php:testSendPasswordResetEmailSentWithEmail`](https://github.com/wp-graphql/wp-graphql/blob/18838ea8779e204ff87b9a1b50bf12f6689193fd/tests/wpunit/UserObjectMutationsTest.php#L1069) to fail. Assumingly this is caused by the following WPBrowser changelog item in [v3.1.1](https://github.com/lucatume/wp-browser/releases/tag/3.1.1): `in the context of...
Currently users need to click the "preview" button in the WordPress admin to generate a preview of a post (of any public post_type). As a client developer, I would like...