Skip to content

Commit 0c96ba1

Browse files
committed
External Libraries: Update imagesLoaded to version 5.0.0.
This release drops support for IE and moves to using ES6. A full list of changes can be found on GitHub: desandro/imagesloaded@v4.1.4...v5.0.0. Props nazsabuz, arnedb, costdev, audrasjb, ahmedgeek , valmedia2023 , hareesh-pillai. Fixes #56731. git-svn-id: https://develop.svn.wordpress.org/trunk@56393 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 78c78cb commit 0c96ba1

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

package-lock.json

Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"formdata-polyfill": "4.0.10",
146146
"framer-motion": "10.11.6",
147147
"hoverintent": "2.2.1",
148-
"imagesloaded": "4.1.4",
148+
"imagesloaded": "5.0.0",
149149
"is-plain-object": "5.0.0",
150150
"jquery": "3.7.0",
151151
"jquery-color": "2.2.0",

src/wp-includes/script-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ function wp_default_scripts( $scripts ) {
929929
* Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv.
930930
* It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
931931
*/
932-
$scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '4.1.4', 1 );
932+
$scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '5.0.0', 1 );
933933
$scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 );
934934
$scripts->add( 'jquery-masonry', '/wp-includes/js/jquery/jquery.masonry.min.js', array( 'jquery', 'masonry' ), '3.1.2b', 1 );
935935

0 commit comments

Comments
 (0)