diff --git package-lock.json package-lock.json
index c09426b894..4f884f6e4e 100644
|
|
|
111 | 111 | "jquery-hoverintent": "1.8.3", |
112 | 112 | "jquery-ui": "https://github.com/jquery/jquery-ui/archive/1.11.4.tar.gz", |
113 | 113 | "lodash": "4.17.15", |
114 | | "masonry-layout": "3.3.2", |
| 114 | "masonry-layout": "4.2.2", |
115 | 115 | "moment": "2.22.2", |
116 | 116 | "polyfill-library": "3.27.4", |
117 | 117 | "react": "16.8.4", |
diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
index 4ad643008c..641453712b 100644
|
|
function wp_default_scripts( &$scripts ) { |
1092 | 1092 | // Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv. |
1093 | 1093 | // It sets jQuery as a dependency, as the theme may have been implicitly loading it this way. |
1094 | 1094 | $scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '3.2.0', 1 ); |
1095 | | $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '3.3.2', 1 ); |
| 1095 | $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 ); |
1096 | 1096 | $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2b', 1 ); |
1097 | 1097 | |
1098 | 1098 | $scripts->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array( 'jquery' ), '3.1-20121105', 1 ); |