mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 05:34:26 +00:00
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: https://github.com/desandro/imagesloaded/compare/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
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user