Make WordPress Core

Changeset 56481


Ignore:
Timestamp:
08/28/2023 05:12:46 PM (17 months ago)
Author:
jorbin
Message:

External Libraries: Update jQuery to version 3.7.1.

This release fixes a regression from jQuery 3.6.0 that resulted in rounded dimensions for <tr /> elements in Chrome and Safari. Also, a (mostly) internal Sizzle method, jQuery.find.tokenize that was on the jQuery object was accidentally removed when they removed Sizzle in jQuery 3.7.0. That method has been restored.

References:

Follow-up to [49101], [50445], [50520], [54202], [55012], [55491], [55860].

Props TobiasBg, jorbin.
Fixes #59227.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r56419 r56481  
    8181                "imagesloaded": "5.0.0",
    8282                "is-plain-object": "5.0.0",
    83                 "jquery": "3.7.0",
     83                "jquery": "3.7.1",
    8484                "jquery-color": "2.2.0",
    8585                "jquery-form": "4.3.0",
     
    2133121331        },
    2133221332        "node_modules/jquery": {
    21333             "version": "3.7.0",
    21334             "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.0.tgz",
    21335             "integrity": "sha512-umpJ0/k8X0MvD1ds0P9SfowREz2LenHsQaxSohMZ5OMNEU2r0tf8pdeEFTHMFxWVxKNyU9rTtK3CWzUCTKJUeQ=="
     21333            "version": "3.7.1",
     21334            "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
     21335            "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
    2133621336        },
    2133721337        "node_modules/jquery-color": {
  • trunk/package.json

    r56419 r56481  
    148148        "imagesloaded": "5.0.0",
    149149        "is-plain-object": "5.0.0",
    150         "jquery": "3.7.0",
     150        "jquery": "3.7.1",
    151151        "jquery-color": "2.2.0",
    152152        "jquery-form": "4.3.0",
  • trunk/src/wp-includes/script-loader.php

    r56393 r56481  
    834834     * The unminified jquery.js and jquery-migrate.js are included to facilitate debugging.
    835835     */
    836     $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.7.0' );
    837     $scripts->add( 'jquery-core', "/wp-includes/js/jquery/jquery$suffix.js", array(), '3.7.0' );
     836    $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.7.1' );
     837    $scripts->add( 'jquery-core', "/wp-includes/js/jquery/jquery$suffix.js", array(), '3.7.1' );
    838838    $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '3.4.1' );
    839839
Note: See TracChangeset for help on using the changeset viewer.