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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 22 18:44:28 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):

 This is not a bug in the dependencies :-)
 {{{
 <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>
 <script type='text/javascript' src='http://trunk.domain/wp-
 includes/js/tinymce/plugins/wpdialogs/js/popup.js?ver=20101119'></script>
 }}}

  * wpdialogs depends on jquery-ui-dialog
  * jquery-ui-dialog depends on jquery-ui-resizable, jquery-ui-draggable,
 jquery-ui-button, 'jquery-ui-position

 The script it not printed until late on until this call
 {{{wp_print_scripts( array( 'wpdialogs-popup' ) );}}}

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


More information about the wp-trac mailing list