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

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 23:43:31 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):

 Ok, but that seems like an artificial limitation, since some other script
 can call `wp_deregister_script( 'my-other-js' )` afterwards.

 We should check the dependencies right before outputting the script tags,
 not before.

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


More information about the wp-trac mailing list