WordPress.org

Make WordPress Core

Ticket #47353: 47353.diff

File 47353.diff, 949 bytes (added by desrosj, 7 weeks ago)
  • src/wp-includes/script-loader.php

     
    824824        // It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
    825825        $scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '4.1.4', 1 );
    826826        $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 );
    827         $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2b', 1 );
     827        $scripts->add( 'jquery-masonry', '/wp-includes/js/jquery/jquery.masonry.min.js', array( 'jquery', 'masonry' ), '3.1.2b', 1 );
    828828
    829829        $scripts->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array( 'jquery' ), '3.1-20121105', 1 );
    830830        did_action( 'init' ) && $scripts->localize(