WordPress.org

Make WordPress Core

Opened 6 years ago

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

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

Download all attachments as: .zip

Change History (5)

comment:1 markjaquith6 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

comment:2 markjaquith6 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.

comment:3 mdawaffe6 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.

mdawaffe6 years ago

comment:4 markjaquith6 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.