[wp-trac] [WordPress Trac] #15843: Fix dependencies so scripts are concatenated

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 22 15:57:26 UTC 2010


#15843: Fix dependencies so scripts are concatenated
--------------------------------+------------------
 Reporter:  nacin               |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  high                |   Milestone:  3.1
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+------------------

Comment (by westi):

 Go to Edit a Post.

 You get in the Header:
 {{{
 <script type='text/javascript' src='http://trunk.domain/wp-
 includes/js/l10n.js?ver=20101110'></script>
 <script type='text/javascript' src='http://trunk.domain/wp-admin/load-
 scripts.php?c=1&amp;load=jquery,utils,editor&amp;ver=151e6df801b09d30f43e1a8f2114dea7'></script>
 }}}

 In the Footer:
 {{{
 <script type='text/javascript' src='http://trunk.domain/wp-admin/load-
 scripts.php?c=1&amp;load=admin-bar,hoverIntent,common,jquery-
 color,schedule,wp-ajax-response,autosave,wp-lists,jquery-query,jquery-
 serialize-object,list-table,jquery-ui-core,jquery-ui-widget,jquery-ui-
 mouse,jquery-ui-resizable,admin-comments,suggest,jquery-ui-
 sortable,postbox,post,word-count,thickbox,media-
 upload&amp;ver=7f23cd0951f2123c9380a176139079da'></script>

 <script type='text/javascript' src='http://trunk.domain/wp-
 includes/js/jquery/ui.draggable.js?ver=1.8.7'></script>
 <script type='text/javascript' src='http://trunk.domain/wp-
 includes/js/jquery/ui.button.js?ver=1.8.7'></script>

 <script type='text/javascript' src='http://trunk.domain/wp-
 includes/js/jquery/ui.position.js?ver=1.8.7'></script>
 <script type='text/javascript' src='http://trunk.domain/wp-
 includes/js/jquery/ui.dialog.js?ver=1.8.7'></script>
 }}}

 All the jquery ui ones should be loaded by the footer load-scripts call.

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


More information about the wp-trac mailing list