[wp-trac] [WordPress Trac] #17928: When a comment is spammed/trashed, change the parent of it's children
WordPress Trac
noreply at wordpress.org
Fri Sep 11 01:41:37 UTC 2015
#17928: When a comment is spammed/trashed, change the parent of it's children
--------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Comments | Version: 3.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by rachelbaker):
Replying to [comment:21 knutsp]:
> When comment is marked as spam or deleted, the user should get the
option to set the comment status to `placeholder` (a new status). Such
comments should be displayed with a default text ("This comment was
deleted by a moderator") in replacement for the actual comment content.
>
> If this choice is not selected, all replies down the thread should be
trashed, or (better) set to to `inherited` (new status). The inherited
status must then also be handled properly by examining the parent
comment(s). The `inherited` status makes it possible to either unspam or
untrash the parent comment, reviving the thread.
In addition to introducing two new comment "statuses", comments themselves
don't have a status (there is only comment_approved).
I don't have an alternative idea that is a lighter lift, but I wonder if
there is another way.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17928#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list