#10119 closed defect (bug) (fixed)
Wrong data type in edit-page-form.php
| Reported by: | pairg | Owned by: | pairg |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8.1 |
| Component: | Warnings/Notices | Version: | 2.8 |
| Severity: | minor | Keywords: | has-patch tested |
| Cc: | Focuses: |
Description
PHP Warning in "/wp-admin/page.php?action=edit&post=<number>"
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /wp-admin/edit-page-form.php on line 355
Attachments (3)
Change History (17)
#4
@
17 years ago
- Resolution fixed
- Status closed → reopened
It must be tested first before it is committed. I am re-opening this so we can test it. Please be patient!
#7
@
17 years ago
Issue with the original patch is that (array) false === array(0=>false).
attached a slightly different patch, but it may have side effects
#9
follow-up:
↓ 11
@
17 years ago
@pairg -- how did you end up with this error in the first place? never ran into it myself.
#11
in reply to: ↑ 9
@
17 years ago
Replying to Denis-de-Bernardy:
@pairg -- how did you end up with this error in the first place? never ran into it myself.
Ditto.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
/wp-admin/edit-page-form.php patch