Skip to content

2.1.4

Compare
Choose a tag to compare
@westonruter westonruter released this 31 Aug 19:22
· 14 commits to 2.1 since this release
5f577ec

This is a maintenance release, following up on 2.1.3 from 2 months ago. (Work is ongoing for the 2.2 release which is due out the end of September.) For the full list of issues and pull requests in this release, please see the 2.1.4 milestone with 11 closed issues and 36 merged pull requests. See full diff of changes.

Changelog

Validation

  • Update AMP validator spec. (#6436, #6530, #6532)
  • Permit the amp-carousel script to be printed on page when there is just amp-lightbox-gallery and no amp-carousel, allowing v0.2 to be used instead of autoloading v0.1. (#6509)
  • Remove muted attribute from amp-video and its video fallback when autoplay is present, preventing AMP validation warnings from occurring. (#6581)
  • Remove extraneous calc() from media queries in Legacy theme, preventing AMP validation warnings from being reported. (#6557, #6559)

Embeds & Media

  • Update the TikTok embed handler to use amp-tiktok component. (#6060, #6558, #6586, #6574)
  • Prevent videos with unknown dimensions from appearing as stretched by giving object-fit:contain styling (as is done for images with unknown dimensions). (#6578, #6571, #6576)
  • Add featured image selector to pre-publish panel to accompany notice recommending that one be set. (#6563, #6580)
  • Recognize WebP images as being aligned with featured image recommendations. (#6536, #6565)

Routing

  • Fix redirect loop when there are multiple spaces in the url. (#6492, #6494)
  • Short-circuit validate_url() when attempting validation requests to other sites (which will always fail). (#6582)

Compatibility

  • Fix fatal error in PHP 8. (#6505, #6506)
  • Prevent wp_enqueue_scripts() notice from appearing on the new block-based Widgets screen. (#6521, #6534)
  • Fix styling issues with visually-hidden components when the latest Gutenberg is active. (#6235, #6585, #6570)
  • Fix display of step icons in Onboarding Wizard sidebar in Safari. (#6490, #6496)

Infrastructure & Misc

  • Fix broken Site Health test for “Transient caching of parsed stylesheets is disabled”, specifically the “Re-enable transient caching” button. (#6549, #6552)
  • Fix issues with service dependencies which could prevent proper activation when using plugins like TGMPA. (#6459, #6529, #6484, #6553)
  • Use built-in caching from actions/setup-node GHA. (#6544, #6541)
  • Decouple tests from external TestCase dependency. (#6539, #6538)
  • Fix PHP 8 unit test GHA job. (#6533, #6525)
  • Add Composer plugin to correctly autoload PHP CSS Parser dependency. (#6472, #6464)
  • Fix test failure in WP 5.8. (#6468)
  • Update Composer dependencies. (#6447)
  • Update JS test snapshots. (#6575)

Props

Alain Schlesser (@schlessera), Alberto Medina (@amedina), @arthur791004, Dhaval Parekh (@dhaval-parekh), Joshua Wold (@jwold), @ktmn, Maitreyie Chavan (@maitreyie-chavan), Milind More (@milindmore22), Pascal Birchler (@swissspidy), Pierre Gordon (@pierlon), Piotr Delawski (@delawski), Roland Farkas (@rolandfarkasCOM), Thrijith Thankachan (@thrijith), 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.4-built.