Opened 16 years ago
Closed 16 years ago
#14815 closed enhancement (fixed)
Add wp_dequeue_script function
| Reported by: | ericmann | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | JavaScript | Version: | 3.1 |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
A user pointed out on the WordPress Answers Exchange that, while we support wp_enqueue_script, there's no support for a wp_dequeue_script function. Though the method calls are there in /wp-includes/class.wp-dependencies.php ... we just haven't implemented them.
We should add a wp_dequeue_script function in order to fully flesh out the API.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The downside of opening a ticket on the road ... someone else submits a patch before I have time to get home and actually build it. You submitted the exact same patch I was planning to submit tonight! :-) Great work @scribu!