From 8deee1b5f9577e57f04c718141e8160223ea16b4 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 13:00:44 -0800 Subject: [PATCH 01/14] Rename wp-assets directory to .wordpress-org --- .dev-lib | 2 +- {wp-assets => .wordpress-org}/banner-1544x500.png | Bin {wp-assets => .wordpress-org}/banner-772x250.png | Bin {wp-assets => .wordpress-org}/icon-128x128.png | Bin {wp-assets => .wordpress-org}/icon-256x256.png | Bin {wp-assets => .wordpress-org}/screenshot-1.png | Bin {wp-assets => .wordpress-org}/screenshot-2.png | Bin {wp-assets => .wordpress-org}/screenshot-3.png | Bin {wp-assets => .wordpress-org}/screenshot-4.png | Bin {wp-assets => .wordpress-org}/screenshot-5.png | Bin {wp-assets => .wordpress-org}/screenshot-6.png | Bin Gruntfile.js | 2 +- readme.md | 14 +++++++------- 13 files changed, 9 insertions(+), 9 deletions(-) rename {wp-assets => .wordpress-org}/banner-1544x500.png (100%) rename {wp-assets => .wordpress-org}/banner-772x250.png (100%) rename {wp-assets => .wordpress-org}/icon-128x128.png (100%) rename {wp-assets => .wordpress-org}/icon-256x256.png (100%) rename {wp-assets => .wordpress-org}/screenshot-1.png (100%) rename {wp-assets => .wordpress-org}/screenshot-2.png (100%) rename {wp-assets => .wordpress-org}/screenshot-3.png (100%) rename {wp-assets => .wordpress-org}/screenshot-4.png (100%) rename {wp-assets => .wordpress-org}/screenshot-5.png (100%) rename {wp-assets => .wordpress-org}/screenshot-6.png (100%) diff --git a/.dev-lib b/.dev-lib index e772a583186..e1d2cf9d629 100644 --- a/.dev-lib +++ b/.dev-lib @@ -1,5 +1,5 @@ # Variables needed to generate readme README_MD_TITLE="AMP Plugin for WordPress" -ASSETS_DIR=wp-assets +ASSETS_DIR=.wordpress-org DEFAULT_BASE_BRANCH=develop diff --git a/wp-assets/banner-1544x500.png b/.wordpress-org/banner-1544x500.png similarity index 100% rename from wp-assets/banner-1544x500.png rename to .wordpress-org/banner-1544x500.png diff --git a/wp-assets/banner-772x250.png b/.wordpress-org/banner-772x250.png similarity index 100% rename from wp-assets/banner-772x250.png rename to .wordpress-org/banner-772x250.png diff --git a/wp-assets/icon-128x128.png b/.wordpress-org/icon-128x128.png similarity index 100% rename from wp-assets/icon-128x128.png rename to .wordpress-org/icon-128x128.png diff --git a/wp-assets/icon-256x256.png b/.wordpress-org/icon-256x256.png similarity index 100% rename from wp-assets/icon-256x256.png rename to .wordpress-org/icon-256x256.png diff --git a/wp-assets/screenshot-1.png b/.wordpress-org/screenshot-1.png similarity index 100% rename from wp-assets/screenshot-1.png rename to .wordpress-org/screenshot-1.png diff --git a/wp-assets/screenshot-2.png b/.wordpress-org/screenshot-2.png similarity index 100% rename from wp-assets/screenshot-2.png rename to .wordpress-org/screenshot-2.png diff --git a/wp-assets/screenshot-3.png b/.wordpress-org/screenshot-3.png similarity index 100% rename from wp-assets/screenshot-3.png rename to .wordpress-org/screenshot-3.png diff --git a/wp-assets/screenshot-4.png b/.wordpress-org/screenshot-4.png similarity index 100% rename from wp-assets/screenshot-4.png rename to .wordpress-org/screenshot-4.png diff --git a/wp-assets/screenshot-5.png b/.wordpress-org/screenshot-5.png similarity index 100% rename from wp-assets/screenshot-5.png rename to .wordpress-org/screenshot-5.png diff --git a/wp-assets/screenshot-6.png b/.wordpress-org/screenshot-6.png similarity index 100% rename from wp-assets/screenshot-6.png rename to .wordpress-org/screenshot-6.png diff --git a/Gruntfile.js b/Gruntfile.js index ba4b2e2cfec..d2995914d20 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -97,7 +97,7 @@ module.exports = function( grunt ) { options: { plugin_slug: 'amp', build_dir: 'build', - assets_dir: 'wp-assets', + assets_dir: '.wordpress-org', }, }, }, diff --git a/readme.md b/readme.md index 1425a1dffa4..8533a40aaec 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # AMP Plugin for WordPress -![Banner](wp-assets/banner-1544x500.png) +![Banner](.wordpress-org/banner-1544x500.png) The Official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. **Contributors:** [google](https://profiles.wordpress.org/google), [xwp](https://profiles.wordpress.org/xwp), [automattic](https://profiles.wordpress.org/automattic), [westonruter](https://profiles.wordpress.org/westonruter), [albertomedina](https://profiles.wordpress.org/albertomedina), [schlessera](https://profiles.wordpress.org/schlessera), [swissspidy](https://profiles.wordpress.org/swissspidy), [pierlo](https://profiles.wordpress.org/pierlo), [johnwatkins0](https://profiles.wordpress.org/johnwatkins0), [joshuawold](https://profiles.wordpress.org/joshuawold), [ryankienstra](https://profiles.wordpress.org/ryankienstra) @@ -76,27 +76,27 @@ Please see the [FAQs on amp-wp.org](https://amp-wp.org/documentation/frequently- ### New onboarding wizard to help you get started. -![New onboarding wizard to help you get started.](wp-assets/screenshot-1.png) +![New onboarding wizard to help you get started.](.wordpress-org/screenshot-1.png) ### Built for developers and non-technical content creators alike. -![Built for developers and non-technical content creators alike.](wp-assets/screenshot-2.png) +![Built for developers and non-technical content creators alike.](.wordpress-org/screenshot-2.png) ### Theme selection to enhance the Reader mode experience. -![Theme selection to enhance the Reader mode experience.](wp-assets/screenshot-3.png) +![Theme selection to enhance the Reader mode experience.](.wordpress-org/screenshot-3.png) ### Preview how your site looks across desktop and mobile before finalising changes. -![Preview how your site looks across desktop and mobile before finalising changes.](wp-assets/screenshot-4.png) +![Preview how your site looks across desktop and mobile before finalising changes.](.wordpress-org/screenshot-4.png) ### Customize the design of AMP pages in the Customizer. -![Customize the design of AMP pages in the Customizer.](wp-assets/screenshot-5.png) +![Customize the design of AMP pages in the Customizer.](.wordpress-org/screenshot-5.png) ### Reopen the onboarding wizard, change individual options, or manage advanced settings. -![Reopen the onboarding wizard, change individual options, or manage advanced settings.](wp-assets/screenshot-6.png) +![Reopen the onboarding wizard, change individual options, or manage advanced settings.](.wordpress-org/screenshot-6.png) ## Changelog ## From 9709e8f4317daaa91463a6785f30a25425fb73f9 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 13:37:07 -0800 Subject: [PATCH 02/14] Eliminate readme.txt in favor of updated readme.md --- .dev-lib | 5 +-- Gruntfile.js | 12 ++----- readme.md | 76 ++++++++++++++++++++----------------------- readme.txt | 91 ---------------------------------------------------- 4 files changed, 38 insertions(+), 146 deletions(-) delete mode 100644 readme.txt diff --git a/.dev-lib b/.dev-lib index e1d2cf9d629..fdace7e1948 100644 --- a/.dev-lib +++ b/.dev-lib @@ -1,5 +1,2 @@ -# Variables needed to generate readme - -README_MD_TITLE="AMP Plugin for WordPress" -ASSETS_DIR=.wordpress-org +# This is used by wp-dev-lib/scripts/check-diff.sh but the functionality is no longer used, so it could be removed. DEFAULT_BASE_BRANCH=develop diff --git a/Gruntfile.js b/Gruntfile.js index d2995914d20..9999c3a08bf 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -10,7 +10,7 @@ module.exports = function( grunt ) { 'assets', 'back-compat', 'includes', - 'readme.txt', + 'readme.md', 'src', 'templates', 'vendor', @@ -71,9 +71,6 @@ module.exports = function( grunt ) { stdout: true, stderr: true, }, - readme: { - command: './vendor/xwp/wp-dev-lib/scripts/generate-markdown-readme', // Generate the readme.md. - }, verify_matching_versions: { command: 'php bin/verify-version-consistency.php', }, @@ -114,10 +111,6 @@ module.exports = function( grunt ) { 'build', ] ); - grunt.registerTask( 'readme', [ - 'shell:readme', - ] ); - grunt.registerTask( 'build', function() { const done = this.async(); const spawnQueue = []; @@ -169,7 +162,7 @@ module.exports = function( grunt ) { dest: 'build', expand: true, options: { - noProcess: [ '*/**', 'LICENSE' ], // That is, only process amp.php and readme.txt. + noProcess: [ '*/**', 'LICENSE' ], // That is, only process amp.php and readme.md. process( content, srcpath ) { let matches, version, versionRegex; if ( /amp\.php$/.test( srcpath ) ) { @@ -192,7 +185,6 @@ module.exports = function( grunt ) { }, }, } ); - grunt.task.run( 'readme' ); grunt.task.run( 'copy' ); grunt.task.run( 'shell:composer_install' ); diff --git a/readme.md b/readme.md index 8533a40aaec..9094051629a 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,21 @@ - -# AMP Plugin for WordPress +# AMP -![Banner](.wordpress-org/banner-1544x500.png) -The Official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. +Contributors: google, xwp, automattic, westonruter, albertomedina, schlessera, swissspidy, pierlo, johnwatkins0, joshuawold, ryankienstra +Tags: amp, mobile, optimization, accelerated mobile pages, framework, components, blocks, performance, ux, seo, official +Requires at least: 4.9 +Tested up to: 5.6 +Stable tag: 2.0.10 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Requires PHP: 5.6 + +![The Official AMP Plugin for WordPress](.wordpress-org/banner-1544x500.png) -**Contributors:** [google](https://profiles.wordpress.org/google), [xwp](https://profiles.wordpress.org/xwp), [automattic](https://profiles.wordpress.org/automattic), [westonruter](https://profiles.wordpress.org/westonruter), [albertomedina](https://profiles.wordpress.org/albertomedina), [schlessera](https://profiles.wordpress.org/schlessera), [swissspidy](https://profiles.wordpress.org/swissspidy), [pierlo](https://profiles.wordpress.org/pierlo), [johnwatkins0](https://profiles.wordpress.org/johnwatkins0), [joshuawold](https://profiles.wordpress.org/joshuawold), [ryankienstra](https://profiles.wordpress.org/ryankienstra) -**Tags:** [amp](https://wordpress.org/plugins/tags/amp), [mobile](https://wordpress.org/plugins/tags/mobile), [optimization](https://wordpress.org/plugins/tags/optimization), [accelerated mobile pages](https://wordpress.org/plugins/tags/accelerated-mobile-pages), [framework](https://wordpress.org/plugins/tags/framework), [components](https://wordpress.org/plugins/tags/components), [blocks](https://wordpress.org/plugins/tags/blocks), [performance](https://wordpress.org/plugins/tags/performance), [ux](https://wordpress.org/plugins/tags/ux), [seo](https://wordpress.org/plugins/tags/seo), [official](https://wordpress.org/plugins/tags/official) -**Requires at least:** 4.9 -**Tested up to:** 5.6 -**Stable tag:** 2.0.10 -**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) -**Requires PHP:** 5.6 +The Official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. [![Build Status](https://github.com/ampproject/amp-wp/workflows/Build,%20test%20&%20measure/badge.svg)](https://github.com/ampproject/amp-wp/actions?query=branch%3Adevelop+workflow%3A%22Build%2C+test+%26+measure%22) [![Coverage Status](https://img.shields.io/codecov/c/github/ampproject/amp-wp/develop.svg)](https://codecov.io/gh/ampproject/amp-wp) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com) -## Description ## +## Description This official plugin from the AMP project enables AMP content publishing with WordPress in a way that is fully and seamlessly integrated with the standard mechanisms of the platform. The key features are the following: @@ -25,7 +26,9 @@ This official plugin from the AMP project enables AMP content publishing with Wo 5. **Provide a turnkey solution** for segments of WordPress creators to be able to go from zero to publishing AMP pages in no time, regardless of technical expertise or availability of resources. The official AMP plugin for WordPress is a powerful tool that helps you build user-first WordPress sites, that is, sites that are fast, beautiful, secure, engaging, and accessible. A user-first site will deliver experiences that delight your users and therefore will increase user engagement and the success of your site. And, contrary to the popular belief of being only for mobile sites (it doesn't stand for Accelerated _Mobile_ Pages anymore!), AMP is a fully responsive web component framework, which means that you can provide AMP experiences for your users on both mobile and desktop devices. -### AMP Plugin Audience: Everyone ### + +### AMP Plugin Audience: Everyone + This plugin can be used by both developers and non-developer users: - If you are a developer or tech savvy user, you can take advantage of advanced developer tools provided by the AMP plugin to fix validation issues your site may have and reach full AMP compatibility. @@ -33,7 +36,8 @@ This plugin can be used by both developers and non-developer users: The bottom line is that regardless of your technical expertise, the AMP plugin can be useful to you. -### Template Modes ### +### Template Modes + The official AMP plugin enables site owners to serve AMP to their users in different ways, which are referred to as template modes: Standard, Transitional, and Reader. The differences between them are in terms of the number of themes used (one or two), and the number of versions of the site (non-AMP, AMP). Each template mode brings its own value proposition and serves the needs of different scenarios in the large and diverse WordPress ecosystem. And in all cases, the AMP plugin provides as much support as possible in terms of automating the generation of AMP pages, as well as keeping the option chosen AMP valid. In a nutshell, the available template modes are the following: **Standard Mode**: This template mode is the ideal, as there is only one theme for serving requests and a single version of your site: the AMP version. Besides enabling all of your site to be AMP-first, this has the added benefit of reducing development and maintenance costs. This mode is the best choice for sites where the theme and plugins used in the site are fully AMP-compatible. It's also a good option if some components are not AMP-compatible but the site owner has the resources or the know-how to fix them. See our [showcase](https://amp-wp.org/showcases/?template_mode=standard) of sites using Standard mode. @@ -44,15 +48,18 @@ The official AMP plugin enables site owners to serve AMP to their users in diffe Different modes would be recommended in different scenarios, depending on the specifics of your site and your role. As you configure the plugin, it will suggest the mode that might be best for you based on its assessment of the theme and plugins used on your site. And, independently of the mode used, you have the option of serving all or only a portion of your site as AMP. This gives you all the flexibility you need to get started enabling AMP on your site progressively. -### AMP Ecosystem ### +### AMP Ecosystem + It is possible today to assemble great looking user-first sites powered by the AMP plugin by picking and choosing themes and plugins from a growing AMP-compatible ecosystem. In this context, the AMP plugin acts as an orchestrator of the overall AMP content creation and publishing process; it serves as a validator and enforcer making it easier to not only get to AMP experiences, but to maintain them with confidence. Many popular theme and plugin developers have taken efforts to support the official AMP plugin. If you are using a theme like Astra or Newspack, or if you are using plugins like Yoast or WP Forms — they will work out of the box! You can see the [growing list](https://amp-wp.org/ecosystem/) of tested themes and plugins. -### AMP Development ### +### AMP Development + Although there is a growing ecosystem of AMP-compatible WordPress components, there is still a ways to go before majority AMP compatibility in the ecosystem. If you are a developer, or you have the resources to pursue development projects, you may want in some cases to develop custom plugin or theme to serve your specific needs. The official AMP plugin can be of great help to you by providing powerful and effective developer tools that shed light into the AMP development process as it is done in WordPress. This includes mechanisms for detailing the root causes of validation issues, the contextual space to understand them properly, and methods to deal with them during the process of achieving full AMP compatibility. Read more about [Developer Tools](https://amp-wp.org/documentation/getting-started/developer-tools/). -### Getting Started ### +### Getting Started + To learn more about the plugin and start leveraging its capabilities to power your AMP publishing workflow, check [the official AMP plugin product site](https://amp-wp.org/). If you are a developer, we encourage you to [follow along](https://github.com/ampproject/amp-wp) or [contribute](https://github.com/ampproject/amp-wp/blob/develop/contributing.md) to the development of this plugin on GitHub. @@ -61,48 +68,35 @@ We have put up a comprehensive [FAQ page](https://amp-wp.org/documentation/frequ But if you need some help, we are right here to support you in the plugin's [support forum](https://wordpress.org/support/plugin/amp/), as well as through [GitHub issues](https://github.com/ampproject/amp-wp/issues) (for technical bugs and feature requests). And our thriving [AMP Expert ecosystem](https://amp-wp.org/ecosystem/amp-experts/) has indie freelancers to enterprise grade agencies in case you need commercial support! - -## Installation ## +## Installation 1. Upload the folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the "Plugins" menu in WordPress. 3. Navigate to AMP > Settings in the WordPress admin to configure the plugin; use the onboarding wizard there for guided setup. -## Frequently Asked Questions ## +## Frequently Asked Questions Please see the [FAQs on amp-wp.org](https://amp-wp.org/documentation/frequently-asked-questions/). Don't see an answer to your question? Please [search the support forum](https://wordpress.org/support/plugin/amp/) to see if it has already been discussed. Otherwise, please [open a new support topic](https://wordpress.org/support/plugin/amp/#new-post). -## Screenshots ## - -### New onboarding wizard to help you get started. - -![New onboarding wizard to help you get started.](.wordpress-org/screenshot-1.png) - -### Built for developers and non-technical content creators alike. - -![Built for developers and non-technical content creators alike.](.wordpress-org/screenshot-2.png) - -### Theme selection to enhance the Reader mode experience. - -![Theme selection to enhance the Reader mode experience.](.wordpress-org/screenshot-3.png) +## Screenshots -### Preview how your site looks across desktop and mobile before finalising changes. +1. New onboarding wizard to help you get started.
![New onboarding wizard to help you get started.](.wordpress-org/screenshot-1.png) -![Preview how your site looks across desktop and mobile before finalising changes.](.wordpress-org/screenshot-4.png) +2. Built for developers and non-technical content creators alike.
![Built for developers and non-technical content creators alike.](.wordpress-org/screenshot-2.png) -### Customize the design of AMP pages in the Customizer. +3. Theme selection to enhance the Reader mode experience.
![Theme selection to enhance the Reader mode experience.](.wordpress-org/screenshot-3.png) -![Customize the design of AMP pages in the Customizer.](.wordpress-org/screenshot-5.png) +4. Preview how your site looks across desktop and mobile before finalising changes.
![Preview how your site looks across desktop and mobile before finalising changes.](.wordpress-org/screenshot-4.png) -### Reopen the onboarding wizard, change individual options, or manage advanced settings. +5. Customize the design of AMP pages in the Customizer.
![Customize the design of AMP pages in the Customizer.](.wordpress-org/screenshot-5.png) -![Reopen the onboarding wizard, change individual options, or manage advanced settings.](.wordpress-org/screenshot-6.png) +6. Reopen the onboarding wizard, change individual options, or manage advanced settings.
![Reopen the onboarding wizard, change individual options, or manage advanced settings.](.wordpress-org/screenshot-6.png) -## Changelog ## +## Changelog For the plugin’s changelog, please see [the Releases page on GitHub](https://github.com/ampproject/amp-wp/releases). -## Upgrade Notice ## +## Upgrade Notice If you currently use older versions of the plugin in Reader mode, it is strongly encouraged to pick a Reader theme instead of using the legacy Reader templates. You may also want to switch to Standard mode or Transitional mode if you have AMP-compatible theme and plugins. diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 3c751c1f21b..00000000000 --- a/readme.txt +++ /dev/null @@ -1,91 +0,0 @@ -=== AMP === -Contributors: google, xwp, automattic, westonruter, albertomedina, schlessera, swissspidy, pierlo, johnwatkins0, joshuawold, ryankienstra -Tags: amp, mobile, optimization, accelerated mobile pages, framework, components, blocks, performance, ux, seo, official -Requires at least: 4.9 -Tested up to: 5.6 -Stable tag: 2.0.10 -License: GPLv2 or later -License URI: http://www.gnu.org/licenses/gpl-2.0.html -Requires PHP: 5.6 - -The Official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. - -== Description == - -This official plugin from the AMP project enables AMP content publishing with WordPress in a way that is fully and seamlessly integrated with the standard mechanisms of the platform. The key features are the following: - -1. **Automate the process of generating AMP-valid markup as much as possible**, letting users follow the standard workflows they are used to in WordPress. -2. **Provide effective validation tools** to help users deal with AMP incompatibilities when they happen, including mechanisms for **identifying**, **contextualizing**, and **resolving issues caused by validation errors**. -3. **Provide development support** to make it easier for WordPress developers to build AMP-compatible ecosystem components and build websites and solutions with AMP-compatibility built-in. -4. **Support the serving of AMP pages** to make it easier for site owners to take advantage of mobile redirection, AMP-to-AMP linking, and generation of optimized AMP by default (via PHP port of AMP Optimizer). -5. **Provide a turnkey solution** for segments of WordPress creators to be able to go from zero to publishing AMP pages in no time, regardless of technical expertise or availability of resources. - -The official AMP plugin for WordPress is a powerful tool that helps you build user-first WordPress sites, that is, sites that are fast, beautiful, secure, engaging, and accessible. A user-first site will deliver experiences that delight your users and therefore will increase user engagement and the success of your site. And, contrary to the popular belief of being only for mobile sites (it doesn't stand for Accelerated _Mobile_ Pages anymore!), AMP is a fully responsive web component framework, which means that you can provide AMP experiences for your users on both mobile and desktop devices. - -= AMP Plugin Audience: Everyone = - -This plugin can be used by both developers and non-developer users: - -- If you are a developer or tech savvy user, you can take advantage of advanced developer tools provided by the AMP plugin to fix validation issues your site may have and reach full AMP compatibility. -- If you are not a developer or tech savvy user, or you just simply don't want to deal with validation issues and tackling development tasks, the AMP plugin allows you to assemble fully AMP-compatible sites with different configurations taking advantage of AMP-compatible components. The plugin helps you to deal with validation issues by removing invalid AMP markup in cases where it is possible, or altogether suppressing AMP-incompatible plugins on AMP pages. - -The bottom line is that regardless of your technical expertise, the AMP plugin can be useful to you. - -= Template Modes = - -The official AMP plugin enables site owners to serve AMP to their users in different ways, which are referred to as template modes: Standard, Transitional, and Reader. The differences between them are in terms of the number of themes used (one or two), and the number of versions of the site (non-AMP, AMP). Each template mode brings its own value proposition and serves the needs of different scenarios in the large and diverse WordPress ecosystem. And in all cases, the AMP plugin provides as much support as possible in terms of automating the generation of AMP pages, as well as keeping the option chosen AMP valid. In a nutshell, the available template modes are the following: - -**Standard Mode**: This template mode is the ideal, as there is only one theme for serving requests and a single version of your site: the AMP version. Besides enabling all of your site to be AMP-first, this has the added benefit of reducing development and maintenance costs. This mode is the best choice for sites where the theme and plugins used in the site are fully AMP-compatible. It's also a good option if some components are not AMP-compatible but the site owner has the resources or the know-how to fix them. See our [showcase](https://amp-wp.org/showcases/?template_mode=standard) of sites using Standard mode. - -**Transitional Mode**: In this mode there is also a single theme used, but there can be two versions of each page: AMP and non-AMP. The active theme is used for serving the AMP and non-AMP versions of a given URL. This mode is a good choice if the site uses a theme that is not fully AMP compatible, but the functional differences between the AMP and non-AMP pages are acceptable (due to graceful degradation). In this case, users accessing the site from mobile devices can get the AMP version and get an optimized experience which also retains the look and feel of the non-AMP version. Check out our [showcase](https://amp-wp.org/showcases/?template_mode=transitional) of sites using Transitional mode. - -**Reader Mode**: In this mode there are two different themes, one for AMP pages and another for non-AMP pages, and therefore there are also two versions of the site. This mode may be selected when the site is using an AMP-incompatible theme, but the level of incompatibilities is significant without graceful degradation. It's also a good choice if you are not technically savvy (or simply do not want to deal with the incompatibilities) and therefore want simplified and robust workflows that allow you to take advantage of AMP with minimal effort. - -Different modes would be recommended in different scenarios, depending on the specifics of your site and your role. As you configure the plugin, it will suggest the mode that might be best for you based on its assessment of the theme and plugins used on your site. And, independently of the mode used, you have the option of serving all or only a portion of your site as AMP. This gives you all the flexibility you need to get started enabling AMP on your site progressively. - -= AMP Ecosystem = - -It is possible today to assemble great looking user-first sites powered by the AMP plugin by picking and choosing themes and plugins from a growing AMP-compatible ecosystem. In this context, the AMP plugin acts as an orchestrator of the overall AMP content creation and publishing process; it serves as a validator and enforcer making it easier to not only get to AMP experiences, but to maintain them with confidence. - -Many popular theme and plugin developers have taken efforts to support the official AMP plugin. If you are using a theme like Astra or Newspack, or if you are using plugins like Yoast or WP Forms — they will work out of the box! You can see the [growing list](https://amp-wp.org/ecosystem/) of tested themes and plugins. - -= AMP Development = - -Although there is a growing ecosystem of AMP-compatible WordPress components, there is still a ways to go before majority AMP compatibility in the ecosystem. If you are a developer, or you have the resources to pursue development projects, you may want in some cases to develop custom plugin or theme to serve your specific needs. The official AMP plugin can be of great help to you by providing powerful and effective developer tools that shed light into the AMP development process as it is done in WordPress. This includes mechanisms for detailing the root causes of validation issues, the contextual space to understand them properly, and methods to deal with them during the process of achieving full AMP compatibility. Read more about [Developer Tools](https://amp-wp.org/documentation/getting-started/developer-tools/). - -= Getting Started = - -To learn more about the plugin and start leveraging its capabilities to power your AMP publishing workflow, check [the official AMP plugin product site](https://amp-wp.org/). - -If you are a developer, we encourage you to [follow along](https://github.com/ampproject/amp-wp) or [contribute](https://github.com/ampproject/amp-wp/blob/develop/contributing.md) to the development of this plugin on GitHub. - -We have put up a comprehensive [FAQ page](https://amp-wp.org/documentation/frequently-asked-questions/) and extensive documentation to help you start as smoothly as possible. - -But if you need some help, we are right here to support you in the plugin's [support forum](https://wordpress.org/support/plugin/amp/), as well as through [GitHub issues](https://github.com/ampproject/amp-wp/issues) (for technical bugs and feature requests). And our thriving [AMP Expert ecosystem](https://amp-wp.org/ecosystem/amp-experts/) has indie freelancers to enterprise grade agencies in case you need commercial support! - -== Installation == - -1. Upload the folder to the `/wp-content/plugins/` directory. -2. Activate the plugin through the "Plugins" menu in WordPress. -3. Navigate to AMP > Settings in the WordPress admin to configure the plugin; use the onboarding wizard there for guided setup. - -== Frequently Asked Questions == - -Please see the [FAQs on amp-wp.org](https://amp-wp.org/documentation/frequently-asked-questions/). Don't see an answer to your question? Please [search the support forum](https://wordpress.org/support/plugin/amp/) to see if it has already been discussed. Otherwise, please [open a new support topic](https://wordpress.org/support/plugin/amp/#new-post). - -== Screenshots == - -1. New onboarding wizard to help you get started. -2. Built for developers and non-technical content creators alike. -3. Theme selection to enhance the Reader mode experience. -4. Preview how your site looks across desktop and mobile before finalising changes. -5. Customize the design of AMP pages in the Customizer. -6. Reopen the onboarding wizard, change individual options, or manage advanced settings. - -== Changelog == - -For the plugin’s changelog, please see [the Releases page on GitHub](https://github.com/ampproject/amp-wp/releases). - -== Upgrade Notice == - -If you currently use older versions of the plugin in Reader mode, it is strongly encouraged to pick a Reader theme instead of using the legacy Reader templates. You may also want to switch to Standard mode or Transitional mode if you have AMP-compatible theme and plugins. From da64055746c964d8797ba0b8fa6a68f8f124a62a Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 13:51:58 -0800 Subject: [PATCH 03/14] Add logo.svg --- .wordpress-org/logo.svg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .wordpress-org/logo.svg diff --git a/.wordpress-org/logo.svg b/.wordpress-org/logo.svg new file mode 100644 index 00000000000..a655b8d66e1 --- /dev/null +++ b/.wordpress-org/logo.svg @@ -0,0 +1,8 @@ + + + AMP + + + + + From 2d60f29b7a29051cd89a01607734a85ccd07305e Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 15:15:54 -0800 Subject: [PATCH 04/14] Use uppercase convention for markdown files --- code_of_conduct.md => CODE_OF_CONDUCT.md | 0 contributing.md => CONTRIBUTING.md | 0 Gruntfile.js | 4 ++-- readme.md => README.md | 0 security.md => SECURITY.md | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename code_of_conduct.md => CODE_OF_CONDUCT.md (100%) rename contributing.md => CONTRIBUTING.md (100%) rename readme.md => README.md (100%) rename security.md => SECURITY.md (100%) diff --git a/code_of_conduct.md b/CODE_OF_CONDUCT.md similarity index 100% rename from code_of_conduct.md rename to CODE_OF_CONDUCT.md diff --git a/contributing.md b/CONTRIBUTING.md similarity index 100% rename from contributing.md rename to CONTRIBUTING.md diff --git a/Gruntfile.js b/Gruntfile.js index 9999c3a08bf..a5bbf0f3335 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -10,7 +10,7 @@ module.exports = function( grunt ) { 'assets', 'back-compat', 'includes', - 'readme.md', + 'README.md', 'src', 'templates', 'vendor', @@ -162,7 +162,7 @@ module.exports = function( grunt ) { dest: 'build', expand: true, options: { - noProcess: [ '*/**', 'LICENSE' ], // That is, only process amp.php and readme.md. + noProcess: [ '*/**', 'LICENSE' ], // That is, only process amp.php and README.md. process( content, srcpath ) { let matches, version, versionRegex; if ( /amp\.php$/.test( srcpath ) ) { diff --git a/readme.md b/README.md similarity index 100% rename from readme.md rename to README.md diff --git a/security.md b/SECURITY.md similarity index 100% rename from security.md rename to SECURITY.md From 10f553c36ba7356b13ec01b0859265924b8166a5 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 15:22:58 -0800 Subject: [PATCH 05/14] Update references to contributing docs --- README.md | 2 +- bin/amphtml-update.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9094051629a..09a0da955be 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Although there is a growing ecosystem of AMP-compatible WordPress components, th To learn more about the plugin and start leveraging its capabilities to power your AMP publishing workflow, check [the official AMP plugin product site](https://amp-wp.org/). -If you are a developer, we encourage you to [follow along](https://github.com/ampproject/amp-wp) or [contribute](https://github.com/ampproject/amp-wp/blob/develop/contributing.md) to the development of this plugin on GitHub. +If you are a developer, we encourage you to [follow along](https://github.com/ampproject/amp-wp) or [contribute](https://github.com/ampproject/amp-wp/wiki/Contributing) to the development of this plugin on GitHub. We have put up a comprehensive [FAQ page](https://amp-wp.org/documentation/frequently-asked-questions/) and extensive documentation to help you start as smoothly as possible. diff --git a/bin/amphtml-update.py b/bin/amphtml-update.py index bef51a1c06d..0b83287c3ec 100755 --- a/bin/amphtml-update.py +++ b/bin/amphtml-update.py @@ -9,7 +9,7 @@ from within a Linux environment such as VVV. See the Updating Allowed Tags and Attributes section of the Contributing guide -https://github.com/ampproject/amp-wp/blob/develop/contributing.md#updating-allowed-tags-and-attributes. +https://github.com/ampproject/amp-wp/wiki/Engineering-Guidelines#updating-allowed-tags-and-attributes. Then have fun sanitizing your AMP posts! """ From c7fa6e4c476a8b755be06a8a8e36d77820d8e492 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 15:30:37 -0800 Subject: [PATCH 06/14] Add video series and embedded video to readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 09a0da955be..746654ee4a6 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ This plugin can be used by both developers and non-developer users: The bottom line is that regardless of your technical expertise, the AMP plugin can be useful to you. +https://www.youtube.com/watch?v=BTbjxU3d918&list=PLXTOW_XMsIDRGRr5QDffrvND8Qh1RndFb&index=5 + +For more videos like this, check out the ongoing [AMP for WordPress video series](https://www.youtube.com/playlist?list=PLXTOW_XMsIDRGRr5QDffrvND8Qh1RndFb). + ### Template Modes The official AMP plugin enables site owners to serve AMP to their users in different ways, which are referred to as template modes: Standard, Transitional, and Reader. The differences between them are in terms of the number of themes used (one or two), and the number of versions of the site (non-AMP, AMP). Each template mode brings its own value proposition and serves the needs of different scenarios in the large and diverse WordPress ecosystem. And in all cases, the AMP plugin provides as much support as possible in terms of automating the generation of AMP pages, as well as keeping the option chosen AMP valid. In a nutshell, the available template modes are the following: From 5ba8175d90ade267eb3dd1c7256d28c82d21719e Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 15:45:59 -0800 Subject: [PATCH 07/14] Move the video up higher in the description --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 746654ee4a6..d02ab3318f0 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,19 @@ Requires PHP: 5.6 ![The Official AMP Plugin for WordPress](.wordpress-org/banner-1544x500.png) -The Official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. +The official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. [![Build Status](https://github.com/ampproject/amp-wp/workflows/Build,%20test%20&%20measure/badge.svg)](https://github.com/ampproject/amp-wp/actions?query=branch%3Adevelop+workflow%3A%22Build%2C+test+%26+measure%22) [![Coverage Status](https://img.shields.io/codecov/c/github/ampproject/amp-wp/develop.svg)](https://codecov.io/gh/ampproject/amp-wp) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com) ## Description -This official plugin from the AMP project enables AMP content publishing with WordPress in a way that is fully and seamlessly integrated with the standard mechanisms of the platform. The key features are the following: +This official plugin from the AMP project enables AMP content publishing with WordPress in a way that is fully and seamlessly integrated with the standard mechanisms of the platform. + +https://www.youtube.com/watch?v=s52JNMT59s8&list=PLXTOW_XMsIDRGRr5QDffrvND8Qh1RndFb + +For more videos like this, check out the ongoing [AMP for WordPress video series](https://www.youtube.com/playlist?list=PLXTOW_XMsIDRGRr5QDffrvND8Qh1RndFb). + +The key features are the following: 1. **Automate the process of generating AMP-valid markup as much as possible**, letting users follow the standard workflows they are used to in WordPress. 2. **Provide effective validation tools** to help users deal with AMP incompatibilities when they happen, including mechanisms for **identifying**, **contextualizing**, and **resolving issues caused by validation errors**. @@ -36,10 +42,6 @@ This plugin can be used by both developers and non-developer users: The bottom line is that regardless of your technical expertise, the AMP plugin can be useful to you. -https://www.youtube.com/watch?v=BTbjxU3d918&list=PLXTOW_XMsIDRGRr5QDffrvND8Qh1RndFb&index=5 - -For more videos like this, check out the ongoing [AMP for WordPress video series](https://www.youtube.com/playlist?list=PLXTOW_XMsIDRGRr5QDffrvND8Qh1RndFb). - ### Template Modes The official AMP plugin enables site owners to serve AMP to their users in different ways, which are referred to as template modes: Standard, Transitional, and Reader. The differences between them are in terms of the number of themes used (one or two), and the number of versions of the site (non-AMP, AMP). Each template mode brings its own value proposition and serves the needs of different scenarios in the large and diverse WordPress ecosystem. And in all cases, the AMP plugin provides as much support as possible in terms of automating the generation of AMP pages, as well as keeping the option chosen AMP valid. In a nutshell, the available template modes are the following: @@ -103,4 +105,3 @@ For the plugin’s changelog, please see [the Releases page on GitHub](https://g ## Upgrade Notice If you currently use older versions of the plugin in Reader mode, it is strongly encouraged to pick a Reader theme instead of using the legacy Reader templates. You may also want to switch to Standard mode or Transitional mode if you have AMP-compatible theme and plugins. - From 83a28c8acde93e19ef8de2e3183ecf0b9335446d Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 16:02:37 -0800 Subject: [PATCH 08/14] Update verify-version-consistency for README.md --- bin/verify-version-consistency.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/verify-version-consistency.php b/bin/verify-version-consistency.php index a7d2837ddbc..635358ecf03 100755 --- a/bin/verify-version-consistency.php +++ b/bin/verify-version-consistency.php @@ -14,12 +14,12 @@ $versions = []; -$readme_txt = file_get_contents( dirname( __FILE__ ) . '/../readme.txt' ); -if ( ! preg_match( '/Stable tag:\s+(?P\S+)/i', $readme_txt, $matches ) ) { +$readme_md = file_get_contents( dirname( __FILE__ ) . '/../README.md' ); +if ( ! preg_match( '/Stable tag:\s+(?P\S+)/i', $readme_md, $matches ) ) { echo "Could not find stable tag in readme\n"; exit( 1 ); } -$versions['readme.txt#stable-tag'] = $matches['version']; +$versions['README.md#stable-tag'] = $matches['version']; $plugin_file = file_get_contents( dirname( __FILE__ ) . '/../amp.php' ); if ( ! preg_match( '/\*\s*Version:\s*(?P\d+\.\d+(?:.\d+)?(-\w+)?)/', $plugin_file, $matches ) ) { From b8365e60dedd904bbbf60d9aa7993c82e17a027c Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 18:10:08 -0800 Subject: [PATCH 09/14] Rename logo.svg to icon.svg --- .wordpress-org/{logo.svg => icon.svg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .wordpress-org/{logo.svg => icon.svg} (100%) diff --git a/.wordpress-org/logo.svg b/.wordpress-org/icon.svg similarity index 100% rename from .wordpress-org/logo.svg rename to .wordpress-org/icon.svg From eff0d1319215aa07170f45282b6b329e881f880a Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 18:14:49 -0800 Subject: [PATCH 10/14] Break up badge images onto separate lines Co-authored-by: Pierre Gordon <16200219+pierlon@users.noreply.github.com> --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d02ab3318f0..1fc46df7f43 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,9 @@ Requires PHP: 5.6 The official AMP Plugin, supported by the AMP team. Formerly Accelerated Mobile Pages, AMP enables great experiences across both mobile and desktop. -[![Build Status](https://github.com/ampproject/amp-wp/workflows/Build,%20test%20&%20measure/badge.svg)](https://github.com/ampproject/amp-wp/actions?query=branch%3Adevelop+workflow%3A%22Build%2C+test+%26+measure%22) [![Coverage Status](https://img.shields.io/codecov/c/github/ampproject/amp-wp/develop.svg)](https://codecov.io/gh/ampproject/amp-wp) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com) +[![Build Status](https://github.com/ampproject/amp-wp/workflows/Build,%20test%20&%20measure/badge.svg)](https://github.com/ampproject/amp-wp/actions?query=branch%3Adevelop+workflow%3A%22Build%2C+test+%26+measure%22) +[![Coverage Status](https://img.shields.io/codecov/c/github/ampproject/amp-wp/develop.svg)](https://codecov.io/gh/ampproject/amp-wp) +[![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com) ## Description From 69981df2635e9ee22cff3f65732f70bb961aefb4 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 18:16:07 -0800 Subject: [PATCH 11/14] Add missing trailing whitespace to add line break Co-authored-by: Pierre Gordon <16200219+pierlon@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fc46df7f43..7d80f2f9698 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # AMP -Contributors: google, xwp, automattic, westonruter, albertomedina, schlessera, swissspidy, pierlo, johnwatkins0, joshuawold, ryankienstra +Contributors: google, xwp, automattic, westonruter, albertomedina, schlessera, swissspidy, pierlo, johnwatkins0, joshuawold, ryankienstra Tags: amp, mobile, optimization, accelerated mobile pages, framework, components, blocks, performance, ux, seo, official Requires at least: 4.9 Tested up to: 5.6 From 005b2d3bd242d324dd32869626b3ebef751d54e5 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 18:17:25 -0800 Subject: [PATCH 12/14] Remove extra spaces in tags --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d80f2f9698..7080dd0a801 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # AMP Contributors: google, xwp, automattic, westonruter, albertomedina, schlessera, swissspidy, pierlo, johnwatkins0, joshuawold, ryankienstra -Tags: amp, mobile, optimization, accelerated mobile pages, framework, components, blocks, performance, ux, seo, official +Tags: amp, mobile, optimization, accelerated mobile pages, framework, components, blocks, performance, ux, seo, official Requires at least: 4.9 Tested up to: 5.6 Stable tag: 2.0.10 From 9757dd91709e2d85fd0f915120ed6201732b6ef9 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 18:19:14 -0800 Subject: [PATCH 13/14] Update title for engineering guide Co-authored-by: Pierre Gordon <16200219+pierlon@users.noreply.github.com> --- bin/amphtml-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/amphtml-update.py b/bin/amphtml-update.py index 0b83287c3ec..d66355d131b 100755 --- a/bin/amphtml-update.py +++ b/bin/amphtml-update.py @@ -8,7 +8,7 @@ from within a Linux environment such as VVV. -See the Updating Allowed Tags and Attributes section of the Contributing guide +See the Updating Allowed Tags and Attributes section of the Engineering Guidelines https://github.com/ampproject/amp-wp/wiki/Engineering-Guidelines#updating-allowed-tags-and-attributes. Then have fun sanitizing your AMP posts! From 2f999e34f59d080bcf9fa8c4b3b543cb190420b4 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 24 Jan 2021 18:21:38 -0800 Subject: [PATCH 14/14] Remove unused wp-dev-lib --- .dev-lib | 2 -- composer.json | 3 +-- composer.lock | 55 +++++++++------------------------------------------ 3 files changed, 10 insertions(+), 50 deletions(-) delete mode 100644 .dev-lib diff --git a/.dev-lib b/.dev-lib deleted file mode 100644 index fdace7e1948..00000000000 --- a/.dev-lib +++ /dev/null @@ -1,2 +0,0 @@ -# This is used by wp-dev-lib/scripts/check-diff.sh but the functionality is no longer used, so it could be removed. -DEFAULT_BASE_BRANCH=develop diff --git a/composer.json b/composer.json index a7e08a703b1..d7c7aee5503 100644 --- a/composer.json +++ b/composer.json @@ -34,8 +34,7 @@ "wp-cli/export-command": "^2.0", "wp-cli/extension-command": "^2.0", "wp-cli/wp-cli": "^2.4", - "wp-coding-standards/wpcs": "2.3.0", - "xwp/wp-dev-lib": "1.6.5" + "wp-coding-standards/wpcs": "2.3.0" }, "suggest": { "ext-intl": "Enables use of idn_to_utf8() to convert punycode domains to UTF-8 for use with an AMP Cache.", diff --git a/composer.lock b/composer.lock index e42a35660ca..f8656d9ac6c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7bd93b274131302b00ce7b7542fc4bb6", + "content-hash": "bfcdcf8dcd4a64609fd40e24887565cb", "packages": [ { "name": "ampproject/amp-toolbox", @@ -184,6 +184,13 @@ "phpunit/phpunit": "^4.8.36" }, "type": "library", + "extra": { + "patches_applied": { + "1. Add additional validation for size unit ": "https://github.com/sabberworm/PHP-CSS-Parser/compare/3bc5ded67d77a52b81608cfc97f23b1bb0678e2f%5E...468da3441945e9c1bf402a3340b1d8326723f7d9.patch", + "2. Validate name-start code points for identifier ": "https://github.com/sabberworm/PHP-CSS-Parser/compare/d42b64793f2edaffeb663c63e9de79069cdc0831%5E...113df5d55e94e21c6402021dfa959924941d4c29.patch", + "3. Fix parsing CSS selectors which contain commas ": "https://github.com/westonruter/PHP-CSS-Parser/compare/master...10a2501c119abafced3e4014aa3c0a3453a86f67.patch" + } + }, "autoload": { "psr-4": { "Sabberworm\\CSS\\": "lib/Sabberworm/CSS/" @@ -205,14 +212,7 @@ "parser", "stylesheet" ], - "time": "2020-07-21T18:39:46+00:00", - "extra": { - "patches_applied": { - "1. Add additional validation for size unit ": "https://github.com/sabberworm/PHP-CSS-Parser/compare/3bc5ded67d77a52b81608cfc97f23b1bb0678e2f%5E...468da3441945e9c1bf402a3340b1d8326723f7d9.patch", - "2. Validate name-start code points for identifier ": "https://github.com/sabberworm/PHP-CSS-Parser/compare/d42b64793f2edaffeb663c63e9de79069cdc0831%5E...113df5d55e94e21c6402021dfa959924941d4c29.patch", - "3. Fix parsing CSS selectors which contain commas ": "https://github.com/westonruter/PHP-CSS-Parser/compare/master...10a2501c119abafced3e4014aa3c0a3453a86f67.patch" - } - } + "time": "2020-07-21T18:39:46+00:00" }, { "name": "willwashburn/stream", @@ -4236,43 +4236,6 @@ "wordpress" ], "time": "2020-05-13T23:57:56+00:00" - }, - { - "name": "xwp/wp-dev-lib", - "version": "1.6.5", - "source": { - "type": "git", - "url": "https://github.com/xwp/wp-dev-lib.git", - "reference": "a62ccca94f9995f294e12d500c45856adff81e34" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/xwp/wp-dev-lib/zipball/a62ccca94f9995f294e12d500c45856adff81e34", - "reference": "a62ccca94f9995f294e12d500c45856adff81e34", - "shasum": "" - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "XWP", - "email": "technology@xwp.co", - "homepage": "https://xwp.co" - } - ], - "description": "Common code used during development of WordPress plugins and themes", - "homepage": "https://github.com/xwp/wp-dev-lib", - "keywords": [ - "development", - "plugins", - "themes", - "tools", - "wordpress" - ], - "time": "2020-10-16T04:03:40+00:00" } ], "aliases": [],