[wp-trac] [WordPress Trac] #44912: Custom comment types display enhancement

WordPress Trac noreply at wordpress.org
Fri Sep 7 11:41:29 UTC 2018


#44912: Custom comment types display enhancement
--------------------------+-----------------------------
 Reporter:  bor0          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:  dev-feedback
  Focuses:                |
--------------------------+-----------------------------
 Recently we've had an issue with Gutenberg's Latest Comments block, but we
 thought this goes further to how WordPress core handles comments.

 WooCommerce adds order notes (custom comment type `order_note`) and uses
 the filter `comments_clauses` to exclude these comments. In this case, the
 Latest Comments block does not display them. But as soon as the
 WooCommerce plugin is deactivated, the comments will start appear.

 Not sure what the best solution here would be, nor whether it should be
 handled on Gutenberg/core side, but looking forward to your opinions.

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


More information about the wp-trac mailing list