mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@37891 git-svn-id: http://core.svn.wordpress.org/trunk@37832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
60dc856d64
commit
168eac2ed4
1
wp-includes/js/imagesloaded.min.js
vendored
Normal file
1
wp-includes/js/imagesloaded.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
12
wp-includes/js/masonry.min.js
vendored
12
wp-includes/js/masonry.min.js
vendored
File diff suppressed because one or more lines are too long
@ -248,7 +248,8 @@ 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( 'masonry', "/wp-includes/js/masonry.min.js", array(), '3.1.2', 1 );
|
||||
$scripts->add( 'imagesloaded', "/wp-includes/js/imagesloaded.min.js", array(), '3.2.0', 1 );
|
||||
$scripts->add( 'masonry', "/wp-includes/js/masonry.min.js", array( 'imagesloaded' ), '3.3.2', 1 );
|
||||
$scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2', 1 );
|
||||
|
||||
$scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20121105', 1 );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37890';
|
||||
$wp_version = '4.6-alpha-37891';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user