Opened 15 years ago
Closed 13 years ago
#16781 closed enhancement (invalid)
is_wp_error() simplification
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
please review. see #2600, [3667], is_a(), is_subclass_of()
Attachments (2)
Change History (6)
#3
@
15 years ago
Second patch is faults, must be is_a() instead of is_subclass_of(), so first patch is already with subclassing.
#4
@
13 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
w/o subclassing