From 6caf12d0bc80168d960aa80062481fc7badcfee8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 21 Mar 2012 03:21:07 +0000 Subject: [PATCH] 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 --- wp-includes/media.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 2ebd8b6554..c4370d1f9d 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -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' );