2.0.10
版本发布时间: 2021-01-14 06:19:30
ampproject/amp-wp最新发布版本:2.5.4(2024-07-16 02:45:13)
Four weeks after the 2.0.9 release, this 2.0.10 release includes a couple fixes and a security hardening. See milestone with 14 issues/PRs, and full diff.
Changelog
- Close Twenty Twenty and Twenty Twenty-One mobile menus when clicking on in-page anchor link menu items. https://github.com/ampproject/amp-wp/issues/5719, https://github.com/ampproject/amp-wp/pull/5720
- Persist URL fragment during client-side mobile redirection and guard against infinite redirect for misconfigured caching plugins. https://github.com/ampproject/amp-wp/issues/5767, https://github.com/ampproject/amp-wp/pull/5775
- Fix attempting to
echo
and escape_ex()
. https://github.com/ampproject/amp-wp/pull/5730 - Harden hash comparison by using
hash_equals()
instead of===
. https://github.com/ampproject/amp-wp/pull/5777 - Fix parsing of docblocks that contain code snippets. https://github.com/ampproject/amp-wp/pull/5743, https://github.com/ampproject/amp-wp/pull/5748
- Remove E2E test utils that are now available upstream. https://github.com/ampproject/amp-wp/issues/5746, https://github.com/ampproject/amp-wp/pull/5754, https://github.com/ampproject/amp-wp/pull/5755
- Update amphtml spec to 68e4db07. https://github.com/ampproject/amp-wp/pull/5608, https://github.com/ampproject/amp-wp/pull/5703, https://github.com/ampproject/amp-wp/pull/5702
Props
Thanks to the many contributors who made this release possible through work on development, design, testing, project management, and more:
Alberto Medina (@amedina), Alain Schlesser (@schlessera), Barry Ceelen (@barryceelen), John Watkins (@johnwatkins0), Kasper Myram (@kmyram), Pascal Birchler (@swissspidy), Pierre Gordon (@pierlon), @titoabreurj, 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.10-built.
1、 amp.zip 1.46MB