[wp-trac] [WordPress Trac] #29261: Enqueue script in Widget
WordPress Trac
noreply at wordpress.org
Tue Aug 19 07:51:47 UTC 2014
#29261: Enqueue script in Widget
-------------------------------+------------------------------
Reporter: zishanj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.9.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => reporter-feedback
Comment:
`wp_enqueue_script()` should be called using an appropriate action,
`wp_enqueue_scripts` or `admin_enqueue_scripts`.
Could you provide a piece of code to reproduce the issue?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29261#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list