WordPress AMP v1.0 beta 4

AMP Plugin Release v1.0-beta4

Authored by

Today we released 1.0-beta4 release. We are one step closer to releasing the v1.0 version of the AMP plugin.

Newly Redesigned Compatibility Tool

This release includes the newly redesigned Compatibility Tool feature. Care has gone into designing this feature to improve the developer’s experience in converting sites to AMP. It provides better screen designs as well as an improved workflow to help you through the AMP validation process.

Let’s look at some example screenshots to demonstrate this feature:

Compatibility Tool's validation error index
Redesigned AMP Validation Error Index page
Compatibility Tool - AMP Invalid URLs Page
Redesigned AMP Invalid URLs Page
AMP Compatibility Tool - Single URL Errors Page
Redesigned AMP Single URL Errors Page
AMP Compatibility Tool - Single Error Term Page
Redesigned AMP Single Error Term Page

We Need Your Help

We need your help to test this v0.1-beta4 release of the AMP plugin. We ask that you install the plugin, work with the Compatibility Tool, provide feedback on the workflow, and help us to ensure it’s ready for a RC release.

Please download the pre-release build (amp.zip). Then install and activate in your staging site. You can also checkout the 1.0-beta4-built tag from GitHub.

Did you find a bug? Do you have an idea for a feature request? Share it with us by opening an issue on the plugin repository.

What Changed

Changes in this release include:

  1. Redesign the screens for Invalid URLs and Error Index. (1394, 1361, 1444, 1448, 1452, 1397, 1446, 1364, 1449, 1418, 1451, 1429, 1408, 1414, 1409)
  2. Omit validation errors sanitized by filter or tree-shaking option; since sanitization is forced, there is no point to store. (1413)
  3. Prevent URL validation from happening during bulk imports. (1424, 1404)
  4. Normalize invalid URL stored for amp_invalid_url post type. (1436)
  5. Expose and store queried object for validated URL; show edit link. (1426, 1428, 1433)
  6. Re-validate the site when switching modes and show the results in a notice. (1443)
  7. Improve access to AMP admin screens for users who are not administrators. (1437)
  8. Display a welcome notice on the main ‘AMP Settings’ page. (1442)
  9. Fix URL protocol validation and parsing attribute values with multiple URLs. (1411, 1410)
  10. Restore ability to customize ‘amp’ query var when theme support added. (1455)
  11. Add slug constants for theme support and post type support. (1456)
  12. Fix ability to add AMP support for custom post types. (1441)
  13. Fix stretched logo and header issues in Twenty Seventeen. (1419)
  14. Add caption support to all amp-instagram embeds. (1438, 822)
  15. Fix PHP warning generated by calls to idn_to_utf8(). (1440, 1439)
  16. Fix PHP fatal error during AMP validation when a plugin uses a class method as an output buffer callback. (1453)
  17. Update minimum PHP version from 5.3.2 to 5.3.6. (1407, 1406)
  18. Improve package.json and composer.json. (1405)
  19. Ensure PHP file generated for use by translate.wordpress.org is free of syntax errors. (1427, 1416)

You can also see merged pull requests and commits since 1.0-beta3. For a full list of the closed issues and merged pull requests in the 1.0 release cycle so far, see the 1.0 milestone. See also the 1.0 project board for the status what is remaining for the 1.0 release.

For more technical details on the latest changes in 1.0, please see the wiki pages for Adding Theme Support and Implementing Interactivity.

Previous Beta Releases

Here are the previous beta releases:

This beta version includes all work thus far as we prepare for a release candidate (RC-1) and then the v1.0 stable release.

Not Quite Ready for Production Yet

As usual, we tested this plugin quite a bit, but this software is still in development. We recommend you not (quite) yet ship this to your production site (although we are using it for ourselves in production).

 

3 thoughts on “AMP Plugin Release v1.0-beta4”

  1. This error index is really useful. Right now, one can only see the errored pages via Google Search Console and solving an error takes 48 hours to update.

    Via this error index page, I believe it will be much easier to see which pages the validator flagged and to fix it.

    Really nice, and useful, work!

    1. Also it is important to note is that errors are listed in WP are caught so that search engine indexers won’t encounter the errors on your site’s AMP pages. Either the plugin will be sanitizing (stripping out) the invalid markup, or it will redirect from the AMP version to the non-AMP version (in paired mode), or it will remove the amp attribute from the HTML element (in native mode).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.