[wp-trac] [WordPress Trac] #55865: Gutenberg Latest Posts block does not respect conditional logic

WordPress Trac noreply at wordpress.org
Sat May 28 14:09:59 UTC 2022


#55865: Gutenberg Latest Posts block does not respect conditional logic
--------------------------+-----------------------------
 Reporter:  stuga         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  6.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55865>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list