Skip to content

Commit

Permalink
Latest Posts: Make Latest Posts block consistent with sticky posts di…
Browse files Browse the repository at this point in the history
…splay (#69428)

Co-authored-by: himanshupathak95 <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: carolinan <[email protected]>
  • Loading branch information
4 people authored and gutenbergplugin committed Mar 5, 2025
1 parent 490ada0 commit bc06abf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/latest-posts/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' )
);

Expand Down

0 comments on commit bc06abf

Please sign in to comment.