-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Labels
Milestone
Description
Bug Description
The WordPress.TV embed block includes a custom script that causes a validation error in AMP. The script is not needed for regular operation of the embed block.
Expected Behaviour
The plugin should strip the custom script during sanitization.
Steps to reproduce
- Add an embed block in the block editor with the following URL:
https://wordpress.tv/2019/10/08/the-history-of-wordpress-in-four-minutes/
- Publish the post and visit it on its AMP URL.
- See in the admin bar that the post failed validation for including a custom script.
Screenshots
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- Adding a WordPress TV embed should not cause any validation error to be reported.
Implementation brief
QA testing instructions
- See “Steps to reproduce” above.
Demo
Changelog entry
Reactions are currently unavailable

