Shortcodes: remove aws domain from Mailchimp shortcode.#7989
Merged
dereksmart merged 4 commits intomasterfrom Oct 18, 2017
Merged
Shortcodes: remove aws domain from Mailchimp shortcode.#7989dereksmart merged 4 commits intomasterfrom
dereksmart merged 4 commits intomasterfrom
Conversation
Fixes #7945 To test, create a Maichimp form as explained here: https://en.support.wordpress.com/mailchimp/ Then try to embed it into one of your posts or pages, when logged in as an editor. You should see the form transform into a shortcode on save. Make sure the form is displayed properly on the site.
Fixes #7960 Fixes #7990 - The widget now calls the shortcode file even when the shortcodes are not active, so you do not need to activate the shortcode module for this to work. - On save, the widget uses the reversal function provided in the shortcode to save a valid shortcode. - That shortcode is then displayed in the widget, as before.
Contributor
|
This is failing a mail chimp test |
Member
Author
|
I fixed the test (I didn't do we had one, I should have checked!). |
zinigor
approved these changes
Oct 18, 2017
Contributor
zinigor
left a comment
There was a problem hiding this comment.
I can confirm that the code works - the code gets converted into a shortcode and displayed in the page as the properly formed embed. I'm having problems getting it to actually work, but I think it's related to my dev site problems.
Mailchimp: save a shortcode when pasting a form code in the widget
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #7945
To test, create a Maichimp form as explained here:
https://en.support.wordpress.com/mailchimp/
Then try to embed it into one of your posts or pages, when logged in as an editor. You should see the form transform into a shortcode on save. Make sure
the form is displayed properly on the site.
Proposed changelog entry for your changes: