Skip to content

Improve handling of WordPress post embeds #809

@westonruter

Description

@westonruter

The handling of post embeds isn't great in AMP right now because the p.wp-embedded-content isn't getting replaced with the iframe.wp-embedded-content like it does in the non-AMP version. The result is some doubling of content.

Compare in a post I just published:

Canonical (non-AMP) version:

image

AMP version:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedBugSomething isn't workingChangeloggedWhether the issue/PR has been added to release notes.EmbedsP1Medium prioritySanitizersWS:CoreWork stream for Plugin core

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions