[wp-trac] [WordPress Trac] #63999: Ensure block comments are only displayed when requested and not in the comments thread

WordPress Trac noreply at wordpress.org
Thu Sep 18 02:09:24 UTC 2025


#63999: Ensure block comments are only displayed when requested and not in the
comments thread
----------------------------+--------------------
 Reporter:  peterwilsoncc   |      Owner:  (none)
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  6.9
Component:  Comments        |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+--------------------
 Related to the collaborative editing block comments feature,
 [https://github.com/WordPress/gutenberg/issues/66377 GB-66377].

 Block comments are intended to be private. For editorial comments about
 rephrasing their public listing is sub-optimal, for comments about legal
 issues their public listing would be bad.

 `WP_Comment_Query` will need to account for the new private comments
 paradigm to exclude these comments from being displayed in unwanted
 circumstances.

 `WP_Comment_Query( ['type' => ''] )` and `WP_Comment_Query( ['type' =>
 'all'] )` currently return all comment types, this will need to be
 modified to exclude private comment types such as block comments.

 There are a few potential approaches:

 * Introduce comments types with a `publicly_queryable` parameter similar
 to post types and statuses
 * Default `type__not_in` to include `block_comments` by default and
 require it explicitly be removed

 To avoid undue concern for people with editing permissions viewing the
 posts on the front end, the block comments should be hidden in the comment
 thread for both logged in and logged out users.

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


More information about the wp-trac mailing list