2.0.9
版本发布时间: 2020-12-18 12:07:10
ampproject/amp-wp最新发布版本:2.5.4(2024-07-16 02:45:13)
A week after the 2.0.8 release, this 2.0.9 release includes a couple enhancements. See milestone with 8 issues/PRs, and full diff.
Changelog
- Add
amp_featured_image_minimum_width
andamp_featured_image_minimum_height
PHP filters to allow overriding the default featured image minimum dimensions (1200x675), or to disable the featured image dimension requirements by filtering both to be zero/falsy. https://github.com/ampproject/amp-wp/issues/5611, https://github.com/ampproject/amp-wp/pull/5647 - Fix ability to close Twenty Twenty-One mobile menu in some browsers. Replaces
amp-lightbox
with anamp-bind
solution. Also improves button focus persistence and nav menu scrolling. https://github.com/ampproject/amp-wp/pull/5692, https://github.com/ampproject/amp-wp/pull/5699 - Catch
InvalidService
exception whenamp_is_available()
(and friends) is called beforeplugins_loaded
. https://github.com/ampproject/amp-wp/pull/5704 - Update PWA plugin API calls for v0.6. https://github.com/ampproject/amp-wp/pull/5657
- Add export exclusions to
.gitattributes
file. https://github.com/ampproject/amp-wp/pull/5690 - Disable lazy-loading during
AMP_Scribd_Embed_Handler_Test
to fix tests in WP 5.7-alpha. https://github.com/ampproject/amp-wp/pull/5705
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), David Riccitelli (@ziodave), John Watkins (@johnwatkins0), Kasper Myram (@kmyram), naveen (@naveen17797), Pascal Birchler (@swissspidy), Pierre Gordon (@pierlon), 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.9-built.
1、 amp.zip 1.46MB