From bc06abfa0814882f51f9cd39fceb11409bf171d3 Mon Sep 17 00:00:00 2001 From: Himanshu Pathak Date: Wed, 5 Mar 2025 18:25:02 +0530 Subject: [PATCH] Latest Posts: Make Latest Posts block consistent with sticky posts display (#69428) Co-authored-by: himanshupathak95 Co-authored-by: Mamaduka Co-authored-by: carolinan --- packages/block-library/src/latest-posts/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/latest-posts/edit.js b/packages/block-library/src/latest-posts/edit.js index 95c72ea538b0e..3ce6d1491ff45 100644 --- a/packages/block-library/src/latest-posts/edit.js +++ b/packages/block-library/src/latest-posts/edit.js @@ -126,6 +126,7 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { orderby: orderBy, per_page: postsToShow, _embed: 'wp:featuredmedia', + ignore_sticky: true, } ).filter( ( [ , value ] ) => typeof value !== 'undefined' ) );