Remove enqueue of wp_plupload_default_settings() from admin_enqueue_scripts(). For now, it needs to be enqueued selectively when needed. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3184f9891a
commit
f665eb6a26
|
@ -1483,5 +1483,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