[wp-trac] [WordPress Trac] #20971: Delaying wp_default_scripts() prevents enqueing

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 23:45:27 UTC 2012


#20971: Delaying wp_default_scripts() prevents enqueing
--------------------------+--------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4.1
Component:  General       |     Version:  3.4
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by scribu):

 What I mean is that this should work:

 {{{
 wp_enqueue_script( 'my-js', 'url', array( 'my-other-js' ), ... );

 wp_register_script( 'my-other-js' ... );
 }}}

 If that would not fix the bug, I apologize.

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


More information about the wp-trac mailing list