Opened 13 years ago
Closed 11 years ago
#16781 closed enhancement (invalid)
is_wp_error() simplification
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
please review. see #2600, [3667], is_a(), is_subclass_of()
Attachments (2)
Change History (6)
#3
@
13 years ago
Second patch is faults, must be is_a() instead of is_subclass_of(), so first patch is already with subclassing.
#4
@
11 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Calling is_a()
with a non-object $thing
is known to have unexpected behaviours https://bugs.php.net/bug.php?id=55475
Note: See
TracTickets for help on using
tickets.
w/o subclassing