[wp-trac] [WordPress Trac] #15381: Rework WP_Scripts to support named groups

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 10 21:59:49 UTC 2010


#15381: Rework WP_Scripts to support named groups
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:  westi         
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  JavaScript    |     Version:                
 Severity:  normal        |    Keywords:  3.2-early     
--------------------------+-------------------------------------------------
 Currently WP_Scripts has some "special" code for splitting things across
 header and footer and concatenating core scripts.

 I would like to change it to support the following:

  * Named Groups - so we can have header, footer, ...
  * L10N awareness - so we can auto output the l10n.js file first if we
 need it - XRef #15124
  * Concatenation opt-out
  * Concatentaion opt-in for plugins.

 I was working on this for #15124 until it became apparent that it wasn't
 right to do it for 3.1 - not enough time to fully test.

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


More information about the wp-trac mailing list