2.0.5
Three weeks after the 2.0.4 release, this 2.0.5 maintenance release includes minor bugfixes and enhancements. See milestone with 8 issues and 13 PRs. See also full diff.
Changelog
Embeds
- Fix handling of Imgur embeds. #4697, #5482, #5485
- Include additional
sandbox
tokens for converted iframes, fixing embeds including OneDrive, Loom, and YouTube. #5256, #5483 - Ensure iframes in embeds with aspect ratios get responsive layout. #5486
Developer Tools
- Allow marking multiple validation errors as reviewed or unreviewed at once via bulk actions on validated URL screen. #5427, #5429
- Fix undefined index notice for some titles for validation errors related to layout. #5425
Editor
- Fix the AMP Preview button not being shown in the block editor in the latest versions of Gutenberg. #5441
Localization
- Fix showing translated strings on settings screen (and hopefully other screens once translated). #5459, #5461
- Remove non-compulsory plugin headers related to localization. #5491
CSS
- Prevent tree shaking CSS class name selectors for
amp-next-page
styles when component used on page. #5444, #5445
Parsing
- Always normalize HTML doctype to HTML5, preventing leakage of validation error when theme uses doctypes other than HTML 4.0 Transitional. #5462, #5464
Reader Mode
Performance
- Add expiry to stylesheet cache transients so they are not autoloaded. #5476
Optimizer
- Fix
assertSimilarMarkup()
helper and tests that it obfuscated. #5421
Props
Thanks to the many contributors who made this release possible through work on development, design, testing, project management, and more:
Alain Schlesser (schlessera), Alberto Medina (amedina), James Osborne (jamesozzie), Jeremy Herve (jeherve), John Watkins (johnwatkins0), Joshua Wold (jwold), Kasper Myram (kmyram), Pierre Gordon (pierlon), Ricky Lee Whittemore (rickalee), 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 2.0.5-built.