From 937c7b6f3879cb5cf24a6e6705317764989486b8 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Tue, 23 Aug 2022 10:27:34 +0400 Subject: [PATCH] Post Terms: Use unbound query in the usePostTerms hook --- packages/block-library/src/post-terms/use-post-terms.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/post-terms/use-post-terms.js b/packages/block-library/src/post-terms/use-post-terms.js index 10fdb3ecfea55..c5477703cfb7d 100644 --- a/packages/block-library/src/post-terms/use-post-terms.js +++ b/packages/block-library/src/post-terms/use-post-terms.js @@ -30,6 +30,7 @@ export default function usePostTerms( { postId, postType, term } ) { slug, { include: termIds, + per_page: -1, context: 'view', }, ];