Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#2745 closed defect (bug) (fixed)

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

Reported by: lars007's profile Lars007 Owned by: mdawaffe's profile 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 18 years ago.
maybe

Download all attachments as: .zip

Change History (4)

@mdawaffe
18 years ago

maybe

#1 @mdawaffe
18 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
18 years ago

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

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

#3 @(none)
18 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.