#10119 closed defect (bug) (fixed)
Wrong data type in edit-page-form.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8.1 |
| Component: | Warnings/Notices | Version: | 2.8 |
| Severity: | minor | Keywords: | has-patch tested |
| Cc: |
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)
- Resolution fixed deleted
- Status changed from closed to reopened
It must be tested first before it is committed. I am re-opening this so we can test it. Please be patient!
Denis-de-Bernardy — 4 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
- Priority changed from high to normal
comment:9
follow-up:
↓ 11
Denis-de-Bernardy — 4 years ago
@pairg -- how did you end up with this error in the first place? never ran into it myself.
- Keywords reporter-feedback added
comment:11
in reply to:
↑ 9
ShaneF — 4 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.
Denis-de-Bernardy — 4 years ago
- Keywords tested added; reporter-feedback removed
comment:13
ryan — 4 years ago
- Resolution set to fixed
- Status changed from reopened to closed
comment:14
ryan — 4 years ago
Note: See
TracTickets for help on using
tickets.

/wp-admin/edit-page-form.php patch