WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16260, comment 2


Ignore:
Timestamp:
01/16/11 15:39:27 (3 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16260, comment 2

    initial v1  
    1 You don't need an $order param. If you want script-b to come after script-a, just make script-a a dependency of script-b. 
     1You don't need an $order param. If you want script-b to come after script-a, just make script-a a dependency of script-b: 
     2 
     3{{{wp_enqueue_script( 'script-b', 'http://...', array( 'script-a' ) );}}}