[wp-trac] [WordPress Trac] #21520: Prevent recursive script dependencies in wp_enqueue_script

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 20 17:39:51 UTC 2012


#21520: Prevent recursive script dependencies in wp_enqueue_script
--------------------------+------------------
 Reporter:  batmoo        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by ryan):

 So these themes I'm seeing break were passing a string instead of an array
 for the dependencies. Thus the dependency was ignored. With [21420] these
 dependencies suddenly started working. Alas, some of them were circular
 dependencies that no one noticed before since the string dependency was
 thrown out.

 This is very edge, but it is fatal and rather hard to track down since the
 exhaustion usually happens somewhere in the depths of all_deps().

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


More information about the wp-trac mailing list