Make WordPress Core


Ignore:
Timestamp:
11/03/2021 07:38:33 PM (3 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Update the Iris color picker to version 1.1.1.

The latest version includes jQuery 3.x deprecation fixes:

  • $.isArrayArray.isArray
  • Event attachment/trigger shorthands → .on() and .trigger()

For a full list of changes in this update, see the PR on GitHub:
https://github.com/Automattic/Iris/pull/72

Follow-up to [22030], [22033], [22385], [22457], [22697], [22732], [23443], [26334], [30551], [30650], [38931], [50547].

Props Clorith, mattwiebe, Cybr.
Fixes #54224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r51944 r52006  
    13421342        $scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array( 'jquery' ), '1.2' );
    13431343
    1344         $scripts->add( 'iris', '/wp-admin/js/iris.min.js', array( 'jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch' ), '1.0.7', 1 );
     1344        $scripts->add( 'iris', '/wp-admin/js/iris.min.js', array( 'jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch' ), '1.1.1', 1 );
    13451345        $scripts->add( 'wp-color-picker', "/wp-admin/js/color-picker$suffix.js", array( 'iris' ), false, 1 );
    13461346        $scripts->set_translations( 'wp-color-picker' );
Note: See TracChangeset for help on using the changeset viewer.