[wp-trac] [WordPress Trac] #7367: Maybe redundant logic in script and style queuing classes

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 21 16:44:41 GMT 2008


#7367: Maybe redundant logic in script and style queuing classes
-----------------------+----------------------------------------------------
 Reporter:  sambauers  |       Owner:  anonymous
     Type:  defect     |      Status:  new      
 Priority:  low        |   Milestone:  2.6.1    
Component:  General    |     Version:  2.6      
 Severity:  minor      |    Keywords:           
-----------------------+----------------------------------------------------
 I am pretty sure that the changes here:

 http://trac.wordpress.org/changeset/8301/trunk/wp-includes/class.wp-
 scripts.php

 And here:

 http://trac.wordpress.org/changeset/8301/trunk/wp-includes/class.wp-
 styles.php

 Introduce redundant code.

 WP_CONTENT_URL should always be a fully qualified URL so it will match the
 first condition and never reach the second.

 I think these should be reverted, but maybe I'm just not reading it right.

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


More information about the wp-trac mailing list