Skip to content

Commit

Permalink
External Libraries: Update imagesLoaded to version 5.0.0.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
desrosj committed Aug 11, 2023
1 parent 78c78cb commit 0c96ba1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"formdata-polyfill": "4.0.10",
"framer-motion": "10.11.6",
"hoverintent": "2.2.1",
"imagesloaded": "4.1.4",
"imagesloaded": "5.0.0",
"is-plain-object": "5.0.0",
"jquery": "3.7.0",
"jquery-color": "2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ function wp_default_scripts( $scripts ) {
* Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv.
* It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
*/
$scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '4.1.4', 1 );
$scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '5.0.0', 1 );
$scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 );
$scripts->add( 'jquery-masonry', '/wp-includes/js/jquery/jquery.masonry.min.js', array( 'jquery', 'masonry' ), '3.1.2b', 1 );

Expand Down

0 comments on commit 0c96ba1

Please sign in to comment.