1.5.3
This is the third patch release for the 1.5 branch following the v1.5.2 release. The following changes are included in this release:
- ✨ Add “accessibility” sanitizer to ensure
role
andtabindex
attributes are present for elements withon="tap:…"
attributes. #4528, #4535 - ✨ Add button into Site Health test to re-enable CSS transient caching. #4523, #4522
- ✨ Reduce scenarios where DB writes are performed during frontend requests by restricting plugin upgrade routine to admin-authenticated requests. #3284, #4538
- 🐛 Prevent styles from being removed in Customizer preview with Standard mode. #4551, #4553
- 🐛 Restore unification of multi-page post content in Reader mode. #4547
- 🐛 Force status code of validation responses to be
200
so that validation results can be obtained for non-OK responses (e.g. the 404 page). #4532, #4533 - 🐛 Use title case for Paired Browsing link in edit post screen. #4540
- 🐛 Ensure that validation query vars persist through redirects. #4544
- 🐛 Fix various issues with Mustache templates. #4446, #4583
- Skip validating attributes for layout (e.g.
width
,height
, andsizes
) when elements are inside of Mustache templates (in bothtemplate
elements andscript
elements). - Skip validating attributes containing Mustache template variables when the element is inside of a Mustache template.
- Ensure that form sanitizer recognizes Mustache templates located in
script[type=text/plain][template=amp-template]
elements in addition totemplate
elements. - Skip processing
style
attributes that contain Mustache template variables inside ofscript[type=text/plain][template=amp-template]
elements in addition totemplate
elements. - Ensure that URL attributes in Mustache templates do not have Mustache template variables URL-encoded.
- Skip validating attributes for layout (e.g.
- 🏗️ Add Requires plugin header information. #4520, #4543
- 🏗️ Update Optimizer test specs. #4527
- 🏗️ Update tests after
block-library/style.css
changes in Gutenberg 7.9. #4579 - 🏗️ Stub request based on test scenario to fix failing test in Optimizer library. #4588
- ❄️ Mock all embed tests and rename embed class files. #4474
- ❄️ Fix unit tests on WordPress trunk due to introduction of
loading=lazy
. #4563, #4564
See full diff of changes.
Props Alain Schlesser (@schlessera), Alberto Medina (@amedina), Kasper Myram (@kmyram), 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.3-built.