Skip to content

Commit 2687cc7

Browse files
committed
jQuery: Update the bundled jQuery Migrate assets for modern versions to the latest version used by WordPress core.
1 parent 31d291f commit 2687cc7

File tree

2 files changed

+333
-185
lines changed

2 files changed

+333
-185
lines changed

class-jquery-migrate-helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ public static function replace_scripts( $scripts ) {
412412
self::set_script( $scripts, 'jquery-touch-punch', false, array( 'jquery-ui-widget', 'jquery-ui-mouse' ), '0.2.2', 1 );
413413
} else {
414414
if ( 'yes' === get_option( '_jquery_migrate_modern_deprecations', 'no' ) ) {
415-
self::set_script( $scripts, 'jquery-migrate', $assets_url . 'jquery-migrate/jquery-migrate-3.3.2-wp.js', array(), '3.3.2-wp' );
416-
self::set_script( $scripts, 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.5.1-wp' );
415+
self::set_script( $scripts, 'jquery-migrate', $assets_url . 'jquery-migrate/jquery-migrate-3.4.1-wp.js', array(), '3.4.1-wp' );
416+
self::set_script( $scripts, 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.6.4-wp' );
417417
}
418418
}
419419
}

0 commit comments

Comments
 (0)