-
Notifications
You must be signed in to change notification settings - Fork 383
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
Handle general form posts #923
Merged
Merged
Changes from 19 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c229cfc
handle general form requests around comment post logic
DavidCramer e68a752
Merge develop
DavidCramer 96c0bac
record that action was converted to action-xhr and only handle conver…
DavidCramer 024d4e0
rename function to be less ambiguous
DavidCramer 967a8c6
dont add wp_redirect filter on comment-handler
DavidCramer 4b259df
add appending error template for converted forms
DavidCramer ac86bf2
redirect page if redirect-template hits
DavidCramer eca4789
update docs
DavidCramer 1cbfff7
merge develop
DavidCramer 9c965ad
rename handler function
DavidCramer 83a0799
simplify handler function
DavidCramer 09de420
correct phpdoc return tag
DavidCramer 40934c1
update @link with correct url
DavidCramer 6dd4e9d
rename redirect function
DavidCramer a9d9bfd
catch data for redirection and reload inclusion hackery
DavidCramer 17ab3fd
check redirect location has a host first
DavidCramer 92f3a76
Allow all formatting tags to be returned in submit error response
westonruter 1593f88
Remove support for handling non-redirecting post requests, for now
westonruter 3791cd8
Ensure relative redirect URLs get made absolute for AMP
westonruter 7a4b398
add process isolation
DavidCramer d38f03e
remove isolation tag
DavidCramer 3b3b545
add test for amp_intercept_post_request_redirect
DavidCramer 4090e4e
add test for amp_handle_xhr_request
DavidCramer ee75de2
Augment amp_intercept_post_request_redirect test with checking output
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
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
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.
Oh nice one!
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.
@westonruter this is a little hard to test as it's on a die handler and causes much issues. I left it out of the burrent test. Perhaps you could give a suggestion?