You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wp-graphql#815 - swapping static allowed_post_types and allowed_taxonomies with the get_* functions fixes some funky issues in unit tests, specifically tests that try to register new post types/taxonomies
The static vars:
WPGraphQL::$allowed_post_types
andWPGraphQL::$allowed_taxonomies
are causing some funky issues, specifically in unit tests.Swapping out to use
WPGraphQL::get_allowed_post_types()
andWPGraphQL::get_allowed_taxonomies()
fixes the funkiness.The text was updated successfully, but these errors were encountered: