Sponsored Content
The Wayback Machine - https://web.archive.org/web/20210308135849/https://github.com/ampproject/amp-wp/releases
Skip to content

@westonruter westonruter released this Jan 13, 2021 · 45 commits to 2.0 since this release

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. #5719, #5720
  • Persist URL fragment during client-side mobile redirection and guard against infinite redirect for misconfigured caching plugins. #5767, #5775
  • Fix attempting to echo and escape _ex(). #5730
  • Harden hash comparison by using hash_equals() instead of ===. #5777
  • Fix parsing of docblocks that contain code snippets. #5743, #5748
  • Remove E2E test utils that are now available upstream. #5746, #5754, #5755
  • Update amphtml spec to 68e4db07. #5608, #5703, #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.

Assets 3
Jan 13, 2021
Build 2.0.10
Dec 27, 2020
Change composer namespace
Dec 27, 2020
Change composer namespace

@westonruter westonruter released this Dec 18, 2020 · 54 commits to 2.0 since this release

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 and amp_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. #5611, #5647
  • Fix ability to close Twenty Twenty-One mobile menu in some browsers. Replaces amp-lightbox with an amp-bind solution. Also improves button focus persistence and nav menu scrolling. #5692, #5699
  • Catch InvalidService exception when amp_is_available() (and friends) is called before plugins_loaded. #5704
  • Update PWA plugin API calls for v0.6. #5657
  • Add export exclusions to .gitattributes file. #5690
  • Disable lazy-loading during AMP_Scribd_Embed_Handler_Test to fix tests in WP 5.7-alpha. #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.

Assets 3
Dec 18, 2020
Build 2.0.9

@westonruter westonruter released this Dec 9, 2020 · 65 commits to 2.0 since this release

Three weeks after the 2.0.6/2.0.7 release, this 2.0.8 release includes a couple enhancements. See milestone with 5 issues/PRs and full diff.

Changelog

Props

Thanks to the many contributors who made this release possible through work on development, design, testing, project management, and more:

Adam Silverstein (adamsilverstein), Alain Schlesser (schlessera), Alberto Medina (amedina), John Watkins (johnwatkins0), Joshua Wold (jwold), Kasper Myram (kmyram), Milind More (milindmore22), 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.8-built.

Assets 3
Dec 9, 2020
Build 2.0.8

@westonruter westonruter released this Nov 19, 2020 · 86 commits to 2.0 since this release

In the 2.0.6 release, it turns out that the upgrade to Composer v2 (#5551, #5568) could cause a conflict with WordPress sites that are managed with Composer. So this 2.0.7 release milestone includes just one change: downgrading Composer back to v1 (#5610, #5609). No other code changes are included. See full diff.

Props

Alain Schlesser (schlessera), Artem Russakovskii (archon810), John Watkins (johnwatkins0), Maciej Maćkowiak (maciejmackowiak), 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.7-built.

Assets 3
Nov 19, 2020
Build 2.0.7