diff --git a/packages/block-library/src/navigation/use-navigation-menu.js b/packages/block-library/src/navigation/use-navigation-menu.js index 607a92cb82f95..a9c918ca36add 100644 --- a/packages/block-library/src/navigation/use-navigation-menu.js +++ b/packages/block-library/src/navigation/use-navigation-menu.js @@ -71,8 +71,9 @@ function selectNavigationMenus( select ) { const args = [ 'postType', 'wp_navigation', - { per_page: -1, status: [ 'publish', 'draft' ] }, + { per_page: -1, status: 'publish,draft' }, ]; + return { navigationMenus: getEntityRecords( ...args ), isResolvingNavigationMenus: isResolving( 'getEntityRecords', args ),