Skip to content

Create a wp-cli script to test AMP compatibility of native WordPress widgets #839

@kienstra

Description

@kienstra

Acceptance criteria:
AC1: Create a wp-cli script in the directory bin/.
AC2. This will add widgets to a sidebar, in order to test their AMP compatibility (see this script for reference).
AC2: Add an instance of every native WordPress widget.
AC3: The success message should simply ask the user to visit a page that has the sidebar. It doesn’t need to create a test page, like in create-embed-test-post.php.
AC4: Need to conduct a Discovery to determine all native WordPress sidebar widgets, and the support that exists for them today. Screenshot: https://d.pr/i/vBQaFt .
AC5: One story will be created as an outcome of the Discovery to address enhanced/added support for sidebar widgets.

Tasks

  • Create script, like was done for embeds, that generates core widgets in all their relevant variations, to populate the first registered sidebar it the theme.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions