#1283 closed defect (invalid)
Wrong datatype for second argument in functions.kses.php on line 672
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | Front-end | Version: | 1.1-alpha |
| Severity: | major | 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
GautamGupta — 3 years ago
- Keywords reporter-feedback added; trunk removed
- Severity changed from normal to major
comment:2
chrishajer — 3 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.
The "second argument" is global $allowedentitynames, whom I cannot find the definition of...
comment:4
GautamGupta — 3 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.
Can you post what was actually there in the post? (with HTML tags)