#14964 closed defect (bug) (fixed)
Error while trying to empty spam comments
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | 3.1 |
| Severity: | major | Keywords: | |
| 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.
(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