From 9aced25aab9e082135e6555df5077045db164627 Mon Sep 17 00:00:00 2001 From: Robert Anderson Date: Tue, 29 Sep 2020 11:41:48 +1000 Subject: [PATCH] Navigation block: Use unbounded query when requesting top level pages --- packages/block-library/src/navigation/placeholder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/navigation/placeholder.js b/packages/block-library/src/navigation/placeholder.js index 548ffd3a214348..79739656ba9e1d 100644 --- a/packages/block-library/src/navigation/placeholder.js +++ b/packages/block-library/src/navigation/placeholder.js @@ -194,6 +194,7 @@ function NavigationPlaceholder( { onCreate }, ref ) { parent: 0, order: 'asc', orderby: 'id', + per_page: -1, }, ]; const menusParameters = [ { per_page: -1 } ];