[wp-trac] [WordPress Trac] #25672: is_a() causing errors with get_users()

WordPress Trac noreply at wordpress.org
Thu Oct 24 18:10:51 UTC 2013


#25672: is_a() causing errors with get_users()
------------------------------+------------------------------
 Reporter:  dgdax             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  3.6.1
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |
------------------------------+------------------------------

Comment (by markoheijnen):

 Not sure if is_a() is the preferred method since instanceof is faster. How
 much depends on which PHP version you are using.

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


More information about the wp-trac mailing list