headstartwp
headstartwp copied to clipboard
Menu item ID is not necessarily a number
https://github.com/10up/headstartwp/blob/77764a99717598373177dd6c98df0c9d050a17d9/packages/core/src/react/hooks/useFetchMenu.ts#L21
When using polylang, the menu item ID could contain the id-LANG
, causing errors during the Number cast.
In example: