#7087 closed enhancement (fixed)
WIdgets: Enqueue scripts on `'wp_enqueue_scripts'` hook
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | 1.0 |
| Component: | Core | Keywords: | has-patch |
| Cc: |
Description
In our widgets that contain enqueued JS, we currently do not hook the JS on 'wp_enqueue_scripts'.
We should do this to avoid enqueuing too early and to also remove checks on admin pages.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Patch looks good, why not hooking to
bp_enqueue_scripts?