Email Subscribers & Newsletters - Version 3.5.18

Version Description

(01.02.2019) = * Fix: Double Opt in subscription link is not working with email having "+" sign

Download this release

Release Info

Developer Icegram
Plugin Icon 128x128 Email Subscribers & Newsletters
Version 3.5.18
Comparing to
See all releases

Code changes from version 3.5.17 to 3.5.18

classes/es-register.php CHANGED
@@ -831,7 +831,7 @@ class es_cls_registerhook {
831
  if ( ! in_array( $screen->id, array( 'toplevel_page_es-view-subscribers', 'es_template', 'edit-es_template', 'email-subscribers_page_es-notification', 'email-subscribers_page_es-notification', 'email-subscribers_page_es-sendemail', 'email-subscribers_page_es-settings', 'email-subscribers_page_es-sentmail' ), true ) ) {
832
  return;
833
  }
834
-
835
  // Show if - more than 2 post notifications or Newsletters sent OR more than 10 subscribers
836
  $total_subscribers = es_cls_dbquery::es_view_subscriber_count( 0 );
837
  $total_email_sent = es_cls_sentmail::es_sentmail_count( $id = 0 );
@@ -845,6 +845,14 @@ class es_cls_registerhook {
845
  $es_rating_text = $es_rating_text[ $key ];
846
  echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $es_rating_text . ' <a style="float:right" class="es-admin-btn es-admin-btn-secondary" href="?dismiss_admin_notice=1&option_name=es_star_review">' . __( 'No, I don\'t like it', 'email-subscribers' ) . '</a></p></div>';
847
  }
 
 
 
 
 
 
 
 
848
 
849
  //halloween 2018 :start
850
  $timezone_format = _x( 'Y-m-d', 'timezone date format' );
@@ -1357,4 +1365,4 @@ class es_widget_register extends WP_Widget {
1357
  echo 'selected="selected"';
1358
  }
1359
  }
1360
- }
831
  if ( ! in_array( $screen->id, array( 'toplevel_page_es-view-subscribers', 'es_template', 'edit-es_template', 'email-subscribers_page_es-notification', 'email-subscribers_page_es-notification', 'email-subscribers_page_es-sendemail', 'email-subscribers_page_es-settings', 'email-subscribers_page_es-sentmail' ), true ) ) {
832
  return;
833
  }
834
+ //star rating : start
835
  // Show if - more than 2 post notifications or Newsletters sent OR more than 10 subscribers
836
  $total_subscribers = es_cls_dbquery::es_view_subscriber_count( 0 );
837
  $total_email_sent = es_cls_sentmail::es_sentmail_count( $id = 0 );
845
  $es_rating_text = $es_rating_text[ $key ];
846
  echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $es_rating_text . ' <a style="float:right" class="es-admin-btn es-admin-btn-secondary" href="?dismiss_admin_notice=1&option_name=es_star_review">' . __( 'No, I don\'t like it', 'email-subscribers' ) . '</a></p></div>';
847
  }
848
+ //star rating : end
849
+ //new version :start
850
+ $es_redesign = get_option( 'es_redesign_email_subscribers' );
851
+ if ( $es_redesign != 'no' ) {
852
+ $es_new_version_text = __('Email Subscribers plugin redesign: <a target="_blank" href="https://www.icegram.com/email-subscribers-plugin-redesign/?utm_source=in_app&utm_medium=es_banner&utm_campaign=es_redesign">Checkout all exiting changes (February 2019 update)</a>', 'email-subscribers');
853
+ echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $es_new_version_text . ' <a style="float:right" class="es-admin-btn es-admin-btn-secondary" href="?dismiss_admin_notice=1&option_name=es_redesign">' . __( 'No, I don\'t like it', 'email-subscribers' ) . '</a></p></div>';
854
+ }
855
+ //new version :end
856
 
857
  //halloween 2018 :start
858
  $timezone_format = _x( 'Y-m-d', 'timezone date format' );
1365
  echo 'selected="selected"';
1366
  }
1367
  }
1368
+ }
classes/es-sendmail.php CHANGED
@@ -371,6 +371,8 @@ class es_cls_sendmail {
371
  if(count($subscribers) > 0) {
372
  foreach ($subscribers as $subscriber) {
373
  $to = $subscriber['es_email_mail'];
 
 
374
  $name = $subscriber['es_email_name'];
375
 
376
 
@@ -573,4 +575,4 @@ class es_cls_sendmail {
573
  return $unsublink;
574
 
575
  }
576
- }
371
  if(count($subscribers) > 0) {
372
  foreach ($subscribers as $subscriber) {
373
  $to = $subscriber['es_email_mail'];
374
+ $to = str_replace("+","%2B",$subscriber['es_email_mail']);
375
+
376
  $name = $subscriber['es_email_name'];
377
 
378
 
575
  return $unsublink;
576
 
577
  }
578
+ }
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.5.17
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
@@ -128,4 +128,4 @@ function es_update_current_version_and_date( $upgrader_object, $options ) {
128
  }
129
 
130
  register_activation_hook( ES_FILE, array( 'es_cls_registerhook', 'es_activation' ) );
131
- register_deactivation_hook( ES_FILE, array( 'es_cls_registerhook', 'es_deactivation' ) );
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.5.18
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
128
  }
129
 
130
  register_activation_hook( ES_FILE, array( 'es_cls_registerhook', 'es_activation' ) );
131
+ register_deactivation_hook( ES_FILE, array( 'es_cls_registerhook', 'es_deactivation' ) );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author URI: https://www.icegram.com/
5
  Tags: subscription, newsletter, email marketing, post notification, email newsletter form, email signup, email widget, newsletter signup, subscribe, subscription form, bulk emails, signup form, list builder, lead generation
6
  Requires at least: 3.9
7
  Tested up to: 4.9.8
8
- Stable tag: 3.5.17
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses
11
 
@@ -341,6 +341,8 @@ Use our free plugin [Email Subscribers - Group Selector](https://wordpress.org/p
341
  11. Admin page - Delivery Report of emails i.e. email sent, opened, viewed status, viewed date
342
 
343
  == Changelog ==
 
 
344
 
345
  = 3.5.17 (19.11.2018) =
346
 
@@ -1399,4 +1401,4 @@ For the changelog of earlier versions, please refer to the separate [changelog.t
1399
 
1400
  = Earlier Versions =
1401
 
1402
- For the changelog of earlier versions, please refer to the separate [changelog.txt](https://plugins.svn.wordpress.org/email-subscribers/trunk/changelog.txt) file.
5
  Tags: subscription, newsletter, email marketing, post notification, email newsletter form, email signup, email widget, newsletter signup, subscribe, subscription form, bulk emails, signup form, list builder, lead generation
6
  Requires at least: 3.9
7
  Tested up to: 4.9.8
8
+ Stable tag: 3.5.18
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses
11
 
341
  11. Admin page - Delivery Report of emails i.e. email sent, opened, viewed status, viewed date
342
 
343
  == Changelog ==
344
+ = 3.5.18 (01.02.2019) =
345
+ * Fix: Double Opt in subscription link is not working with email having "+" sign
346
 
347
  = 3.5.17 (19.11.2018) =
348
 
1401
 
1402
  = Earlier Versions =
1403
 
1404
+ For the changelog of earlier versions, please refer to the separate [changelog.txt](https://plugins.svn.wordpress.org/email-subscribers/trunk/changelog.txt) file.