Script Loader: Remove unnecessary jquery
dependency for wp-sanitize.js
.
The file is written in plain JavaScript. Props sstoqnov. Fixes #47324. git-svn-id: https://develop.svn.wordpress.org/trunk@45593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
68a41a5eae
commit
f56c63a5d2
@ -1177,7 +1177,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
)
|
||||
);
|
||||
|
||||
$scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array( 'jquery' ), false, 1 );
|
||||
$scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array(), false, 1 );
|
||||
|
||||
$scripts->add( 'wp-backbone', "/wp-includes/js/wp-backbone$suffix.js", array( 'backbone', 'wp-util' ), false, 1 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user