mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Theme Customizer: Bind wp_plupload_default_settings() to the customize_controls_enqueue_scripts hook. Fixes JS errors. see #19910, [20189].
git-svn-id: http://svn.automattic.com/wordpress/trunk@20197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c841df86d
commit
9ef7cbbdd8
@ -1484,3 +1484,4 @@ function wp_plupload_default_settings() {
|
||||
$wp_scripts->add_data( 'wp-plupload', 'data', $script );
|
||||
}
|
||||
add_action( 'admin_enqueue_scripts', 'wp_plupload_default_settings' );
|
||||
add_action( 'customize_controls_enqueue_scripts', 'wp_plupload_default_settings' );
|
||||
|
Loading…
Reference in New Issue
Block a user