Ticket #2745 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 5 years ago

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

Reported by: Lars007 Owned by: mdawaffe
Priority: low Milestone:
Component: Administration Version: 2.0.2
Severity: normal Keywords: classes.php foreach() has-patch commit
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

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

Change History

maybe

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

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.

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

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

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.