Skip to content
Permalink
Browse files

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

Merges [46073] to the 5.2 branch.
Fixes #47986.



git-svn-id: https://develop.svn.wordpress.org/branches/5.2@46074 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
whyisjake committed Sep 6, 2019
1 parent 8ddcb90 commit ed22e7e5d7a8425fdd952f43cb1ad3ca7cf48174
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/wp-includes/script-loader.php
@@ -1178,8 +1178,6 @@ function wp_default_scripts( &$scripts ) {
)
);
$scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array( 'jquery' ), 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 );

0 comments on commit ed22e7e

Please sign in to comment.
You can’t perform that action at this time.