mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
External Libraries: Update the Iris color picker to version 1.1.1.
The latest version includes jQuery 3.x deprecation fixes: * `$.isArray` → `Array.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. git-svn-id: https://develop.svn.wordpress.org/trunk@52006 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a88e82020c
commit
bf63e7ab46
6
src/js/_enqueues/vendor/iris.min.js
vendored
6
src/js/_enqueues/vendor/iris.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1341,7 +1341,7 @@ function wp_default_scripts( $scripts ) {
|
||||
|
||||
$scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array( 'jquery' ), '1.2' );
|
||||
|
||||
$scripts->add( 'iris', '/wp-admin/js/iris.min.js', array( 'jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch' ), '1.0.7', 1 );
|
||||
$scripts->add( 'iris', '/wp-admin/js/iris.min.js', array( 'jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch' ), '1.1.1', 1 );
|
||||
$scripts->add( 'wp-color-picker', "/wp-admin/js/color-picker$suffix.js", array( 'iris' ), false, 1 );
|
||||
$scripts->set_translations( 'wp-color-picker' );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user