Opened 3 years ago
Closed 3 years ago
#15126 closed defect (bug) (duplicate)
wp_enqueue_script does not load scripts if definition use $scripts->add_data
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.0.1 |
| Severity: | normal | Keywords: | wp_enqueue_script |
| Cc: |
Description
wp_enqueue_script does not load scripts if definition use $scripts->add_data (wp-includes/script-loader.php) from class WP_Dependency (wp-includes/class.wp-dependencies.php).
if I remove lines like '$scripts->add_data' wp_enqueue_script works good.
issue tested on 'thickbox', 'jquery-table-hotkeys', 'jquery-hotkeys'
Change History (3)
Replying to nacin:
Did you check the footer?
I don't enqueue in footer.
If I remove this line, script is in code, with this line ... no.
Note: See
TracTickets for help on using
tickets.

Did you check the footer?