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:
add_action( 'admin_menu',
static function() {
add_submenu_page(
'graphiql-ide'
'SnapWP',
'SnapWP',
static function() => echo '<div>Hello World</div>',
999
);
}
);
-
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.
Issue
When activating the plugin, other submenus registered to the
graphql-idemenu get stripped out.This is caused by
WPGraphQLIDE\reorder_graphql_submenu_itemsExpected 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_menucallback to a priority of >100so it runs after WPGraphQL IDE bugs out.