Add underscore and backbone to the do-not-deregister list of scripts.

props adamsilverstein.
see [23378]. see #22896.



git-svn-id: http://core.svn.wordpress.org/trunk@23391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-02-08 05:11:27 +00:00
parent 3f6ffc4c76
commit b40f37808b
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ function wp_deregister_script( $handle ) {
'jquery-ui-position', 'jquery-ui-progressbar', 'jquery-ui-resizable', 'jquery-ui-selectable', '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-slider', 'jquery-ui-sortable', 'jquery-ui-spinner', 'jquery-ui-tabs',
'jquery-ui-tooltip', 'jquery-ui-widget', 'jquery-ui-tooltip', 'jquery-ui-widget',
'underscore', 'backbone',
); );
if ( in_array( $handle, $no ) ) { if ( in_array( $handle, $no ) ) {