WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#6338 closed defect (bug) (fixed)

Marking comment as spam increments the comment moderation counter

Reported by: markjaquith Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords:
Focuses: Cc:
PR Number:

Description

Marking a comment as spam (async) increments the comment moderation counter. That should only happen if a comment is unapproved.

Attachments (1)

6338.diff (1020 bytes) - added by mdawaffe 12 years ago.

Download all attachments as: .zip

Change History (5)

#1 @markjaquith
12 years ago

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

(In [7459]) Don't increment moderation counter when deleting or marking comments as spam. fixes #6338

#2 @markjaquith
12 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

mdawaffe pointed out that this breaks counter increments when unapproving comments from the "Approved Comments" screen. He's working on a fix.

#3 @mdawaffe
12 years ago

Attached passes event "target" info to the *After wp-lists callbacks.

This information is used to detect what link was clicked when deleting something from the list.

@mdawaffe
12 years ago

#4 @markjaquith
12 years ago

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

(In [7462]) increment comment moderation counter when unapproving comment from approved comments screen. props mdawaffe. fixes #6338

Note: See TracTickets for help on using tickets.