From 5dd8a15b2637a89f19ff0e55d89664b5531d2a65 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 8 Feb 2013 05:11:27 +0000 Subject: [PATCH] Add underscore and backbone to the do-not-deregister list of scripts. props adamsilverstein. see [23378]. see #22896. git-svn-id: https://develop.svn.wordpress.org/trunk@23391 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.wp-scripts.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.wp-scripts.php b/wp-includes/functions.wp-scripts.php index 0ff74b3cd3..1acbcf3960 100644 --- a/wp-includes/functions.wp-scripts.php +++ b/wp-includes/functions.wp-scripts.php @@ -120,6 +120,7 @@ function wp_deregister_script( $handle ) { 'jquery-ui-position', 'jquery-ui-progressbar', 'jquery-ui-resizable', 'jquery-ui-selectable', 'jquery-ui-slider', 'jquery-ui-sortable', 'jquery-ui-spinner', 'jquery-ui-tabs', 'jquery-ui-tooltip', 'jquery-ui-widget', + 'underscore', 'backbone', ); if ( in_array( $handle, $no ) ) {