[wp-trac] [WordPress Trac] #55309: Incorrect post comment count after deleting comment with replies

WordPress Trac noreply at wordpress.org
Wed Jun 25 11:24:13 UTC 2025


#55309: Incorrect post comment count after deleting comment with replies
-------------------------+------------------------------
 Reporter:  jwz          |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  5.9.1
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:
-------------------------+------------------------------
Changes (by SirLouen):

 * keywords:  dev-feedback => 2nd-opinion
 * type:  defect (bug) => enhancement


Comment:

 Personally, I think that we should take the same approach as very well
 established places like Reddit:

 In the case of parent deletion, a placeholder comment should appear with
 the text "Deleted" or "Deleted Comment" and the rest of the child non-
 deleted posts should appear afterwards.

 No need to modify the post count, nor trash the child comments.

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


More information about the wp-trac mailing list