WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
01/16/2011 03:39:27 PM (7 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' ) );}}}