Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#19054 closed defect (bug) (invalid)

Bug in comment.php

Reported by: samman's profile SamMan Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:



I have WP ver. 3.2.1 and think thal line 617 in \wp-includes\comment.php must be correct from
extract($commentdata, EXTR_SKIP);
if (is_array($commentdata)) { extract($commentdata, EXTR_SKIP ); }

Otherwise we will have error sometimes when user add comment. The error is:
Warning: extract() [function.extract]: First argument should be an array in includes\comment.php, line 617.
This error, for example, has a place when anonymous user try to post too many comments in short time (flood).

Change History (3)

#1 @dd32
13 years ago

This sounds like a conflict coming from a plugin to me.

#2 @SamMan
13 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Yes, you a right. It was only my fail, no problem with WP engine, no need to correct comment.php file - it's OK.

#3 @kawauso
13 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.