Make WordPress Core

Ticket #57324: 57324.diff

File 57324.diff, 1.2 KB (added by naeemhaque, 15 months ago)

Updated jQuery v3.6.2

  • package.json

    diff --git a/package.json b/package.json
    index f4b00a3e3d..cfee4899a9 100644
    a b  
    139139                "formdata-polyfill": "4.0.10",
    140140                "hoverintent": "2.2.1",
    141141                "imagesloaded": "4.1.4",
    142                 "jquery": "3.6.1",
     142                "jquery": "3.6.2",
    143143                "jquery-color": "2.2.0",
    144144                "jquery-form": "4.3.0",
    145145                "jquery-hoverintent": "1.10.2",
  • src/wp-includes/script-loader.php

    diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php
    index 27defd0659..dd9fc1a22c 100644
    a b function wp_default_scripts( $scripts ) { 
    820820
    821821        // jQuery.
    822822        // The unminified jquery.js and jquery-migrate.js are included to facilitate debugging.
    823         $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.6.1' );
    824         $scripts->add( 'jquery-core', "/wp-includes/js/jquery/jquery$suffix.js", array(), '3.6.1' );
     823        $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.6.2' );
     824        $scripts->add( 'jquery-core', "/wp-includes/js/jquery/jquery$suffix.js", array(), '3.6.2' );
    825825        $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '3.3.2' );
    826826
    827827        // Full jQuery UI.