mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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
This commit is contained in:
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user