From 5868743f1f2b05c93642c9eebf89cb7f6610d6df Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 7 Aug 2020 18:28:36 +0000 Subject: [PATCH] Script Loader: Remove the `jquery-migrate-compat-5.5` temporary script handle for now. Can be re-added later if there is a compelling use case. For now it doesn't seem necessary. See #37110. git-svn-id: https://develop.svn.wordpress.org/trunk@48754 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/script-loader.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 2b229fce11..5725269a9c 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -723,11 +723,6 @@ function wp_default_scripts( $scripts ) { $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.12.4-wp' ); $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.4.1' ); - // Backward compatibility: Makes it easy for plugins and themes to enqueue jQuery with jQuery Migrate in WordPress 5.5. - // Note: This script handle will most likely be removed in WordPress 5.6 or when jQuery is updated to the latest version. - // Then plugins and themes that are still relying on it will stop functioning. - $scripts->add( 'jquery-migrate-compat-5.5', false, array( 'jquery-core', 'jquery-migrate' ), '1.12.4-wp' ); - // Full jQuery UI. $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array( 'jquery' ), '1.11.4', 1 ); $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$dev_suffix.js", array( 'jquery' ), '1.11.4', 1 );