Bug: reorder_graphql_submenu_items()
strips out other 3rd-party submenus.
#214
Labels
type: bug
Issue that causes incorrect or unexpected behavior
Issue
When activating the plugin, other submenus registered to the
graphql-ide
menu get stripped out.This is caused by
WPGraphQLIDE\reorder_graphql_submenu_items
Expected Behavior
Other GraphQL submenu items should be preserved.
To test
Register a custom submenu:
Confirm the menu item exists when WPGraphQL IDE is deactivated.
Activate WPGraphQL IDE and watch it disappear
Additional notes.
This can be temporarily worked around by setting the
admin_menu
callback to a priority of >100
so it runs after WPGraphQL IDE bugs out.The text was updated successfully, but these errors were encountered: