[wp-trac] [WordPress Trac] #16781: is_wp_error() simplification

WordPress Trac noreply at wordpress.org
Fri Aug 9 06:57:37 UTC 2013


#16781: is_wp_error() simplification
-------------------------+----------------------
 Reporter:  hakre        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.1
 Severity:  normal       |  Resolution:  invalid
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Calling `is_a()` with a non-object `$thing` is known to have unexpected
 behaviours https://bugs.php.net/bug.php?id=55475

--
Ticket URL: <http://core.trac.wordpress.org/ticket/16781#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list