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

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 20:56:55 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):

 Actually, nevermind. I assume you mean calling `wp_enqueue_script(
 'jquery' )`. I was thinking about using unregistered dependencies:
 `wp_enqueue_script( 'my-js', ..., array( 'jquery' )`.

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


More information about the wp-trac mailing list