Make WordPress Core

Opened 4 years ago

Closed 6 months ago

#55865 closed defect (bug) (worksforme)

Gutenberg Latest Posts block does not respect conditional logic

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

Description

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 (1)

#1 @karmatosed
6 months ago

  • Keywords close added
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Apologies for the time it has taken to get a response to you. Unless I am mistaken, I am not able to replicate this and what might be the issue is the version of the editor has been updated and this was resolved in that.

However, if you are still experiencing this issue please log this within the github repo here: https://github.com/WordPress/gutenberg or provide more information here and I can do that.

For now, I am going to move this to close due to being unable to replicate this.

Note: See TracTickets for help on using tickets.