2.0.5
版本发布时间: 2020-10-15 05:01:41
ampproject/amp-wp最新发布版本:2.5.4(2024-07-16 02:45:13)
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. https://github.com/ampproject/amp-wp/issues/4697, https://github.com/ampproject/amp-wp/issues/5482, https://github.com/ampproject/amp-wp/pull/5485
- Include additional
sandbox
tokens for converted iframes, fixing embeds including OneDrive, Loom, and YouTube. https://github.com/ampproject/amp-wp/issues/5256, https://github.com/ampproject/amp-wp/pull/5483 - Ensure iframes in embeds with aspect ratios get responsive layout. https://github.com/ampproject/amp-wp/pull/5486
Developer Tools
- Allow marking multiple validation errors as reviewed or unreviewed at once via bulk actions on validated URL screen. https://github.com/ampproject/amp-wp/issues/5427, https://github.com/ampproject/amp-wp/pull/5429
- Fix undefined index notice for some titles for validation errors related to layout. https://github.com/ampproject/amp-wp/pull/5425
Editor
- Fix the AMP Preview button not being shown in the block editor in the latest versions of Gutenberg. https://github.com/ampproject/amp-wp/pull/5441
Localization
- Fix showing translated strings on settings screen (and hopefully other screens once translated). https://github.com/ampproject/amp-wp/issues/5459, https://github.com/ampproject/amp-wp/pull/5461
- Remove non-compulsory plugin headers related to localization. https://github.com/ampproject/amp-wp/pull/5491
CSS
- Prevent tree shaking CSS class name selectors for
amp-next-page
styles when component used on page. https://github.com/ampproject/amp-wp/issues/5444, https://github.com/ampproject/amp-wp/pull/5445
Parsing
- Always normalize HTML doctype to HTML5, preventing leakage of validation error when theme uses doctypes other than HTML 4.0 Transitional. https://github.com/ampproject/amp-wp/issues/5462, https://github.com/ampproject/amp-wp/pull/5464
Reader Mode
- Fix display of publish date in legacy post templates when previewing a draft. https://github.com/ampproject/amp-wp/issues/5449, https://github.com/ampproject/amp-wp/pull/5450
Performance
- Add expiry to stylesheet cache transients so they are not autoloaded. https://github.com/ampproject/amp-wp/pull/5476
Optimizer
- Fix
assertSimilarMarkup()
helper and tests that it obfuscated. https://github.com/ampproject/amp-wp/pull/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.
1、 amp.zip 1.51MB