-
Notifications
You must be signed in to change notification settings - Fork 384
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
Pass entire Reader mode templates through post-processor #3781
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6717e4f
Pass entire Reader mode templates through post-processor
westonruter 0c34778
Fix tests in WP<5.2
westonruter 8070c56
Transition away from AMP_Post_Template to traditional template tags
westonruter 531d807
Show 'View Comments' link if comments closed but comments are present
westonruter 68c26e5
Fix passing featured image to Reader template
westonruter 22c725b
Prevent dev mode in Reader mode template
westonruter 82cd73c
Fix AMP_Render_Post_Test (again) by setting up postdata
westonruter 6da568c
Revert changes to meta-comments-link to preserve prior behavior
westonruter b1555eb
Ensure amp_post_template_data filter-supplied data takes precedence
westonruter aed6c0e
Restore use of post template data and getter
westonruter 29abc85
fixup! Prevent dev mode in Reader mode template
westonruter a3cb92a
Remove obsolete back-compat prior to WP<4.9
westonruter 8da4f68
Improve phpdoc comments including deprecated note
westonruter 93cede4
Eliminate bogus else condition
westonruter c9891b5
Use add_filter() instead of add_action(); add static keyword
westonruter d536c8f
Fix phpdoc for amp_post_template_footer
westonruter c74ba97
Move to lazy gathering of AMP_Post_Template properties
westonruter d9a3883
Remove unused private method merge_data_for_key; add phpdoc
westonruter ca89bf9
Remove unused (and deprecated) functions amp_load_fasterimage_classes…
westonruter 5b0ec96
Move deprecated functions to deprecated.php
westonruter e8f290b
Add deprecation flags
westonruter fcb344c
Move additional deprecated files to deprecated.php
westonruter c31f190
Remove usage of deprecated function
westonruter 9fb3514
Discontinue requiring unused amp-post-template-functions.php in theme…
westonruter 56a7f1c
Remove restrictions on use of important and 50KB style limit when dir…
westonruter 4e64c14
Use AMP__DIR__ instead of __DIR__
westonruter 968f594
Merge branch 'develop' of github.com:ampproject/amp-wp into update/re…
westonruter d10ab18
Add E2E tests to allow_failures
westonruter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it's great to see
amp.php
simplified.