[wp-trac] [WordPress Trac] #2701: Centralize javascript inclusions

WordPress Trac wp-trac at lists.automattic.com
Wed May 3 21:35:39 GMT 2006

#2701: Centralize javascript inclusions
       Id:  2701      |      Status:  new                     
Component:  General   |    Modified:  Wed May  3 21:35:38 2006
 Severity:  normal    |   Milestone:  2.1                     
 Priority:  normal    |     Version:  2.1                     
    Owner:  mdawaffe  |    Reporter:  mdawaffe                
 WP should provide a built in means of including javascript files and their
 dependencies.  This has been discussed on wp-hackers at least twice (most
 recently: http://comox.textdrive.com/pipermail/wp-

 The attached patch establishes a method to define and use WP javascript,
 reworks the admin section to make use of this method, and calls this
 method both in admin-header.php and in the wp_head hook.  The patch keeps
 track of all scripts and their dependencies, which scripts are slated for
 inclusion on the page, and which scripts have already been included on the

 Perhaps a little overkill.

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

More information about the wp-trac mailing list