Closed jameskoster closed 1 week ago
@jameskoster does this occur with 6.1 beta 1? Wondering if we need to add it to the project board.
does this occur with 6.1 beta 1?
Yup, same experience on 6.1 beta 1.
Was this ever working before? A quick test shows it doesn't work in 6.0.2.
I'd never checked until now, so I don't know. I'm surprised it never came up 🤔
I think this is a Core REST API issue.
The current solution for sticky posts is to not give them special treatment by default, but to provide a ?sticky= parameter to explicitly exclude them or to return only stickies, added in https://github.com/WP-API/WP-API/pull/2708.
Source: https://github.com/WP-API/WP-API/issues/2764
Trac ticket: https://core.trac.wordpress.org/ticket/35907
Removing this issue from the 6.1 dashboard.
I can't replicate the issue, using latest version up to today.
@AllTerrainDeveloper are you looking in the front end? This issue is only reproducible within the Query block in the site editor.
Oops! You are right, I didn't test it in the proper way!
I think this is a Core REST API issue.
@Mamaduka is there a path forward for this? There are a few efforts to clean up the Query Loop block and this is one that sticks out as a missed expectation when using sticky posts.
@richtabor, there's been no updates for the REST API issue, which is the current blocker here.
Should we close this one as is a core issue and tracked here: https://core.trac.wordpress.org/ticket/35907?
@ntsekouras, yes. I think we can close the issue here. It's not actionable on the editor side and needs a REST API fix.
Description
Here's my home page on the frontend:
Note the sticky post. It doesn't appear in the Query loop in the Site Editor:
Step-by-step reproduction instructions
Expected behaviour
I expected the sticky post to appear.