Make WordPress Core

Opened 2 years ago

#55865 new defect (bug)

Gutenberg Latest Posts block does not respect conditional logic

Reported by: stuga's profile stuga Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0
Component: Widgets Keywords:
Focuses: Cc:


I have a post containing conditional logic to display blocks (I've tried "Conditional Blocks" and "WP Groups"). Using the Post viewer, the post displays correctly, with different blocks showing for logged in and logged out users.

However, if I have a page with the "Latest Posts widget, the page shows ALL BLOCKS for both logged in and logged out users.

If I then click the Post Title to see the post by itself, the Post Viewer correctly shows just yhe intended blocks.

Latest Posts should work the same way as the single post viewer.

Change History (0)

Note: See TracTickets for help on using tickets.