[wp-trac] [WordPress Trac] #37675: Update Masonry (v4.1.0) & imagesLoaded (v4.1.0) package
WordPress Trac
noreply at wordpress.org
Tue Aug 16 08:29:22 UTC 2016
#37675: Update Masonry (v4.1.0) & imagesLoaded (v4.1.0) package
--------------------------------+-----------------------------
Reporter: grapplerulrich | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
--------------------------------+-----------------------------
As this updates drops IE8 and 9 support we cannot update directly to these
versions. We can't make the same switch from `jquery-masonry` to `masonry`
as we don't have a shiv and which is a bit counterproductive if IE 8 & 9
support has been dropped.
I think it would be good to think for the future as I expect version v5
will also be a breaking change.
Possible solutions:
- Register a new handle `masonry-4`
- Deprecate Masonry from core. `jquery-masonry` is used for the custom-
header script, Twenty Thirteen and Twenty Fourteen.
- Add an option to `wp_enqueue_script` to define which version of script
that is needed. We can include v3.x and v4.x and the developer can define
which version that they need.
== Masonry
- v4.0.0 removes IE8 & 9 support:
https://github.com/desandro/masonry/releases/tag/v4.0.0
- v4.1.0 - stagger option:
https://github.com/desandro/masonry/releases/tag/v4.1.0
== imagesloaded
- v4.0.0 - remove IE8 support:
https://github.com/desandro/imagesloaded/releases/tag/v4.0.0
- v4.1.0 - ev-emitter:
https://github.com/desandro/imagesloaded/releases/tag/v4.1.0
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37675>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list