Opened 16 years ago
Closed 16 years ago
#16260 closed enhancement (worksforme)
wp_enqueue_script needs $order param
| Reported by: | numediaweb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 3.0.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
the function wp_enqueue_script() needs another parameter that enables setting scripts load order.
This will allow more flexibility in theme design; more freedom in choosing how the code in theme templates is organized.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
What's wrong with the third argument?
wp_enqueue_script( $handle, $src = false, $deps = array(), $ver = false, $in_footer = false )