WordPress.org

Make WordPress Core

Ticket #37666: 37666.2.diff

File 37666.2.diff, 1.5 KB (added by ocean90, 3 years ago)
  • src/wp-includes/js/jquery/jquery.masonry.js

     
    2626    var isAniOption = this.options.isAnimated;
    2727    if ( isAniOption !== undefined ) {
    2828      this.options.transitionDuration = isAniOption ?
    29         Masonry.prototype.options.transitionDuration : 0;
     29        this.options.transitionDuration : 0;
    3030    }
    3131
    3232    if ( isAniOption === undefined || isAniOption ) {
  • src/wp-includes/script-loader.php

     
    250250        // It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
    251251        $scripts->add( 'imagesloaded', "/wp-includes/js/imagesloaded.min.js", array(), '3.2.0', 1 );
    252252        $scripts->add( 'masonry', "/wp-includes/js/masonry.min.js", array( 'imagesloaded' ), '3.3.2', 1 );
    253         $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2', 1 );
     253        $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2a', 1 );
    254254
    255255        $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20121105', 1 );
    256256        did_action( 'init' ) && $scripts->localize( 'thickbox', 'thickboxL10n', array(