[wp-trac] [WordPress Trac] #65389: Block Visibility: Keep hide-everywhere working after a block opts out of visibility support

WordPress Trac noreply at wordpress.org
Fri Jun 5 12:49:06 UTC 2026


#65389: Block Visibility: Keep hide-everywhere working after a block opts out of
visibility support
-------------------------------------------------+-------------------------
 Reporter:  wildworks                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  7.0.1
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by tusharaddweb):

 Tested with an existing post containing a Shortcode/HTML block that had
 metadata.blockVisibility = true set before the visibility support was
 removed.

 After applying the patch, the block remained hidden on the frontend as
 expected. Without the patch, the content became visible. The fix addresses
 the backward-compatibility issue described in the ticket.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65389#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list