Opened 2 years ago

Last modified 2 years ago

#16781 new enhancement

is_wp_error() simplification

Reported by: hakre Owned by:
Priority: normal Milestone: Awaiting Review
Component: General Version: 3.1
Severity: normal Keywords: has-patch
Cc:

Description

please review. see #2600, [3667], is_a(), is_subclass_of()

Attachments (2)

16781.patch (529 bytes) - added by hakre 2 years ago.
w/o subclassing
16781.2.patch (539 bytes) - added by hakre 2 years ago.
with subclassing

Download all attachments as: .zip

Change History (5)

hakre2 years ago

w/o subclassing

hakre2 years ago

with subclassing

Related: #16782

  • Type changed from defect (bug) to enhancement

Second patch is faults, must be is_a() instead of is_subclass_of(), so first patch is already with subclassing.

Note: See TracTickets for help on using tickets.