2.1.2
版本发布时间: 2021-05-18 13:06:44
ampproject/amp-wp最新发布版本:2.5.4(2024-07-16 02:45:13)
This 2.1.2 release follows up on 2.1.1 from 10 days ago, fixing bugs reported by a few users and making a couple enhancements.
For the full list of issues and pull requests in this release, please see the 2.1.2 milestone with 3 closed issues and 12 merged pull requests. See full diff of changes.
Changelog
- Clarify what Paired URL Structures are and when to change them. (#6227, #6229)
- Account for recursive request parsing in
PairedRouting
, fixing compatibility with the Custom Permalinks. (#6197) - Prevent fatal error in
HeroCandidateFiltering
when attachment post is not available. (#6256) - Defer obtaining URL for Customizer preview until AMP Customizer is accessed to improve WP Admin performance in Reader mode. (#6198)
- Always provide polyfill for dependencies if WP or Gutenberg plugin is not supported. Ensure onboarding wizard works on WP<5.6. Fixes WP 4.9 + Gutenberg:
Uncaught TypeError: Object(...) is not a function
on settings page. (#6194, #6225) - Bump editor support minimum requirements to prevent errors on post editor in WP<5.6. (#6236, #6193)
- Avoid possibility of
ob_start()
being called during output buffer processing to avoid fatal error. Theamp_get_schemaorg_metadata()
function is now called attemplate_redirect
before output buffer processing. (#6232, #6233) - Show HTTP error code when failing to fetch. (#6255)
- Use last PR commit hash for plugin version code and add query param to cache bust plugin build downloads. (#6259)
- Fix
lint-js
job failure for dependabot PRs. (#6253) - Fix dependabot username in GHA workflows. (#6254)
Props
Alain Schlesser (@schlessera), Alberto A. Medina (@amedina), Evan Mattson (@aaemnnosttv), Joshua Wold (@jwold), @nbcsteveb, 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.1.2-built.
1、 amp.zip 1.73MB