Code mangling on script use in messages/error handling.
-
A client of mine accidentally inserted the following into the ‘single opt-in message box’ with the outcome that everything after ‘; var doubleOptinMessage was output as plain text including \\n from shortcode_form.php:40:187
This is allowed by HTML5 so should really be handled.
More of a bug report than a request for help, already handling other ways of including follow buttons, etc.
<a class="twitter-follow-button" href="https://twitter.com/BlankPageSTL" data-show-count="false" data-size="large">Follow [removed]</a> <script>// <![CDATA[ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?\'http\':\'https\';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+\'://platform.twitter.com/widgets.js\';fjs.parentNode.insertBefore(js,fjs);}}(document, \'script\', \'twitter-wjs\'); // ]]></script> <div class="fb-follow" data-href="https://www.facebook.com/[removed]" data-width="150" data-colorscheme="light" data-layout="standard" data-show-faces="true"></div>https://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Code mangling on script use in messages/error handling.’ is closed to new replies.