Version Description
(08.09.2017) =
- Fix: Keywords ###NAME### and ###EMAIL### not showing correct details while sending post notifications emails (in HTML type only)
Download this release
Release Info
Developer | storeapps |
Plugin | Email Subscribers & Newsletters |
Version | 3.3.7 |
Comparing to | |
See all releases |
Code changes from version 3.3.6 to 3.3.7
- changelog.txt +6 -2
- classes/es-sendmail.php +36 -36
- compose/compose-preview.php +6 -6
- email-subscribers.php +1 -1
- readme.txt +13 -5
- sentmail/sentmail-preview.php +6 -6
changelog.txt
CHANGED
@@ -4,12 +4,16 @@ Author : Icegram
|
|
4 |
Author URI : https://www.icegram.com/
|
5 |
License : GPLv3
|
6 |
|
|
|
|
|
|
|
|
|
7 |
************************************************************Version 3.3.6************************************************************
|
8 |
|
9 |
* New: Allow emails with special characters to get subscribed
|
10 |
* New: Show groups in dropdown while creating subscribe form via widget
|
11 |
* New: Show Preview button above the WordPress editor at the time of editing a composed Newletter / Post Notification
|
12 |
-
* Fix: Extra line breaks (
|
13 |
* Fix: Remove hardcoded ENGINE while creating default tables for new users
|
14 |
* Fix: Remove hardcoded Collation while creating default tables for new users
|
15 |
* Update: Only one line break while auto inserting unsubscribe link in the emails
|
@@ -29,7 +33,7 @@ License : GPLv3
|
|
29 |
* Fix: Unable to select Opt In type from Settings
|
30 |
* Fix: In-built translations were not loading
|
31 |
* Fix: CSS getting included in all admin pages
|
32 |
-
* Fix: Missing
|
33 |
* Fix: Enable to translate 'Add Subscription Form' FAQ on Help & Info page
|
34 |
* Update: Improvement in logic to get post author name for keyword ###POSTAUTHOR###
|
35 |
* Update: Improved default content for welcome email
|
4 |
Author URI : https://www.icegram.com/
|
5 |
License : GPLv3
|
6 |
|
7 |
+
************************************************************Version 3.3.7************************************************************
|
8 |
+
|
9 |
+
* Fix: Keywords ###NAME### and ###EMAIL### not showing correct details while sending post notifications emails (in HTML type only)
|
10 |
+
|
11 |
************************************************************Version 3.3.6************************************************************
|
12 |
|
13 |
* New: Allow emails with special characters to get subscribed
|
14 |
* New: Show groups in dropdown while creating subscribe form via widget
|
15 |
* New: Show Preview button above the WordPress editor at the time of editing a composed Newletter / Post Notification
|
16 |
+
* Fix: Extra line breaks (`<br>` tags) removed when sending HTML emails
|
17 |
* Fix: Remove hardcoded ENGINE while creating default tables for new users
|
18 |
* Fix: Remove hardcoded Collation while creating default tables for new users
|
19 |
* Update: Only one line break while auto inserting unsubscribe link in the emails
|
33 |
* Fix: Unable to select Opt In type from Settings
|
34 |
* Fix: In-built translations were not loading
|
35 |
* Fix: CSS getting included in all admin pages
|
36 |
+
* Fix: Missing `</span>` tag on Help & Info menu
|
37 |
* Fix: Enable to translate 'Add Subscription Form' FAQ on Help & Info page
|
38 |
* Update: Improvement in logic to get post author name for keyword ###POSTAUTHOR###
|
39 |
* Update: Improved default content for welcome email
|
classes/es-sendmail.php
CHANGED
@@ -146,14 +146,14 @@ class es_cls_sendmail {
|
|
146 |
|
147 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
148 |
|
149 |
-
$
|
150 |
-
$
|
151 |
if(isset($GLOBALS['wp_embed'])) {
|
152 |
-
$
|
153 |
}
|
154 |
-
$
|
155 |
-
// $
|
156 |
-
$content_send = $
|
157 |
|
158 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
159 |
} else {
|
@@ -186,14 +186,14 @@ class es_cls_sendmail {
|
|
186 |
$es_cron_adminmail = str_replace("###SUBJECT###", $subject, $es_cron_adminmail);
|
187 |
|
188 |
if($htmlmail) {
|
189 |
-
$
|
190 |
-
$
|
191 |
if(isset($GLOBALS['wp_embed'])) {
|
192 |
-
$
|
193 |
}
|
194 |
-
$
|
195 |
-
// $
|
196 |
-
$es_cron_adminmail = $
|
197 |
} else {
|
198 |
$es_cron_adminmail = str_replace("<br />", "\r\n", $es_cron_adminmail);
|
199 |
$es_cron_adminmail = str_replace("<br>", "\r\n", $es_cron_adminmail);
|
@@ -410,14 +410,14 @@ class es_cls_sendmail {
|
|
410 |
$adminmailcontant = str_replace("###GROUP###", $group, $adminmailcontant);
|
411 |
|
412 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
413 |
-
$
|
414 |
-
$
|
415 |
if(isset($GLOBALS['wp_embed'])) {
|
416 |
-
$
|
417 |
}
|
418 |
-
$
|
419 |
-
// $
|
420 |
-
$adminmailcontant = $
|
421 |
|
422 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
423 |
} else {
|
@@ -448,14 +448,14 @@ class es_cls_sendmail {
|
|
448 |
$content_send = str_replace("###NAME###", $subscriber["es_email_name"], $content_send);
|
449 |
|
450 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
451 |
-
$
|
452 |
-
$
|
453 |
if(isset($GLOBALS['wp_embed'])) {
|
454 |
-
$
|
455 |
}
|
456 |
-
$
|
457 |
-
// $
|
458 |
-
$content_send = $
|
459 |
|
460 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
461 |
} else {
|
@@ -490,14 +490,14 @@ class es_cls_sendmail {
|
|
490 |
$content_send = str_replace("###NAME###", $subscriber["es_email_name"], $content_send);
|
491 |
|
492 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
493 |
-
$
|
494 |
-
$
|
495 |
if(isset($GLOBALS['wp_embed'])) {
|
496 |
-
$
|
497 |
}
|
498 |
-
$
|
499 |
-
// $
|
500 |
-
$content_send = $
|
501 |
|
502 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
503 |
} else {
|
@@ -567,14 +567,14 @@ class es_cls_sendmail {
|
|
567 |
$reportmail = es_cls_common::es_sent_report_html();
|
568 |
}
|
569 |
|
570 |
-
$
|
571 |
-
$
|
572 |
if(isset($GLOBALS['wp_embed'])) {
|
573 |
-
$
|
574 |
}
|
575 |
-
$
|
576 |
-
// $
|
577 |
-
$reportmail = $
|
578 |
|
579 |
} else {
|
580 |
$reportmail = get_option('ig_es_sentreport', 'nooptionexists');
|
146 |
|
147 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
148 |
|
149 |
+
$temp_content = $content_send;
|
150 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
151 |
if(isset($GLOBALS['wp_embed'])) {
|
152 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
153 |
}
|
154 |
+
$temp_content = wpautop( $temp_content );
|
155 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
156 |
+
$content_send = $temp_content;
|
157 |
|
158 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
159 |
} else {
|
186 |
$es_cron_adminmail = str_replace("###SUBJECT###", $subject, $es_cron_adminmail);
|
187 |
|
188 |
if($htmlmail) {
|
189 |
+
$temp_content = $es_cron_adminmail;
|
190 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
191 |
if(isset($GLOBALS['wp_embed'])) {
|
192 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
193 |
}
|
194 |
+
$temp_content = wpautop( $temp_content );
|
195 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
196 |
+
$es_cron_adminmail = $temp_content;
|
197 |
} else {
|
198 |
$es_cron_adminmail = str_replace("<br />", "\r\n", $es_cron_adminmail);
|
199 |
$es_cron_adminmail = str_replace("<br>", "\r\n", $es_cron_adminmail);
|
410 |
$adminmailcontant = str_replace("###GROUP###", $group, $adminmailcontant);
|
411 |
|
412 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
413 |
+
$temp_content = $adminmailcontant;
|
414 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
415 |
if(isset($GLOBALS['wp_embed'])) {
|
416 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
417 |
}
|
418 |
+
$temp_content = wpautop( $temp_content );
|
419 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
420 |
+
$adminmailcontant = $temp_content;
|
421 |
|
422 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
423 |
} else {
|
448 |
$content_send = str_replace("###NAME###", $subscriber["es_email_name"], $content_send);
|
449 |
|
450 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
451 |
+
$temp_content = $content_send;
|
452 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
453 |
if(isset($GLOBALS['wp_embed'])) {
|
454 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
455 |
}
|
456 |
+
$temp_content = wpautop( $temp_content );
|
457 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
458 |
+
$content_send = $temp_content;
|
459 |
|
460 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
461 |
} else {
|
490 |
$content_send = str_replace("###NAME###", $subscriber["es_email_name"], $content_send);
|
491 |
|
492 |
if ( $settings['ig_es_emailtype'] == "WP HTML MAIL" || $settings['ig_es_emailtype'] == "PHP HTML MAIL" ) {
|
493 |
+
$temp_content = $content_send;
|
494 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
495 |
if(isset($GLOBALS['wp_embed'])) {
|
496 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
497 |
}
|
498 |
+
$temp_content = wpautop( $temp_content );
|
499 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
500 |
+
$content_send = $temp_content;
|
501 |
|
502 |
$content_send = str_replace($replacefrom, $replaceto, $content_send);
|
503 |
} else {
|
567 |
$reportmail = es_cls_common::es_sent_report_html();
|
568 |
}
|
569 |
|
570 |
+
$temp_content = $reportmail;
|
571 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
572 |
if(isset($GLOBALS['wp_embed'])) {
|
573 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
574 |
}
|
575 |
+
$temp_content = wpautop( $temp_content );
|
576 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
577 |
+
$reportmail = $temp_content;
|
578 |
|
579 |
} else {
|
580 |
$reportmail = get_option('ig_es_sentreport', 'nooptionexists');
|
compose/compose-preview.php
CHANGED
@@ -36,14 +36,14 @@ if ($result != '1') {
|
|
36 |
$preview = es_cls_compose::es_template_select($did);
|
37 |
$es_templ_body = $preview["es_templ_body"];
|
38 |
|
39 |
-
$
|
40 |
-
$
|
41 |
if(isset($GLOBALS['wp_embed'])) {
|
42 |
-
$
|
43 |
}
|
44 |
-
$
|
45 |
-
// $
|
46 |
-
$es_templ_body = $
|
47 |
|
48 |
echo stripslashes($es_templ_body);
|
49 |
?>
|
36 |
$preview = es_cls_compose::es_template_select($did);
|
37 |
$es_templ_body = $preview["es_templ_body"];
|
38 |
|
39 |
+
$temp_content = $es_templ_body;
|
40 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
41 |
if(isset($GLOBALS['wp_embed'])) {
|
42 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
43 |
}
|
44 |
+
$temp_content = wpautop( $temp_content );
|
45 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
46 |
+
$es_templ_body = $temp_content;
|
47 |
|
48 |
echo stripslashes($es_templ_body);
|
49 |
?>
|
email-subscribers.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Email Subscribers & Newsletters
|
4 |
* Plugin URI: https://www.icegram.com/
|
5 |
* Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
|
6 |
-
* Version: 3.3.
|
7 |
* Author: Icegram
|
8 |
* Author URI: https://www.icegram.com/
|
9 |
* Requires at least: 3.4
|
3 |
* Plugin Name: Email Subscribers & Newsletters
|
4 |
* Plugin URI: https://www.icegram.com/
|
5 |
* Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
|
6 |
+
* Version: 3.3.7
|
7 |
* Author: Icegram
|
8 |
* Author URI: https://www.icegram.com/
|
9 |
* Requires at least: 3.4
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Author URI: https://www.icegram.com/
|
|
5 |
Tags: email marketing, email newsletter form, email signup, email widget, newsletter, newsletter signup, subscribe, subscription form, bulk emails, signup form, list builder, lead generation
|
6 |
Requires at least: 3.4
|
7 |
Tested up to: 4.8.1
|
8 |
-
Stable tag: 3.3.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.htmlss
|
11 |
|
@@ -311,12 +311,16 @@ Use our free plugin [Email Subscribers - Group Selector](https://wordpress.org/p
|
|
311 |
|
312 |
== Changelog ==
|
313 |
|
|
|
|
|
|
|
|
|
314 |
= 3.3.6 (07.09.2017) =
|
315 |
|
316 |
* New: Allow emails with special characters to get subscribed
|
317 |
* New: Show groups in dropdown while creating subscribe form via widget
|
318 |
* New: Show Preview button above the WordPress editor at the time of editing a composed Newletter / Post Notification
|
319 |
-
* Fix: Extra line breaks (
|
320 |
* Fix: Remove hardcoded ENGINE while creating default tables for new users
|
321 |
* Fix: Remove hardcoded Collation while creating default tables for new users
|
322 |
* Update: Only one line break while auto inserting unsubscribe link in the emails
|
@@ -336,7 +340,7 @@ Use our free plugin [Email Subscribers - Group Selector](https://wordpress.org/p
|
|
336 |
* Fix: Unable to select Opt In type from Settings
|
337 |
* Fix: In-built translations were not loading
|
338 |
* Fix: CSS getting included in all admin pages
|
339 |
-
* Fix: Missing
|
340 |
* Fix: Enable to translate 'Add Subscription Form' FAQ on Help & Info page
|
341 |
* Update: Improvement in logic to get post author name for keyword ###POSTAUTHOR###
|
342 |
* Update: Improved default content for welcome email
|
@@ -637,12 +641,16 @@ For the changelog of earlier versions, please refer to the separate [changelog.t
|
|
637 |
|
638 |
== Upgrade Notice ==
|
639 |
|
|
|
|
|
|
|
|
|
640 |
= 3.3.6 (07.09.2017) =
|
641 |
|
642 |
* New: Allow emails with special characters to get subscribed
|
643 |
* New: Show groups in dropdown while creating subscribe form via widget
|
644 |
* New: Show Preview button above the WordPress editor at the time of editing a composed Newletter / Post Notification
|
645 |
-
* Fix: Extra line breaks (
|
646 |
* Fix: Remove hardcoded ENGINE while creating default tables for new users
|
647 |
* Fix: Remove hardcoded Collation while creating default tables for new users
|
648 |
* Update: Only one line break while auto inserting unsubscribe link in the emails
|
@@ -662,7 +670,7 @@ For the changelog of earlier versions, please refer to the separate [changelog.t
|
|
662 |
* Fix: Unable to select Opt In type from Settings
|
663 |
* Fix: In-built translations were not loading
|
664 |
* Fix: CSS getting included in all admin pages
|
665 |
-
* Fix: Missing
|
666 |
* Fix: Enable to translate 'Add Subscription Form' FAQ on Help & Info page
|
667 |
* Update: Improvement in logic to get post author name for keyword ###POSTAUTHOR###
|
668 |
* Update: Improved default content for welcome email
|
5 |
Tags: email marketing, email newsletter form, email signup, email widget, newsletter, newsletter signup, subscribe, subscription form, bulk emails, signup form, list builder, lead generation
|
6 |
Requires at least: 3.4
|
7 |
Tested up to: 4.8.1
|
8 |
+
Stable tag: 3.3.7
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.htmlss
|
11 |
|
311 |
|
312 |
== Changelog ==
|
313 |
|
314 |
+
= 3.3.7 (08.09.2017) =
|
315 |
+
|
316 |
+
* Fix: Keywords ###NAME### and ###EMAIL### not showing correct details while sending post notifications emails (in HTML type only)
|
317 |
+
|
318 |
= 3.3.6 (07.09.2017) =
|
319 |
|
320 |
* New: Allow emails with special characters to get subscribed
|
321 |
* New: Show groups in dropdown while creating subscribe form via widget
|
322 |
* New: Show Preview button above the WordPress editor at the time of editing a composed Newletter / Post Notification
|
323 |
+
* Fix: Extra line breaks (`<br>` tags) removed when sending HTML emails
|
324 |
* Fix: Remove hardcoded ENGINE while creating default tables for new users
|
325 |
* Fix: Remove hardcoded Collation while creating default tables for new users
|
326 |
* Update: Only one line break while auto inserting unsubscribe link in the emails
|
340 |
* Fix: Unable to select Opt In type from Settings
|
341 |
* Fix: In-built translations were not loading
|
342 |
* Fix: CSS getting included in all admin pages
|
343 |
+
* Fix: Missing `</span>` tag on Help & Info menu
|
344 |
* Fix: Enable to translate 'Add Subscription Form' FAQ on Help & Info page
|
345 |
* Update: Improvement in logic to get post author name for keyword ###POSTAUTHOR###
|
346 |
* Update: Improved default content for welcome email
|
641 |
|
642 |
== Upgrade Notice ==
|
643 |
|
644 |
+
= 3.3.7 (08.09.2017) =
|
645 |
+
|
646 |
+
* Fix: Keywords ###NAME### and ###EMAIL### not showing correct details while sending post notifications emails (in HTML type only)
|
647 |
+
|
648 |
= 3.3.6 (07.09.2017) =
|
649 |
|
650 |
* New: Allow emails with special characters to get subscribed
|
651 |
* New: Show groups in dropdown while creating subscribe form via widget
|
652 |
* New: Show Preview button above the WordPress editor at the time of editing a composed Newletter / Post Notification
|
653 |
+
* Fix: Extra line breaks (`<br>` tags) removed when sending HTML emails
|
654 |
* Fix: Remove hardcoded ENGINE while creating default tables for new users
|
655 |
* Fix: Remove hardcoded Collation while creating default tables for new users
|
656 |
* Update: Only one line break while auto inserting unsubscribe link in the emails
|
670 |
* Fix: Unable to select Opt In type from Settings
|
671 |
* Fix: In-built translations were not loading
|
672 |
* Fix: CSS getting included in all admin pages
|
673 |
+
* Fix: Missing `</span>` tag on Help & Info menu
|
674 |
* Fix: Enable to translate 'Add Subscription Form' FAQ on Help & Info page
|
675 |
* Update: Improvement in logic to get post author name for keyword ###POSTAUTHOR###
|
676 |
* Update: Improved default content for welcome email
|
sentmail/sentmail-preview.php
CHANGED
@@ -41,14 +41,14 @@ if ($result != '1') {
|
|
41 |
$es_email_type = get_option( 'ig_es_emailtype' ); // Not the ideal way. Email type can differ while previewing sent email.
|
42 |
|
43 |
if ( $es_email_type == "WP HTML MAIL" || $es_email_type == "PHP HTML MAIL" ) {
|
44 |
-
$
|
45 |
-
$
|
46 |
if(isset($GLOBALS['wp_embed'])) {
|
47 |
-
$
|
48 |
}
|
49 |
-
$
|
50 |
-
// $
|
51 |
-
$preview['es_sent_preview'] = $
|
52 |
} else {
|
53 |
$preview['es_sent_preview'] = str_replace("<br />", "\r\n", $preview['es_sent_preview']);
|
54 |
$preview['es_sent_preview'] = str_replace("<br>", "\r\n", $preview['es_sent_preview']);
|
41 |
$es_email_type = get_option( 'ig_es_emailtype' ); // Not the ideal way. Email type can differ while previewing sent email.
|
42 |
|
43 |
if ( $es_email_type == "WP HTML MAIL" || $es_email_type == "PHP HTML MAIL" ) {
|
44 |
+
$temp_content = $preview['es_sent_preview'];
|
45 |
+
$temp_content = convert_chars(convert_smilies( wptexturize( $temp_content )));
|
46 |
if(isset($GLOBALS['wp_embed'])) {
|
47 |
+
$temp_content = $GLOBALS['wp_embed']->autoembed($temp_content);
|
48 |
}
|
49 |
+
$temp_content = wpautop( $temp_content );
|
50 |
+
// $temp_content = do_shortcode( shortcode_unautop( $temp_content ) );
|
51 |
+
$preview['es_sent_preview'] = $temp_content;
|
52 |
} else {
|
53 |
$preview['es_sent_preview'] = str_replace("<br />", "\r\n", $preview['es_sent_preview']);
|
54 |
$preview['es_sent_preview'] = str_replace("<br>", "\r\n", $preview['es_sent_preview']);
|