Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#10944 closed defect (bug) (fixed)

Duplicate comment check should ignore comments in trash

Reported by: scribu's profile 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 14 years ago.

Download all attachments as: .zip

Change History (4)

@scribu
14 years ago

#1 @mrmist
14 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
14 years ago

  • Component changed from Comments to Trash

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