Skip to:
Content

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1283 closed defect (invalid)

Wrong datatype for second argument in functions.kses.php on line 672

Reported by: chrishajer Owned by:
Milestone: 1.1 Priority: normal
Severity: major Version: 1.1-alpha
Component: Front-end Keywords:
Cc:

Description

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /www/internal/forums/bb-includes/backpress/functions.kses.php on line 672

I went to make a reply on an existing topic in a trunk installation of svn r2439 and received this warning. The post was created but this warning was displayed on screen, and there was no more output.

I have been able to make other replies in this installation though.

Change History (5)

comment:1 GautamGupta4 years ago

  • Keywords reporter-feedback added; trunk removed
  • Severity changed from normal to major

Can you post what was actually there in the post? (with HTML tags)

comment:2 chrishajer4 years ago

There was no HTML in the post. It happened multiple times. I actually rolled back since I couldn't afford for it to be broken. Since rolling back to r2432, I don't have the problem. Sorry I can't recreate it now.

comment:3 mr_pelle4 years ago

The "second argument" is global $allowedentitynames, whom I cannot find the definition of...

comment:4 GautamGupta4 years ago

  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

It happened because of this - http://backpress.automattic.com/changeset/311/
The kses functions were updated to the WP counterpart but the variables were not put there. Check - http://xref.yoast.com/trunk/wp-includes/kses.php.source.html#l429

Closing the ticket here and opening a ticket on BackPress trac.

Note: See TracTickets for help on using tickets.