Skip to content

The latest posts blocks show sticky posts on top in the editor but not the front #69424

@carolinan

Description

@carolinan

Description

With current Gutenberg trunk active, the latest posts block shows sticky posts on top of the list of posts in the editors. The sticky posts do not show on top of the list on the front.

On WordPress 6.7.2, without Gutenberg active, the sticky posts are shown in their "non sticky" position in the list of posts.

Step-by-step reproduction instructions

Create a few posts, both sticky and non sticky.
Insert a latest posts block.
Confirm if the result in the editor and front is identical.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Latest PostsAffects the Latest Posts Block[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions