-
Notifications
You must be signed in to change notification settings - Fork 846
Map Block AMP Compatibility Alternate Approach #13405
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
dbf9efe
Query param that causes post with Map Blocks to render as complete HT…
jeffersonrabb de8993d
Increment Map Block counter after render.
jeffersonrabb e62dc6c
Switch to 1-based map block counter.
jeffersonrabb 6123add
Use XPath to file Map Block instances by class.
jeffersonrabb 0f0e617
Post ID in Map Rendering URLs. Track instances by post to enable disp…
jeffersonrabb 35d3599
Map block ordinal as a static variable rather than global.
jeffersonrabb 8ca36bf
Map block sizing in AMP requests.
jeffersonrabb 9fd9c0f
Rework iframe URL to work correctly in the loop.
jeffersonrabb eb14dd1
Simplified aspect ratio.
jeffersonrabb 48d8a53
Slight simplification to XPath retrievasl of Map Block container.
jeffersonrabb 17e2cc7
Apply the_content filter to single block page content.
jeffersonrabb a07566e
Suppress libxml warnings.
jeffersonrabb 4d44e46
Check for DOMDocument class.
jeffersonrabb 0733c86
Remove filter_input, access $_GET object directly.
jeffersonrabb 9c4d794
Remove short array syntax.
jeffersonrabb f7d08cb
Resolve PHP notice.
jeffersonrabb 1000d17
Avoid calling get_the_ID() unnecessarily, escape the counter.
jeffersonrabb d9492d1
Comment for the_content filter. Pass post_html by reference to libxml.
jeffersonrabb 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.