[wp-trac] [WordPress Trac] #10264: use instanceof instead of is_a()

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 1 12:08:30 UTC 2009


#10264: use instanceof instead of is_a()
-------------------------+--------------------------------------------------
 Reporter:  Mittineague  |       Owner:                         
     Type:  enhancement  |      Status:  assigned               
 Priority:  low          |   Milestone:  Future Release         
Component:  Performance  |     Version:  2.8                    
 Severity:  normal       |    Keywords:  needs-patch 2nd-opinion
-------------------------+--------------------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:11 Mittineague]:
 > The decision is yours of course, but I think if it was up to me I'd
 probably wait until WordPress no longer supports PHP 4 and then use the
 instanceof operator with the work-around.

 Seems like the right thing to do, yeah. :D

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


More information about the wp-trac mailing list