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: https://develop.svn.wordpress.org/trunk@20230 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
910804c30e
commit
6caf12d0bc
@ -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
Block a user