Make WordPress Core

Opened 6 years ago

Closed 6 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:


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 6 years ago.

Download all attachments as: .zip

Change History (4)

6 years ago

#1 @mrmist
6 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?

#2 @ryan
6 years ago

  • Component changed from Comments to Trash

#3 @azaozz
6 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.