Ticket #37110: 37110-add-dependency.2.diff
File 37110-add-dependency.2.diff, 1.1 KB (added by , 4 years ago) |
---|
-
src/wp-includes/script-loader.php
723 723 $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.12.4-wp' ); 724 724 $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.4.1' ); 725 725 726 // Backwards compatibility: Makes it easy for plugins and themes to enqueue jQuery with jQuery Migrate in WordPress 5.5. 727 // Note: This script handle will most likely be removed in WordPress 5.6 or when jQuery is updated to the latest version. 728 // Then plugins and themes that are still relaying on it will stop functioning. 729 $scripts->add( 'jquery-migrate-compat-5.5', false, array( 'jquery-core', 'jquery-migrate' ), '1.12.4-wp' ); 730 726 731 // Full jQuery UI. 727 732 $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array( 'jquery' ), '1.11.4', 1 ); 728 733 $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$dev_suffix.js", array( 'jquery' ), '1.11.4', 1 );