2.2.1
版本发布时间: 2022-02-04 08:06:20
ampproject/amp-wp最新发布版本:2.5.4(2024-07-16 02:45:13)
This is a maintenance release, following up on 2.2.0 from 2 months ago. This release improves compatibility with changes in WordPress 5.9, including block-based themes like Twenty Twenty-Two. For the full list of issues and pull requests in this release, please see the 2.2.1 milestone with 11 closed issues and 12 merged pull requests (minus dependency updates). See full diff of changes.
Changelog
- Improve logic for page cache detection in Site Health test and surface more details (#6830, #6849)
- Optimize the process of deleting AMP data during uninstallation to avoid timeouts (#6840, #6826)
- Support converting YouTube iframes with 100% width to
amp-youtube
with fixed-height layout (#6837, #6834) - Fix error in during Site Scanning in which “sources is not iterable” is raised (#6846, #6827)
- Add AMP implementation of skip link for block-based themes in Full Site Editing (#6115, #6823)
- Add support for responsive Navigation block (#6319, #6838)
- Fix AMP Lightbox and AMP Carousel for updated Gallery block format in WordPress 5.9 (#6833, #6848)
- Remove “Add lightbox effect” toggle from Image blocks nested in Gallery block as of WP 5.9 (#6832, #6833, #6871)
- Fix conflict between Plugin Suppression and AMP validation (#6809, #6812)
- Handle case in Site Scanning when no scannable URL is available (#6856, #6855)
- Fix block validation errors caused by amp-fit-text deprecation (#6872)
- Fix AMP preview button latest WordPress and Gutenberg (#6881)
- Fix test to account for
gutenberg_render_layout_support_flag()
(#6850) - Update amp-toolbox-php to 0.10.0 and update other npm and composer packages (#6824, #6886)
- Remove deprecated layout and noloading controls from editor sidebar and prevent empty “AMP Settings” panel from appearing (#6508, #6833)
Props
Alain Schlesser (@schlessera), Alberto Medina (@amedina), Bartosz Gadomski (@bartoszgadomski), Dhaval Parekh (@dhaval-parekh), Edi Amin (@ediamin), Fellyph Cintra (@fellyph), Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pascal Birchler (@swissspidy), Pierre Gordon (@pierlon), Piotr Delawski (@delawski), 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.2.1-built.
1、 amp.zip 2.71MB