1.5.2
This is the second patch release for the 1.5 branch. It fixes additional issues that have been reported for the 1.5.0 and 1.5.1 releases. Key changes in the 1.5.2 milestone:
- 🐛 Prevent images with decimal dimensions from causing Optimizer to emit AMP Validation error. #4493, #4506
- 🐛 Prevent
meta
tag sanitizer from erroneously moving HTML5 Microdata meta tags tohead
; only move themeta
tags to thehead
which are required to be located there. #4502, #4505 - 🐛 Raise default threshold for disabling CSS caching. This addresses a performance degradation when parsed CSS transient caching gets disabled due to detecting highly-variable CSS. #4513
- ✨ Add CSS monitoring time series to Site Health debugging info. This will assist with debugging issues related to parsed CSS transient caching getting disabled. #4519
- 🐛 Fix embedding YouTube videos that have hyphens in the IDs; account for an increased variety in URL formats. #4504, #4508
- 🐛 Fix fetch error with external stylesheets by caching response status and headers. #4503, #4509
- 🐛 Fix preservation of Mustache templates contained in
script[type=text/plain]
elements. This was originally fixed in 1.5.0 but the fix was incomplete, as it didn't account for Mustache templates that span multiple lines. #4254, #4276, #4521 - 🐛 Ensure required AMP component scripts are detected when contained inside of an invalid element, by fixing the element child sanitization loop when invalid elements are replaced with children. #4511, #4512
- 🐛 Fix media modal pre-selecting a previously-selected featured image in the post editor. #4414, #4453
See full diff of changes.
Props Alain Schlesser (@schlessera), Alberto Medina (@amedina), Pierre Gordon (@pierlon), Ryan Kienstra (@kienstra), and Weston Ruter (@westonruter).
Installation
Now available to install via WordPress.org.
You can also install the amp.zip
build linked below by uploading it in the WordPress admin.
To install as a Git submodule, consider 1.5.2-built.