Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert #725: Abstract notion of AMP Actions #858

Merged
merged 1 commit into from
Jan 13, 2018

Conversation

westonruter
Copy link
Member

@westonruter westonruter commented Jan 13, 2018

With the work being done on canonical AMP support for themes in #857, the changes in #725 turned out to not be the route we decided on. Instead of fleshing out the plugins AMP post template system, we're going the route of re-using native WordPress theme templates and then just turning off or replacing actions that aren't compatible with AMP, and then adding filters to ensure content is output as valid AMP with final output buffering to ensure that all of the required AMP component scripts are included.

This reverts commit c5237e6, reversing changes made to 41af096.

Fixes merge conflicts introduced by #810 and #828. It back-ports the improvements to phpdoc and coding standards.

@westonruter westonruter added this to the v0.6 milestone Jan 13, 2018
…ns-class-hierarchy"

This reverts commit c5237e6, reversing
changes made to 41af096.

Fixes merge conflicts introduced by #810 and #828.
Copy link
Member

@amedina amedina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. LGTM.

westonruter added a commit that referenced this pull request Jan 13, 2018
@westonruter westonruter merged commit f9eba05 into 0.6 Jan 13, 2018
@westonruter westonruter deleted the revert/amp-actions-abstraction branch January 13, 2018 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants