WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10944 closed defect (bug) (fixed)

Duplicate comment check should ignore comments in trash

Reported by: scribu Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Trash Keywords: has-patch
Focuses: Cc:

Description

Say you reply to a comment from the admin and then realise that you haven't replied to the right one.

You then send it to trash and attempt to post it again. But you can't, not until you permanently delete the last one.

So that's why I think comments in trash shouldn't be considered when checking for duplicate comments.

Attachments (1)

comment.php.diff (768 bytes) - added by scribu 5 years ago.

Download all attachments as: .zip

Change History (4)

@scribu5 years ago

comment:1 @mrmist5 years ago

+1, although for a complete solution you should consider that trashed comments can be reinstated, and if someone tried to reinstate a trashed comment that would then be a duplicate maybe some warning should appear?

comment:2 @ryan5 years ago

  • Component changed from Comments to Trash

comment:3 @azaozz5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12254]) Ignore trashed comments for duplicate comment check, props scribu, fixes #10944

Note: See TracTickets for help on using tickets.