Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Fixed allowed post type check #83

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Conversation

igoojoe
Copy link
Contributor

@igoojoe igoojoe commented Oct 29, 2019

Ran into a bug when I upgraded to 0.3.0. Looks like $allowed_post_types is null here. Calling the get_allowed_post_types() function instead fixed the issue

@jasonbahl jasonbahl self-assigned this Oct 29, 2019
@jasonbahl jasonbahl added the bug Something isn't working label Oct 29, 2019
@jasonbahl jasonbahl removed their assignment Oct 29, 2019
@jasonbahl
Copy link
Contributor

Good catch. Thanks!

@jasonbahl jasonbahl merged commit bcc8e42 into wp-graphql:master Oct 29, 2019
@igoojoe igoojoe deleted the patch-1 branch October 30, 2019 09:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants