Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14964 closed defect (bug) (fixed)

Error while trying to empty spam comments

Reported by: wahgnube's profile wahgnube Owned by: scribu's profile scribu
Milestone: 3.1 Priority: normal
Severity: major Version: 3.1
Component: General Keywords:
Focuses: Cc:

Description

When I try to "Empty Spam" comments in /wp-admin/edit-comments.php?comment_status=spam, I receive the following error.

Warning: Invalid argument supplied for foreach() in /blog/wp-admin/edit-comments.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /blog/wp-admin/edit-comments.php:37) in /blog/wp-includes/pluggable.php on line 890

I believe the error started occurring after changeset 15642: http://core.trac.wordpress.org/changeset/15642 . I am however able to delete spam messages individually.

Change History (2)

#1 @dd32
14 years ago

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

(In [15666]) Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964

#2 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.1
Note: See TracTickets for help on using tickets.