Enable AMP on your WordPress site, the WordPress way.
For the full list of issues and pull requests in this release, please see the 2.5.3 milestone.
Full Changelog: https://github.com/ampproject/amp-wp/compare/2.5.2...2.5.3
Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pascal Birchler (@swissspidy), Pavan Patil (@pavanpatil1), Weston Ruter (@westonruter)
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.5.3-built.
For the full list of issues and pull requests in this release, please see the 2.5.2 milestone.
Chuck Grimmett (@cagrimmett), Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pavan Patil (@pavanpatil1), Weston Ruter (@westonruter)
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.5.2-built.
This is a maintenance and security release which fixes a reflected XSS vulnerability when mobile redirection is enabled. For prior affected versions, the fix is backported to new patch releases: v2.0.12, v2.1.5, v2.2.5, v2.3.1, and v2.4.3. These are available in the WordPress Plugin Directory but not on GitHub.
For the full list of issues and pull requests in this release, please see the 2.5.1 milestone.
Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Weston Ruter (@westonruter)
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.5.1-built.
For the full list of issues and pull requests in this release, please see the 2.5.0 milestone with 10 closed issues and 23 merged pull requests (minus dependency updates).
amp-story-audio-sticker
to spec. https://github.com/ampproject/amp-wp/pull/7603
siblings_disallowed
from spec. https://github.com/ampproject/amp-wp/pull/7597
_admin_bar_bump_cb
in WordPress 6.4. https://github.com/ampproject/amp-wp/issues/7619, https://github.com/ampproject/amp-wp/pull/7635
Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Matthew Riley MacPherson (@tofumatt), Milind More (@milindmore22), Parikshit Adhikari (@parikshit-adhikari), Pascal Birchler (@swissspidy), Pavan Patil (@pavanpatil1), Weston Ruter (@westonruter)
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.5.0-built.
For the full list of issues and pull requests in this release, please see the 2.4.2 milestone with 8 closed issues and 13 merged pull requests (minus dependency updates).
ReaderThemeSupportFeatures::theme_has_theme_json()
with latest changes. (#7582, #7583)@wordpress/*
package updates. (#7579, #7576)Andre Esteves Perrone (@artneo7), David Vallejo (@thyngster), Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pooja Killekar (@pooja-muchandikar), Weston Ruter (@westonruter)
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.4.2-built.
For the full list of issues and pull requests in this release, please see the 2.4.1 milestone with 4 closed issues and 10 merged pull requests (minus dependency updates).
theme.json
for Reader theme. https://github.com/ampproject/amp-wp/issues/7471, https://github.com/ampproject/amp-wp/pull/7481
p.has-background
in legacy theme. https://github.com/ampproject/amp-wp/pull/7496
Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pascal Birchler (@swissspidy), Pavan Patil (@pavanpatil1), Weston Ruter (@westonruter)
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.4.1-built.
For the full list of issues and pull requests in this release, please see the 2.4 milestone with 22 closed issues and 39 merged pull requests (minus dependency updates).
ReaderThemeSupportFeatures::get_relative_luminance_from_hex()
. https://github.com/ampproject/amp-wp/issues/7285, https://github.com/ampproject/amp-wp/pull/7286
is_frontend_url()
to verify passed url path with home_url()
to prevent adding paired suffix to other sites. https://github.com/ampproject/amp-wp/issues/7329, https://github.com/ampproject/amp-wp/pull/7330
img
tag when lightbox and carousel are enabled. https://github.com/ampproject/amp-wp/issues/7152, https://github.com/ampproject/amp-wp/pull/7158
amp option
wp cli command to manage plugin options. https://github.com/ampproject/amp-wp/issues/5783, https://github.com/ampproject/amp-wp/pull/7430
<SiteScanNotice />
component. https://github.com/ampproject/amp-wp/pull/7448
npm run test:php
errors in wp-env package. https://github.com/ampproject/amp-wp/issues/7263, https://github.com/ampproject/amp-wp/pull/7264
mask-type
attribute with mask-type
mask element css property. https://github.com/ampproject/amp-wp/pull/7246
Andy Blackwell (@andyblackwell), Dhaval Parekh (@dhaval-parekh), Edi Amin (@ediamin), Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pascal Birchler (@swissspidy), Pavan Patil (@pavanpatil1), Weston Ruter (@westonruter)
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.4.0-built.
For the full list of changes in this release, please see the 2.3 milestone, with 12 closed issues and 16 merged pull requests (minus dependency updates). Read on for the full details.
img
instead of amp-img
/amp-anim
. https://github.com/ampproject/amp-wp/issues/7035, https://github.com/ampproject/amp-wp/pull/6805, https://github.com/ampproject/amp-wp/pull/7066
heights
attribute as well as SSR for amp-audio
. https://github.com/ampproject/amp-wp/pull/7146, https://github.com/ampproject/amp-wp/pull/7121, https://github.com/ampproject/amp-wp/issues/7130
AmpProject\AmpWP
package to 4. https://github.com/ampproject/amp-wp/issues/4733, https://github.com/ampproject/amp-wp/pull/7096
dangerouslySetInnerHTML
with createInterpolateElement
. https://github.com/ampproject/amp-wp/issues/6759, https://github.com/ampproject/amp-wp/pull/7000
Thanks to the many contributors who made this release possible through work on development, design, testing, project management, and more:
Alberto Medina (@amedina), Dhaval Parekh (@dhaval-parekh), Edi Amin (@ediamin), Fellyph Cintra (@fellyph), Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pascal Birchler (@swissspidy), Piotr Delawski (@delawski), Pooja Killekar (@pooja-muchandikar), Weston Ruter (@westonruter)
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.3.0-built.
Following up on the 2.2.2 (and 2.2.3) release from last week, this 2.2.4 milestone addresses a regression in the handling of hero images on optimized AMP pages, specifically when the data-hero
attribute had been manually-supplied by a theme/plugin author.
noscript
fallback elements. (#7036)noscript > img
fallbacks are present (#7039, https://github.com/ampproject/amp-toolbox-php/pull/516)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.2.4-built.
This is a PHP 5.6 compatibility hotfix for yesterday's 2.2.2 release. There were no code changes other than regenerating the Composer autoload files on PHP 5.6 (see built diff). There was a syntax error being caused in PHP 5.6 due to Composer generating syntax that requires PHP 7+. See https://github.com/ampproject/amp-wp/pull/7030.
👉 Note: The next AMP plugin version will likely increase the minimum PHP version to 7 since only 6.6% of WordPress installs are currently on PHP 5.6, which is also a legacy PHP version that is no longer maintained and is much slower than PHP 7 (or PHP 8).
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.2.3-built.