A hack to solve a little bug in EasyMail 1.8.7
Pubblicato il 17 marzo 2011 in Alo EasyMail NewsletterIn the forum Cjellison reported me a little bug about the settings: if you un-check the 2 filter options (Convert carriage return in br tag and Apply ‘the_content’ filters and shortcodes to newsletter content) and update, the plugin doesn’t save. Infact, I forgot to include a code to save new values
Update: I’ve just uploaded the correct file in plugin repository, so you can download again the v.1.8.7 to have the fixed version.
Otherwise, here you hare the hack: add this code after line 93 of alo-easymail_option.php:
94 95 96 97 98 99 100 101 102 103 | if ( isset($_POST['filter_br']) ) { update_option('ALO_em_filter_br', "yes"); } else { update_option('ALO_em_filter_br', "no") ; } if ( isset($_POST['filter_the_content']) ) { update_option('ALO_em_filter_the_content', "yes"); } else { update_option('ALO_em_filter_the_content', "no") ; } |
invio in corso...


