[wp-trac] [WordPress Trac] #27619: Widget Customizer: Scripts from plugins can be missing.
WordPress Trac
noreply at wordpress.org
Tue Apr 1 10:52:27 UTC 2014
#27619: Widget Customizer: Scripts from plugins can be missing.
--------------------------+-----------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Appearance | Version: trunk
Severity: major | Keywords: has-patch
Focuses: |
--------------------------+-----------------------
If a plugin enqueue scripts via `admin_enqueue_scripts` and styles via
`admin_print_styles` the scripts aren't available in the Customizer,
because the named hooks aren't used there. The Customizer has it's own
actions like `customize_controls_print_styles` or
`customize_controls_print_scripts`.
The attached patch calls the admin hooks in Customizer's hooks. Currently
I have ignored the general `admin_head` and `admin_footer` actions.
Original report: https://wordpress.org/support/topic/widgets-customizer-
not-loading-widget-styles-and-scripts
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27619>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list