Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 9 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:


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

Download all attachments as: .zip

Change History (4)

9 years ago


#1 @mdawaffe
9 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.

#2 @markjaquith
9 years ago

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

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

#3 @anonymous
9 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.