Remember your stripslashes()
-
Hey, thanks for creating this plugin. It’s quite helpful. I just wanted to report that when you save the options page with an apostrophe in the Custom Comment Checkbox Text, the plugin adds a backslash in front of it. In order to remove that, you need to remember to add your stripslashes() function around the appropriate data being entered.
In file: yikes-inc-easy-mailchimp-extender/classes/class.yksemeBase.php
On lines 395 and 407 change:$this->optionVal['yks-mailchimp-optin-checkbox-text'] = $fd['yks-mailchimp-optin-checkbox-text'];
To:
$this->optionVal['yks-mailchimp-optin-checkbox-text'] = stripslashes($fd['yks-mailchimp-optin-checkbox-text']);
https://www.ads-software.com/plugins/yikes-inc-easy-mailchimp-extender/
- The topic ‘Remember your stripslashes()’ is closed to new replies.