Skip to content

Sticky Posts not sticking #38979

@scruffian

Description

@scruffian

Description

In TT2 (and all block themes I tested) when I set a post to "Sticky" it doesn't seem to have any impact on the order that the posts are displayed in.

I first noticed this when investigating a related issue, but it seems to have become more broken since then...

Step-by-step reproduction instructions

  • Switch to a block theme (e.g. TT2)
  • Create a sticky post
  • Look at a template with a query loop in it (e.g. home.html)
  • Confirm that the sticky post isn't at the top.

Screenshots, screen recording, code snippet

Screenshot 2022-02-22 at 10 53 19

Screenshot 2022-02-22 at 10 53 45

Environment info

  • 5.9, trunk, TT2

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

Metadata

Metadata

Assignees

Labels

Needs TestingNeeds further testing to be confirmed.[Block] Query LoopAffects the Query Loop Block

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions