[wp-trac] [WordPress Trac] #14131: wp_enqueue_style > (php) is_a() depracated

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 28 18:01:23 UTC 2010


#14131: wp_enqueue_style > (php) is_a() depracated
--------------------------+-------------------------------------------------
 Reporter:  F J Kaiser    |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 Found the following problems with wp_enqueue_style for is_a(). I'm running
 my server on php 5.2.6 and is_a() was depracated exactly from php 5.0
 until 5.3. For this versions the instanceof operator should be used (says
 the notice):

 * wp-includes/functions.wp-scripts.php on line 98
 * wp-includes/general-template.php on line 2104
 * wp-includes/script-loader.php on line 691 and line 582

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14131>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list