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:
koopersmith 2012-03-15 19:46:15 +00:00
parent 8c841df86d
commit 9ef7cbbdd8

View File

@ -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' );