WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#2745 closed defect (bug) (fixed)

options-discussion.php?action=retrospam produces php-warning

Reported by: Lars007 Owned by: mdawaffe
Milestone: Priority: low
Severity: normal Version: 2.0.2
Component: Administration Keywords: classes.php foreach() has-patch commit
Focuses: Cc:

Description

My options-discussion.php?action=retrospam produces the following php-warning:

Warning: Invalid argument supplied for foreach() in /home/www/web45/html/wp-includes/classes.php on line 822

I don't know whether this just appears or also affects the result of the checking routine.

Attachments (1)

2745.diff (859 bytes) - added by mdawaffe 8 years ago.
maybe

Download all attachments as: .zip

Change History (4)

@mdawaffe8 years ago

maybe

comment:1 @mdawaffe8 years ago

  • Keywords has-patch commit added
  • Milestone set to 2.0.5
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

The attached might fix the problem. The only issue I saw could only be generated by running the retrospam utility when there are no comments in the DB.

Non-issue in trunk; retrospam is no more.

comment:2 @markjaquith8 years ago

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

(In [4328]) cast to array in retrospaminator. Props mdawaffe. fixes #2745

comment:3 @anonymous8 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.