Opened 14 years ago
Closed 14 years ago
#14815 closed enhancement (fixed)
Add wp_dequeue_script function
Reported by: | ericmann | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | trivial | Version: | 3.1 |
Component: | JavaScript | Keywords: | has-patch commit |
Focuses: | Cc: |
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.
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!