• Resolved csit

    (@calmsmile)


    I hide some block for login user, they work prefectly, but when I create a new page , add a latest post block , and set the block show the post contents, then the hide contents will display on the latest post block page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi csit,

    Thank you for alerting me to this, and I apologize for the trouble! It does appear to be a bug and I will work on diagnosing it today. The Latest Posts block appears to be bypassing the visibility conditions. I will followup once I know more and/or have a solution.

    Best,
    Nick

    Plugin Author Nick Diego

    (@ndiego)

    Hi again csit,

    After some digging, this is a much larger issue with the Latest Posts block when it’s in “Full post” mode. There is a GitHub ticket that is related here: https://github.com/WordPress/gutenberg/issues/28636. I added my research notes a few minutes ago.

    Since this “bug” is not related to Block Visibility itself, I am going to check off this ticket, but I will be working with the Gutenberg team to see if we can expedite a fix for the Latest Post block. It seems like it is causing lots of other problems, especially with dynamic blocks, and would be a good issue to resolve.

    Thank you again for alerting me to this!

    Nick

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is that a bug ?’ is closed to new replies.