-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Block] Query LoopAffects the Query Loop BlockAffects the Query Loop Block[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
The Query Block does not display private posts. The public view does show all posts, including private ones, but the editor view only displays published posts:
Step-by-step reproduction instructions
- Create two posts: One public, one private
- Edit the Homepage template in the Site Editor.
- Add a query loop
- Notice how the private post does not show
- Save and visit the public view: The private post is listed there,
Screenshots, screen recording, code snippet
Additional Screenshots using the TT1 Blocks theme.
Editor view:
Public view:
Environment info
- WordPress 5.9
- Gutenberg 12.5.4
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
[Block] Query LoopAffects the Query Loop BlockAffects the Query Loop Block[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.A suggestion for improvement.