WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/28/2016 06:47:01 PM (5 years ago)
Author:
ocean90
Message:

External Libraries: Update Masonry to 3.3.2 and imagesLoaded to 3.2.0.

Also split imagesLoaded and Masonry into separate files so imagesLoaded can be used independently.

Diff Masonry: https://github.com/desandro/masonry/compare/v3.1.4...v3.3.2
Diff imagesLoaded: https://github.com/desandro/imagesloaded/compare/v3.1.4...v3.2.0

Props Ninos Ego, grapplerulrich.
Fixes #32802.

File:
1 edited

Legend:

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

    r37887 r37891  
    249249    // Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv.
    250250    // It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
    251     $scripts->add( 'masonry', "/wp-includes/js/masonry.min.js", array(), '3.1.2', 1 );
     251    $scripts->add( 'imagesloaded', "/wp-includes/js/imagesloaded.min.js", array(), '3.2.0', 1 );
     252    $scripts->add( 'masonry', "/wp-includes/js/masonry.min.js", array( 'imagesloaded' ), '3.3.2', 1 );
    252253    $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2', 1 );
    253254
Note: See TracChangeset for help on using the changeset viewer.