Remove the extra call for wp-sanitize from the script loader.

Fixes #47986


git-svn-id: https://develop.svn.wordpress.org/trunk@46073 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock 2019-09-06 21:48:22 +00:00
parent c95616cb63
commit e1665da922

View File

@ -1183,8 +1183,6 @@ function wp_default_scripts( &$scripts ) {
)
);
$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 );
$scripts->add( 'revisions', "/wp-admin/js/revisions$suffix.js", array( 'wp-backbone', 'jquery-ui-slider', 'hoverIntent' ), false, 1 );