Email Subscribers & Newsletters - Version 4.0.9

Version Description

(15.03.2019) = * Fix: Post Notification doesn't work with WP 5.0+ and 'Classic Editor' * Fix: Username is set instead of user's name after Sync WordPress users * Fix: Welcome Email and Confirmation Email was not working when subscribed via Rainmaker * Fix: '{{Email}}' keyword is empty in emails

Download this release

Release Info

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

Code changes from version 4.0.8 to 4.0.9

admin/class-email-subscribers-admin.php CHANGED
@@ -137,15 +137,15 @@ class Email_Subscribers_Admin {
137
  // Submenu
138
  add_submenu_page( 'es_dashboard', __( 'Dashboard', 'email-subscribers' ), __( 'Dashboard', 'email-subscribers' ), 'edit_posts', 'es_dashboard', array( $this, 'es_dashboard_callback' ) );
139
  add_submenu_page( 'es_dashboard', __( 'Lists', 'email-subscribers' ), '<span id="ig-es-lists">' . __( 'Lists', 'email-subscribers' ) . '</span>', 'edit_posts', 'es_lists', array( $this, 'load_lists' ) );
140
- add_submenu_page( 'es_dashboard', __( 'Post Notifications', 'email-subscribers' ), '<span id="ig-es-post-notifications">' . __( 'Post Notifications', 'email-subscribers' ) . '</span>', get_option( 'es_roles_notification', true ), 'es_notifications', array( $this, 'load_post_notifications' ) );
141
- add_submenu_page( 'es_dashboard', __( 'Broadcast', 'email-subscribers' ), '<span id="ig-es-broadcast">' . __( 'Broadcast', 'email-subscribers' ) . '</span>', get_option( 'es_roles_sendmail', true ), 'es_newsletters', array( $this, 'load_newsletters' ) );
142
- add_submenu_page( 'es_dashboard', __( 'Reports', 'email-subscribers' ), __( 'Reports', 'email-subscribers' ), get_option( 'es_roles_sentmail', true ), 'es_reports', array( $this, 'load_reports' ) );
143
- add_submenu_page( 'es_dashboard', __( 'Audience', 'email-subscribers' ), __( 'Audience', 'email-subscribers' ), get_option( 'es_roles_subscriber', true ), 'es_subscribers', array( $this, 'load_audience' ) );
144
- add_submenu_page( 'es_dashboard', __( 'Campaigns', 'email-subscribers' ), __( 'Campaigns', 'email-subscribers' ), get_option( 'es_roles_notification', true ), 'es_campaigns', array( $this, 'load_campaigns' ) );
145
- add_submenu_page( 'es_dashboard', __( 'Settings', 'email-subscribers' ), __( 'Settings', 'email-subscribers' ), get_option( 'es_roles_notification', true ), 'es_settings', array( $this, 'load_settings' ) );
146
- add_submenu_page( 'es_dashboard', __( 'Forms', 'email-subscribers' ), __( 'Forms', 'email-subscribers' ), get_option( 'es_roles_notification', true ), 'es_forms', array( $this, 'load_forms' ) );
147
- add_submenu_page( 'es_dashboard', __( 'Tools', 'email-subscribers' ), __( 'Tools', 'email-subscribers' ), get_option( 'es_roles_notification', true ), 'es_tools', array( $this, 'load_tools' ) );
148
- add_submenu_page( null, __( 'Template Preview', 'email-subscribers' ), __( 'Template Preview', 'email-subscribers' ), get_option( 'es_roles_notification', true ), 'es_template_preview', array( $this, 'load_preview' ) );
149
  }
150
 
151
  // Function for Klawoo's Subscribe form on Help & Info page
137
  // Submenu
138
  add_submenu_page( 'es_dashboard', __( 'Dashboard', 'email-subscribers' ), __( 'Dashboard', 'email-subscribers' ), 'edit_posts', 'es_dashboard', array( $this, 'es_dashboard_callback' ) );
139
  add_submenu_page( 'es_dashboard', __( 'Lists', 'email-subscribers' ), '<span id="ig-es-lists">' . __( 'Lists', 'email-subscribers' ) . '</span>', 'edit_posts', 'es_lists', array( $this, 'load_lists' ) );
140
+ add_submenu_page( 'es_dashboard', __( 'Post Notifications', 'email-subscribers' ), '<span id="ig-es-post-notifications">' . __( 'Post Notifications', 'email-subscribers' ) . '</span>', 'edit_posts', 'es_notifications', array( $this, 'load_post_notifications' ) );
141
+ add_submenu_page( 'es_dashboard', __( 'Broadcast', 'email-subscribers' ), '<span id="ig-es-broadcast">' . __( 'Broadcast', 'email-subscribers' ) . '</span>', 'edit_posts', 'es_newsletters', array( $this, 'load_newsletters' ) );
142
+ add_submenu_page( 'es_dashboard', __( 'Reports', 'email-subscribers' ), __( 'Reports', 'email-subscribers' ), 'edit_posts', 'es_reports', array( $this, 'load_reports' ) );
143
+ add_submenu_page( 'es_dashboard', __( 'Audience', 'email-subscribers' ), __( 'Audience', 'email-subscribers' ), 'edit_posts', 'es_subscribers', array( $this, 'load_audience' ) );
144
+ add_submenu_page( 'es_dashboard', __( 'Campaigns', 'email-subscribers' ), __( 'Campaigns', 'email-subscribers' ), 'edit_posts', 'es_campaigns', array( $this, 'load_campaigns' ) );
145
+ add_submenu_page( 'es_dashboard', __( 'Settings', 'email-subscribers' ), __( 'Settings', 'email-subscribers' ),'edit_posts', 'es_settings', array( $this, 'load_settings' ) );
146
+ add_submenu_page( 'es_dashboard', __( 'Forms', 'email-subscribers' ), __( 'Forms', 'email-subscribers' ), 'edit_posts', 'es_forms', array( $this, 'load_forms' ) );
147
+ add_submenu_page( 'es_dashboard', __( 'Tools', 'email-subscribers' ), __( 'Tools', 'email-subscribers' ), 'edit_posts', 'es_tools', array( $this, 'load_tools' ) );
148
+ add_submenu_page( null, __( 'Template Preview', 'email-subscribers' ), __( 'Template Preview', 'email-subscribers' ), 'edit_posts', 'es_template_preview', array( $this, 'load_preview' ) );
149
  }
150
 
151
  // Function for Klawoo's Subscribe form on Help & Info page
admin/css/email-subscribers-admin.css CHANGED
@@ -749,6 +749,18 @@ span.es-quick-links{
749
  color: #e6cc14;
750
  }
751
 
 
 
 
 
 
 
 
 
 
 
 
 
752
  @media only screen and (max-width: 1362px){
753
 
754
  .es_list_contact_status:before{
749
  color: #e6cc14;
750
  }
751
 
752
+ .ig-es-process-queue {
753
+ float: right;
754
+ margin: 18px 0 3px;
755
+ }
756
+
757
+ .ig-es-process-queue .page-title-action {
758
+ font-size: 16px;
759
+ }
760
+
761
+ .ig-es-process-queue .es-helper {
762
+ margin: 3em;
763
+ }
764
  @media only screen and (max-width: 1362px){
765
 
766
  .es_list_contact_status:before{
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: 4.0.8
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
@@ -24,7 +24,7 @@ if ( ! defined( 'WPINC' ) ) {
24
  * Define constants
25
  */
26
  define( 'ES_PLUGIN_DIR', dirname( __FILE__ ) );
27
- define( 'ES_PLUGIN_VERSION', '4.0.8' );
28
  define( 'ES_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
29
 
30
  if ( ! defined( 'ES_PLUGIN_FILE' ) ) {
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: 4.0.9
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
24
  * Define constants
25
  */
26
  define( 'ES_PLUGIN_DIR', dirname( __FILE__ ) );
27
+ define( 'ES_PLUGIN_VERSION', '4.0.9' );
28
  define( 'ES_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
29
 
30
  if ( ! defined( 'ES_PLUGIN_FILE' ) ) {
includes/admin/class-es-admin-settings.php CHANGED
@@ -32,10 +32,6 @@ class ES_Admin_Settings {
32
  return $value;
33
  }
34
 
35
- public function plugin_menu() {
36
- add_submenu_page( 'es_dashboard', 'Settings', 'Settings', 'manage_options', 'es_settings', [ $this, 'es_settings_callback' ] );
37
- }
38
-
39
  public function show_message( $message = '', $status = 'success' ) {
40
 
41
  $class = 'notice notice-success is-dismissible';
32
  return $value;
33
  }
34
 
 
 
 
 
35
  public function show_message( $message = '', $status = 'success' ) {
36
 
37
  $class = 'notice notice-success is-dismissible';
includes/admin/class-es-campaigns-table.php CHANGED
@@ -29,11 +29,6 @@ class ES_Campaigns_Table extends WP_List_Table {
29
  return $value;
30
  }
31
 
32
- public function plugin_menu() {
33
- $hook = add_submenu_page( 'es_dashboard', 'Campaigns', 'Campaigns', get_option( 'es_roles_notification', true ), 'es_campaigns', array( $this, 'es_campaigns_callback' ) );
34
- add_action( "load-$hook", array( $this, 'screen_option' ) );
35
- }
36
-
37
  public function screen_option() {
38
 
39
  $option = 'per_page';
29
  return $value;
30
  }
31
 
 
 
 
 
 
32
  public function screen_option() {
33
 
34
  $option = 'per_page';
includes/admin/class-es-handle-post-notification.php CHANGED
@@ -4,6 +4,8 @@ class ES_Handle_Post_Notification {
4
 
5
  public $is_wp_5 = false;
6
 
 
 
7
  public $do_post_notification_via_wp_5_hook = false;
8
 
9
  public $do_post_notification_for = 0;
@@ -11,14 +13,26 @@ class ES_Handle_Post_Notification {
11
  public function __construct() {
12
  global $wp_version;
13
 
 
14
  add_action( 'transition_post_status', array( $this, 'es_post_publish_callback' ), 10, 3 );
15
 
 
 
 
 
 
 
16
  if ( version_compare( $wp_version, '5.0.0', '>=' ) ) {
17
  $this->is_wp_5 = true;
18
- add_action( 'rest_after_insert_post', array( $this, 'handle_post_publish' ), 10, 3 );
19
  }
20
  }
21
 
 
 
 
 
 
 
22
  public function handle_post_publish( $post, $requst, $insert ) {
23
  // If it's inserted for the fist time????
24
  // Not able to check whether it'a first time post or nth times
@@ -44,7 +58,7 @@ class ES_Handle_Post_Notification {
44
 
45
  if ( ! empty( $post_id ) ) {
46
 
47
- if ( $this->is_wp_5 ) {
48
  $this->do_post_notification_via_wp_5_hook = true;
49
  $this->do_post_notification_for = $post_id;
50
  } else {
@@ -78,9 +92,9 @@ class ES_Handle_Post_Notification {
78
  * Add entry into deliverreport table
79
  */
80
 
81
- foreach ($subscribers as $key => $subscriber) {
82
- if(in_array($subscriber['id'], $existing_contacts)) {
83
- unset($subscribers[$key]);
84
  } else {
85
  $existing_contacts[] = $subscriber['id'];
86
  }
4
 
5
  public $is_wp_5 = false;
6
 
7
+ public $is_rest_request = false;
8
+
9
  public $do_post_notification_via_wp_5_hook = false;
10
 
11
  public $do_post_notification_for = 0;
13
  public function __construct() {
14
  global $wp_version;
15
 
16
+ // Action is available after WordPress 2.3.0+
17
  add_action( 'transition_post_status', array( $this, 'es_post_publish_callback' ), 10, 3 );
18
 
19
+ // Action is available WordPress 5.0+
20
+ add_action( 'rest_after_insert_post', array( $this, 'handle_post_publish' ), 10, 3 );
21
+
22
+ // Filter is available after WordPress 4.7.0+
23
+ add_filter( 'rest_pre_insert_post', array( $this, 'prepare_post_data' ), 10, 2 );
24
+
25
  if ( version_compare( $wp_version, '5.0.0', '>=' ) ) {
26
  $this->is_wp_5 = true;
 
27
  }
28
  }
29
 
30
+ public function prepare_post_data( $prepared_post, $request ) {
31
+ $this->is_rest_request = true;
32
+
33
+ return $prepared_post;
34
+ }
35
+
36
  public function handle_post_publish( $post, $requst, $insert ) {
37
  // If it's inserted for the fist time????
38
  // Not able to check whether it'a first time post or nth times
58
 
59
  if ( ! empty( $post_id ) ) {
60
 
61
+ if ( $this->is_wp_5 && $this->is_rest_request ) {
62
  $this->do_post_notification_via_wp_5_hook = true;
63
  $this->do_post_notification_for = $post_id;
64
  } else {
92
  * Add entry into deliverreport table
93
  */
94
 
95
+ foreach ( $subscribers as $key => $subscriber ) {
96
+ if ( in_array( $subscriber['id'], $existing_contacts ) ) {
97
+ unset( $subscribers[ $key ] );
98
  } else {
99
  $existing_contacts[] = $subscriber['id'];
100
  }
includes/admin/class-es-handle-subscription.php CHANGED
@@ -156,7 +156,11 @@ class ES_Handle_Subscription {
156
  $this->send_double_optin_notification();
157
  $response['message'] = 'es_double_optin_success_message';
158
  } else {
159
- $this->send_welcome_notification();
 
 
 
 
160
  $response['message'] = 'es_single_optin_success_message';
161
  }
162
 
@@ -256,7 +260,7 @@ class ES_Handle_Subscription {
256
 
257
  public function send_admin_signup_notification() {
258
 
259
- $admin_email_addresses = get_option( 'ig_es_admin_emails' );
260
 
261
  if ( ! empty( $admin_email_addresses ) ) {
262
 
@@ -280,14 +284,9 @@ class ES_Handle_Subscription {
280
  );
281
 
282
  if ( count( $admin_emails ) > 0 ) {
283
- $subject = ES_Mailer::prepare_admin_signup_subject( $template_data );
284
- $content = ES_Mailer::prepare_admin_signup_email( $template_data );
285
- foreach ( $admin_emails as $admin_email ) {
286
- $email = trim( $admin_email );
287
- ES_Mailer::send( $email, $subject, $content );
288
- }
289
 
290
- return true;
291
  }
292
  }
293
 
@@ -304,6 +303,7 @@ class ES_Handle_Subscription {
304
  $hp_key = "esfpx_es_hp_" . wp_create_nonce( 'es_hp' );
305
  if ( ! isset( $data[ $hp_key ] ) || ! empty( $data[ $hp_key ] ) ) {
306
  $es_response['message'] = 'es_unexpected_error_notice';
 
307
  return $es_response;
308
  }
309
 
156
  $this->send_double_optin_notification();
157
  $response['message'] = 'es_double_optin_success_message';
158
  } else {
159
+ $enable_welcome_email = get_option( 'ig_es_enable_welcome_email', 'no' );
160
+ if ( 'yes' === $enable_welcome_email ) {
161
+ $this->send_welcome_notification();
162
+ }
163
+
164
  $response['message'] = 'es_single_optin_success_message';
165
  }
166
 
260
 
261
  public function send_admin_signup_notification() {
262
 
263
+ $admin_email_addresses = get_option( 'ig_es_admin_emails', '' );
264
 
265
  if ( ! empty( $admin_email_addresses ) ) {
266
 
284
  );
285
 
286
  if ( count( $admin_emails ) > 0 ) {
287
+ $send = ES_Common::send_signup_notification_to_admins( $template_data );
 
 
 
 
 
288
 
289
+ return $send;
290
  }
291
  }
292
 
303
  $hp_key = "esfpx_es_hp_" . wp_create_nonce( 'es_hp' );
304
  if ( ! isset( $data[ $hp_key ] ) || ! empty( $data[ $hp_key ] ) ) {
305
  $es_response['message'] = 'es_unexpected_error_notice';
306
+
307
  return $es_response;
308
  }
309
 
includes/admin/class-es-handle-sync-wp-user.php CHANGED
@@ -21,11 +21,12 @@ class ES_Handle_Sync_Wp_User {
21
  $list_id = $ig_es_sync_unserialized_data['es_registered_group'];
22
  //get user info
23
  $user_info = get_userdata( $user_id );
24
- $user_firstname = $user_info->user_firstname;
25
- if ( $user_firstname == "" ) {
26
- $user_firstname = $user_info->user_login;
27
- }
28
  $email = $user_info->user_email;
 
 
 
29
  //prepare data
30
  $data = array(
31
  'first_name' => $user_firstname,
21
  $list_id = $ig_es_sync_unserialized_data['es_registered_group'];
22
  //get user info
23
  $user_info = get_userdata( $user_id );
24
+ if( !($user_info instanceof WP_User) ) return false;
25
+ $user_firstname = $user_info->display_name;
 
 
26
  $email = $user_info->user_email;
27
+ if ( empty( $user_firstname ) ) {
28
+ $user_firstname = ES_Common::get_name_from_email( $email );
29
+ }
30
  //prepare data
31
  $data = array(
32
  'first_name' => $user_firstname,
includes/admin/class-es-reports-table.php CHANGED
@@ -41,14 +41,18 @@ class ES_Reports_Table extends WP_List_Table {
41
 
42
  <div class="wrap">
43
  <h1 class="wp-heading-inline"><?php _e( 'Reports', 'email-subscribers' ); ?></h1>
44
- <?php $emails_to_be_sent = ES_DB_Sending_Queue::get_total_emails_to_be_sent();
45
- if($emails_to_be_sent > 0) {
46
- $cron_url = ES_Common::get_cron_url(true);
47
- $content = __(sprintf("<a href='%s' target='_blank' class='page-title-action es-imp-button'>Send Queued Emails Now</a>", $cron_url), 'email-subscribers');
48
- ?>
49
- <span style="float: right"><?php echo $content; ?></span>
50
- <?php } ?>
 
 
 
51
 
 
52
 
53
 
54
  <div id="poststuff">
@@ -194,18 +198,19 @@ class ES_Reports_Table extends WP_List_Table {
194
  }
195
  }
196
 
197
- function column_status($item) {
198
- if ( $item[ 'status' ] == 'Sent' ) {
199
  return __( 'Completed', 'email-subscribers' );
200
  } else {
201
 
202
  $actions = array(
203
- 'send_now' => $this->prepare_send_now_url($item)
204
  );
205
 
206
- return $item[ 'status' ] . $this->row_actions($actions, true);
207
  }
208
- }
 
209
  /**
210
  * Render the bulk edit checkbox
211
  *
@@ -262,37 +267,37 @@ class ES_Reports_Table extends WP_List_Table {
262
  return $columns;
263
  }
264
 
265
- function column_count($item) {
266
 
267
- $campaign_hash = $item['hash'];
268
 
269
  $total_emails_sent = $total_emails_to_be_sent = $item['count'];
270
- if(!empty($campaign_hash)) {
271
- //$total_emails_sent = ES_DB_Sending_Queue::get_total_emails_sent_by_hash( $campaign_hash );
272
- }
273
 
274
  // $content = $total_emails_sent . "/" . $total_emails_to_be_sent;
275
 
276
  return $total_emails_to_be_sent;
277
 
278
- }
279
 
280
- function prepare_send_now_url($item) {
281
- $campaign_hash = $item['hash'];
282
 
283
- $cron_url = '';
284
- if(!empty($campaign_hash)) {
285
- $cron_url = ES_Common::get_cron_url(true, false, $campaign_hash);
286
- }
287
 
288
 
289
- $content = '';
290
- if(!empty($cron_url)) {
291
- $content = __(sprintf("<a href='%s' target='_blank'>Send</a>", $cron_url), 'email-subscribers');
292
- }
293
 
294
- return $content;
295
- }
296
 
297
  /**
298
  * Columns to make sortable.
41
 
42
  <div class="wrap">
43
  <h1 class="wp-heading-inline"><?php _e( 'Reports', 'email-subscribers' ); ?></h1>
44
+ <?php
45
+ $emails_to_be_sent = ES_DB_Sending_Queue::get_total_emails_to_be_sent();
46
+ if ( $emails_to_be_sent > 0 ) {
47
+ $cron_url = ES_Common::get_cron_url( true );
48
+ $content = sprintf( __( "<a href='%s' target='_blank' class='page-title-action es-imp-button'>Send Queued Emails Now</a>", 'email-subscribers' ), $cron_url );
49
+ } else {
50
+ $content = sprintf( __( "<span class='page-title-action button-disabled'>Send Queued Emails Now</span>", 'email-subscribers' ));
51
+ $content .= sprintf( __( "<br /><span class='es-helper'>No emails found in queue</span>", 'email-subscribers' ));
52
+ }
53
+ ?>
54
 
55
+ <span class="ig-es-process-queue"><?php echo $content; ?></span>
56
 
57
 
58
  <div id="poststuff">
198
  }
199
  }
200
 
201
+ function column_status( $item ) {
202
+ if ( $item['status'] == 'Sent' ) {
203
  return __( 'Completed', 'email-subscribers' );
204
  } else {
205
 
206
  $actions = array(
207
+ 'send_now' => $this->prepare_send_now_url( $item )
208
  );
209
 
210
+ return $item['status'] . $this->row_actions( $actions, true );
211
  }
212
+ }
213
+
214
  /**
215
  * Render the bulk edit checkbox
216
  *
267
  return $columns;
268
  }
269
 
270
+ function column_count( $item ) {
271
 
272
+ $campaign_hash = $item['hash'];
273
 
274
  $total_emails_sent = $total_emails_to_be_sent = $item['count'];
275
+ if ( ! empty( $campaign_hash ) ) {
276
+ //$total_emails_sent = ES_DB_Sending_Queue::get_total_emails_sent_by_hash( $campaign_hash );
277
+ }
278
 
279
  // $content = $total_emails_sent . "/" . $total_emails_to_be_sent;
280
 
281
  return $total_emails_to_be_sent;
282
 
283
+ }
284
 
285
+ function prepare_send_now_url( $item ) {
286
+ $campaign_hash = $item['hash'];
287
 
288
+ $cron_url = '';
289
+ if ( ! empty( $campaign_hash ) ) {
290
+ $cron_url = ES_Common::get_cron_url( true, false, $campaign_hash );
291
+ }
292
 
293
 
294
+ $content = '';
295
+ if ( ! empty( $cron_url ) ) {
296
+ $content = __( sprintf( "<a href='%s' target='_blank'>Send</a>", $cron_url ), 'email-subscribers' );
297
+ }
298
 
299
+ return $content;
300
+ }
301
 
302
  /**
303
  * Columns to make sortable.
includes/class-es-common.php CHANGED
@@ -532,7 +532,38 @@ Class ES_Common {
532
  return $result;
533
  }
534
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
535
  public static function prepare_name_from_first_name_last_name( $first_name = '', $last_name = '' ) {
 
 
 
536
  return trim( $first_name . ' ' . $last_name );
537
  }
538
 
@@ -574,6 +605,24 @@ Class ES_Common {
574
  return trim( $name );
575
  }
576
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  public static function migrate_widgets() {
578
  global $wpdb;
579
  /**
532
  return $result;
533
  }
534
 
535
+ public static function send_signup_notification_to_admins( $data ) {
536
+
537
+ $ig_es_notifyadmin = get_option( 'ig_es_notify_admin', 'no' );
538
+
539
+ if ( 'yes' === $ig_es_notifyadmin ) {
540
+
541
+ $admin_email_addresses = get_option( 'ig_es_admin_emails', '' );
542
+
543
+ if ( ! empty( $admin_email_addresses ) ) {
544
+
545
+ $admin_emails = explode( ',', $admin_email_addresses );
546
+
547
+ if ( count( $admin_emails ) > 0 ) {
548
+ $subject = ES_Mailer::prepare_admin_signup_subject( $data );
549
+ $content = ES_Mailer::prepare_admin_signup_email( $data );
550
+ foreach ( $admin_emails as $admin_email ) {
551
+ $email = trim( $admin_email );
552
+ ES_Mailer::send( $email, $subject, $content );
553
+ }
554
+
555
+ return true;
556
+ }
557
+ }
558
+ }
559
+
560
+ return false;
561
+ }
562
+
563
  public static function prepare_name_from_first_name_last_name( $first_name = '', $last_name = '' ) {
564
+ $first_name = trim( $first_name );
565
+ $last_name = trim( $last_name );
566
+
567
  return trim( $first_name . ' ' . $last_name );
568
  }
569
 
605
  return trim( $name );
606
  }
607
 
608
+ /**
609
+ * Check if Classic Editor plugin is active.
610
+ *
611
+ * @return bool
612
+ */
613
+ public static function is_classic_editor_plugin_active() {
614
+
615
+ if ( ! function_exists( 'is_plugin_active' ) ) {
616
+ include_once ABSPATH . 'wp-admin/includes/plugin.php';
617
+ }
618
+
619
+ if ( is_plugin_active( 'classic-editor/classic-editor.php' ) ) {
620
+ return true;
621
+ }
622
+
623
+ return false;
624
+ }
625
+
626
  public static function migrate_widgets() {
627
  global $wpdb;
628
  /**
includes/class-es-mailer.php CHANGED
@@ -161,7 +161,7 @@ class ES_Mailer {
161
  public static function prepare_email_template( $template_content, $keywords, $template_id = 0 ) {
162
 
163
  $name = isset( $keywords['name'] ) ? $keywords['name'] : '';
164
- $email = isset( $keywords['$email'] ) ? $keywords['email'] : '';
165
 
166
  $template_content = str_replace( "{{NAME}}", $name, $template_content );
167
  $template_content = str_replace( "{{EMAIL}}", $email, $template_content );
161
  public static function prepare_email_template( $template_content, $keywords, $template_id = 0 ) {
162
 
163
  $name = isset( $keywords['name'] ) ? $keywords['name'] : '';
164
+ $email = isset( $keywords['email'] ) ? $keywords['email'] : '';
165
 
166
  $template_content = str_replace( "{{NAME}}", $name, $template_content );
167
  $template_content = str_replace( "{{EMAIL}}", $email, $template_content );
includes/es-backward.php CHANGED
@@ -20,42 +20,99 @@ class es_cls_dbquery {
20
 
21
  public static function es_view_subscriber_ins( $data = array(), $action = "insert" ) {
22
 
 
 
 
 
 
 
23
  $last_name = '';
24
- if ( ! empty( $data['es_email_name'] ) ) {
25
- $name = trim( $data['es_email_name'] );
26
  $name_parts = ES_Common::prepare_first_name_last_name( $name );
27
  $first_name = $name_parts['first_name'];
28
  $last_name = $name_parts['last_name'];
29
  } else {
30
- $first_name = ES_Common::get_name_from_email( $data['es_email_mail'] );
 
31
  }
32
 
 
33
  $sub_data = array(
34
  'first_name' => $first_name,
35
  'last_name' => $last_name,
36
- 'email' => $data['es_email_mail'],
37
  'source' => 'api',
38
  'status' => 'verified',
39
- 'hash' => ES_Common::generate_guid(),
40
  'created_at' => ig_get_current_date_time(),
41
  );
42
 
43
- $added = ES_DB_Contacts::add_subscriber( $sub_data );
44
- $optin_type = get_option( 'ig_es_optin_type', true );
45
- $optin_type = ( $optin_type === 'double_opt_in' ) ? 2 : 1;
46
- $list_data = ES_DB_Lists::get_list_by_name( $data['es_email_group'] );
47
- $list_id = ! empty( $list_data['id'] ) ? $list_data['id'] : 1;
48
- $list_contact_data = array(
49
- 'list_id' => array( $list_id ),
50
- 'contact_id' => $added,
51
- 'status' => 'subscribed',
52
- 'optin_type' => $optin_type,
53
- 'subscribed_at' => ig_get_current_date_time(),
54
- 'subscribed_ip' => ES_Subscription_Throttaling::getUserIP()
55
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
- $result = ES_DB_Lists_Contacts::add_lists_contacts( $list_contact_data );
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
60
 
61
  }
20
 
21
  public static function es_view_subscriber_ins( $data = array(), $action = "insert" ) {
22
 
23
+ if ( empty( $data['es_email_mail'] ) ) {
24
+ return;
25
+ }
26
+
27
+ $email = trim( $data['es_email_mail'] );
28
+ $name = trim( $data['es_email_name'] );
29
  $last_name = '';
30
+ if ( ! empty( $name ) ) {
 
31
  $name_parts = ES_Common::prepare_first_name_last_name( $name );
32
  $first_name = $name_parts['first_name'];
33
  $last_name = $name_parts['last_name'];
34
  } else {
35
+ $first_name = ES_Common::get_name_from_email( $email );
36
+ $name = $first_name;
37
  }
38
 
39
+ $guid = ES_Common::generate_guid();
40
  $sub_data = array(
41
  'first_name' => $first_name,
42
  'last_name' => $last_name,
43
+ 'email' => $email,
44
  'source' => 'api',
45
  'status' => 'verified',
46
+ 'hash' => $guid,
47
  'created_at' => ig_get_current_date_time(),
48
  );
49
 
50
+ $contact_id = ES_DB_Contacts::add_subscriber( $sub_data );
51
+
52
+ if ( $contact_id ) {
53
+
54
+ $optin_type = get_option( 'ig_es_optin_type', true );
55
+ $optin_type = ( $optin_type === 'double_opt_in' ) ? 2 : 1;
56
+
57
+ $status = 'subscribed';
58
+ if ( $optin_type == 2 ) {
59
+ $status = 'unconfirmed';
60
+ }
61
+
62
+ $list_data = ES_DB_Lists::get_list_by_name( $data['es_email_group'] );
63
+ $list_id = ! empty( $list_data['id'] ) ? $list_data['id'] : 1;
64
+ $list_ids = array( $list_id );
65
+ $list_contact_data = array(
66
+ 'list_id' => $list_ids,
67
+ 'contact_id' => $contact_id,
68
+ 'status' => $status,
69
+ 'optin_type' => $optin_type,
70
+ 'subscribed_at' => ig_get_current_date_time(),
71
+ 'subscribed_ip' => ES_Subscription_Throttaling::getUserIP()
72
+ );
73
+
74
+ ES_DB_Lists_Contacts::delete_list_contacts( $contact_id, $list_ids );
75
+ ES_DB_Lists_Contacts::add_lists_contacts( $list_contact_data );
76
+
77
+ // Send Email Notification
78
+ $data = array(
79
+ 'name' => $name,
80
+ 'email' => $email,
81
+ 'db_id' => $contact_id,
82
+ 'guid' => $guid
83
+ );
84
 
85
+ if ( $optin_type == 1 ) {
86
 
87
+ // Send Welcome Email
88
+ $enable_welcome_email = get_option( 'ig_es_enable_welcome_email', 'no' );
89
+
90
+ if ( $enable_welcome_email === 'yes' ) {
91
+ $content = ES_Mailer::prepare_welcome_email( $data );
92
+ $subject = ES_Mailer::prepare_welcome_email_subject( $data );
93
+ ES_Mailer::send( $email, $subject, $content );
94
+ }
95
+
96
+ } else {
97
+
98
+ // Send Confirmation mail
99
+ $subject = get_option( 'ig_es_confirmation_mail_subject', __( 'Confirm Your Subscription!', 'email-subscribers' ) );
100
+ $content = ES_Mailer::prepare_double_optin_email( $data );
101
+
102
+ ES_Mailer::send( $email, $subject, $content );
103
+ }
104
+
105
+
106
+ $list_name = ES_DB_Lists::get_list_id_name_map( $list_id );
107
+ $template_data = array(
108
+ 'name' => $name,
109
+ 'email' => $email,
110
+ 'list_name' => $list_name
111
+ );
112
+
113
+ ES_Common::send_signup_notification_to_admins( $template_data );
114
+
115
+ }
116
  }
117
 
118
  }
languages/email-subscribers.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Email Subscribers & Newsletters\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2019-03-14 12:02+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -40,8 +40,8 @@ msgid "Post Notifications"
40
  msgstr ""
41
 
42
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:141
43
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:191
44
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:183
45
  msgid "Broadcast"
46
  msgstr ""
47
 
@@ -49,7 +49,7 @@ msgstr ""
49
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/dashboard.php:85
50
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:20
51
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:43
52
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:78
53
  msgid "Reports"
54
  msgstr ""
55
 
@@ -60,8 +60,8 @@ msgstr ""
60
 
61
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:144
62
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/dashboard.php:83
63
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:41
64
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:54
65
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-newsletters.php:76
66
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-post-notifications.php:234
67
  msgid "Campaigns"
@@ -87,10 +87,6 @@ msgstr ""
87
  msgid "Template Preview"
88
  msgstr ""
89
 
90
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-mailer.php:101
91
- msgid "Welcome !"
92
- msgstr ""
93
-
94
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:121
95
  #, php-format
96
  msgid ""
@@ -167,12 +163,12 @@ msgid "Select Template"
167
  msgstr ""
168
 
169
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:321
170
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:187
171
  msgid "Active"
172
  msgstr ""
173
 
174
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:322
175
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:187
176
  msgid "Inactive"
177
  msgstr ""
178
 
@@ -201,6 +197,14 @@ msgstr ""
201
  msgid "Thumbnail"
202
  msgstr ""
203
 
 
 
 
 
 
 
 
 
204
  #: ../../../../wpRepos/gitlab/email-subscribers/public/class-email-subscribers-public.php:109
205
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:377
206
  msgid "Please enter email address"
@@ -781,42 +785,42 @@ msgstr ""
781
  msgid "Campaign"
782
  msgstr ""
783
 
784
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:55
785
  msgid "Create Post Notification"
786
  msgstr ""
787
 
788
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:56
789
  msgid "Send Broadcast"
790
  msgstr ""
791
 
792
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:57
793
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-newsletters.php:77
794
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-post-notifications.php:238
795
  msgid "Manage Templates"
796
  msgstr ""
797
 
798
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:163
799
  msgid "No Campaigns Found."
800
  msgstr ""
801
 
802
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:338
803
  msgid "You are not allowed to delete campaign."
804
  msgstr ""
805
 
806
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:342
807
  msgid "Campaign has been deleted successfully!"
808
  msgstr ""
809
 
810
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:361
811
  msgid "Campaign(s) have been deleted successfully!"
812
  msgstr ""
813
 
814
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:366
815
  msgid "Please check campaign(s) to delete."
816
  msgstr ""
817
 
818
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-cron.php:132
819
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:408
820
  msgid "Campaign Sent!"
821
  msgstr ""
822
 
@@ -872,7 +876,7 @@ msgstr ""
872
 
873
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:207
874
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:103
875
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:69
876
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:54
877
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:120
878
  msgid "Add New Contact"
@@ -880,7 +884,7 @@ msgstr ""
880
 
881
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:208
882
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:50
883
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:70
884
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:55
885
  msgid "Export Contacts"
886
  msgstr ""
@@ -888,7 +892,7 @@ msgstr ""
888
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:209
889
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:105
890
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:212
891
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:71
892
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:58
893
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:121
894
  msgid "Manage Lists"
@@ -909,11 +913,6 @@ msgstr ""
909
 
910
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:191
911
  msgid "Template Type"
912
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-export-subscribers.php:50
913
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:70
914
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:208
915
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-subscribers-table.php:55
916
- msgid "Export Contacts"
917
  msgstr ""
918
 
919
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:11
@@ -921,20 +920,20 @@ msgid "Email Subscribers Widget"
921
  msgstr ""
922
 
923
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
924
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:109
925
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:315
926
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:361
927
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:397
928
  msgid "Yes"
929
  msgstr ""
930
 
931
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
932
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:58
933
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:108
934
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:319
935
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:362
936
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:398
937
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:92
938
  msgid "No"
939
  msgstr ""
940
 
@@ -949,7 +948,7 @@ msgid "Contacts"
949
  msgstr ""
950
 
951
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:60
952
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:259
953
  msgid "Total Contacts"
954
  msgstr ""
955
 
@@ -978,25 +977,15 @@ msgstr ""
978
  msgid "Audience > Export Contacts"
979
  msgstr ""
980
 
981
- <<<<<<< HEAD
982
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:104
983
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:56
984
  msgid "Import Contacts"
985
- =======
986
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-export-subscribers.php:103
987
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:69
988
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:207
989
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-subscribers-table.php:54
990
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-subscribers-table.php:120
991
- msgid "Add New Contact"
992
- >>>>>>> upstream/dev
993
  msgstr ""
994
 
995
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:192
996
  msgid "Export the Subscribers"
997
  msgstr ""
998
 
999
- <<<<<<< HEAD
1000
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:222
1001
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:223
1002
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:425
@@ -1004,35 +993,26 @@ msgstr ""
1004
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:634
1005
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:365
1006
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:549
1007
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:135
1008
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:138
1009
  #: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
1010
  #: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
1011
  msgid "Name"
1012
- =======
1013
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-export-subscribers.php:105
1014
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:71
1015
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:209
1016
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-lists-table.php:212
1017
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-subscribers-table.php:58
1018
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-subscribers-table.php:121
1019
- msgid "Manage Lists"
1020
- >>>>>>> upstream/dev
1021
  msgstr ""
1022
 
1023
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:223
1024
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:271
1025
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:369
1026
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:550
1027
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:144
1028
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:93
1029
  #: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:169
1030
  msgid "Email"
1031
  msgstr ""
1032
 
1033
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:224
1034
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:94
1035
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:256
1036
  msgid "Status"
1037
  msgstr ""
1038
 
@@ -1145,23 +1125,23 @@ msgstr ""
1145
  msgid "Sync"
1146
  msgstr ""
1147
 
1148
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:68
1149
  msgid "Audience > Sync Contacts"
1150
  msgstr ""
1151
 
1152
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:83
1153
  msgid "Please select List"
1154
  msgstr ""
1155
 
1156
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:103
1157
  msgid "Sync newly registered users to subscribers list"
1158
  msgstr ""
1159
 
1160
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:116
1161
  msgid "Select list to add newly registered users to"
1162
  msgstr ""
1163
 
1164
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:129
1165
  msgid "Sync Now"
1166
  msgstr ""
1167
 
@@ -1309,7 +1289,6 @@ msgid ""
1309
  "(Optional) Select custom post type for which you want to send notification."
1310
  msgstr ""
1311
 
1312
- <<<<<<< HEAD
1313
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:20
1314
  msgid "Contact"
1315
  msgstr ""
@@ -1349,52 +1328,6 @@ msgstr ""
1349
 
1350
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:583
1351
  msgid "Move To List"
1352
- =======
1353
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:111
1354
- #, php-format
1355
- msgid "Total %d contacts have been imported successfully!"
1356
- msgstr ""
1357
-
1358
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:114
1359
- msgid "Contacts are alredy exists."
1360
- msgstr ""
1361
-
1362
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:122
1363
- msgid "Error: Please Select List"
1364
- msgstr ""
1365
-
1366
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:126
1367
- msgid "Error: Please select status"
1368
- msgstr ""
1369
-
1370
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:130
1371
- msgid "Error: Please Upload only CSV File"
1372
- msgstr ""
1373
-
1374
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:134
1375
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:138
1376
- msgid "Error: Please Upload File"
1377
- msgstr ""
1378
-
1379
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:157
1380
- msgid "Select CSV file"
1381
- msgstr ""
1382
-
1383
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:159
1384
- msgid "Check CSV structure"
1385
- msgstr ""
1386
-
1387
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:171
1388
- msgid "Select status"
1389
- msgstr ""
1390
-
1391
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:183
1392
- msgid "Select list"
1393
- msgstr ""
1394
-
1395
- #: ../../../../../repositories/GitLab/icegram/email-subscribers/includes/admin/class-es-import-subscribers.php:206
1396
- msgid "Audience > Import Contacts"
1397
- >>>>>>> upstream/dev
1398
  msgstr ""
1399
 
1400
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:584
@@ -1430,208 +1363,208 @@ msgstr ""
1430
  msgid "No contacts avaliable."
1431
  msgstr ""
1432
 
1433
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:131
1434
  msgid "Sender"
1435
  msgstr ""
1436
 
1437
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:145
1438
  msgid ""
1439
  "Choose a FROM email address for all the emails to be sent from this plugin"
1440
  msgstr ""
1441
 
1442
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:147
1443
  msgid "Email Address"
1444
  msgstr ""
1445
 
1446
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:155
1447
  msgid "Email Addresses"
1448
  msgstr ""
1449
 
1450
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:157
1451
  msgid ""
1452
  "Enter the admin email addresses that should receive notifications (separated "
1453
  "by comma)."
1454
  msgstr ""
1455
 
1456
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:163
1457
  msgid "Email Type"
1458
  msgstr ""
1459
 
1460
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:164
1461
  msgid "Select whether to send HTML or Plain Text email."
1462
  msgstr ""
1463
 
1464
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:172
1465
  msgid "Opt-in Type"
1466
  msgstr ""
1467
 
1468
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:181
1469
  msgid "Image Size"
1470
  msgstr ""
1471
 
1472
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:196
1473
  msgid "Show Unsubscribe Message In Email Footer"
1474
  msgstr ""
1475
 
1476
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:197
1477
  msgid ""
1478
  "Add text which you want your contact to see in footer to unsubscribe. Use "
1479
  "{{UNSUBSCRIBE-LINK}} keyword to add unsubscribe link."
1480
  msgstr ""
1481
 
1482
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:204
1483
  msgid "Subscription Success/ Error Messages"
1484
  msgstr ""
1485
 
1486
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:211
1487
  msgid "You have been subscribed successfully!"
1488
  msgstr ""
1489
 
1490
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:213
1491
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:243
1492
  msgid "Success Message"
1493
  msgstr ""
1494
 
1495
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:214
1496
  msgid ""
1497
  "Show this message if contact is successfully subscribed from Double Opt-In "
1498
  "(Confirmation) Email"
1499
  msgstr ""
1500
 
1501
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:222
1502
  msgid ""
1503
  "Oops.. Your request couldn't be completed. This email address seems to be "
1504
  "already subscribed / blocked."
1505
  msgstr ""
1506
 
1507
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:224
1508
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:255
1509
  msgid "Error Message"
1510
  msgstr ""
1511
 
1512
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:225
1513
  msgid ""
1514
  "Show this message if any error occured after clicking confirmation link from "
1515
  "Double Opt-In (Confirmation) Email."
1516
  msgstr ""
1517
 
1518
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:233
1519
  msgid "Unsubscribe Success/ Error Messages"
1520
  msgstr ""
1521
 
1522
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:241
1523
  msgid ""
1524
  "Thank You, You have been successfully unsubscribed. You will no longer hear "
1525
  "from us."
1526
  msgstr ""
1527
 
1528
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:244
1529
  msgid ""
1530
  "Once contact clicks on unsubscribe link, he/she will be redirected to a page "
1531
  "where this message will be shown."
1532
  msgstr ""
1533
 
1534
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:256
1535
  msgid ""
1536
  "Show this message if any error occured after clicking on unsubscribe link."
1537
  msgstr ""
1538
 
1539
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:284
1540
  msgid "Welcome Email"
1541
  msgstr ""
1542
 
1543
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:294
1544
  msgid "Enable?"
1545
  msgstr ""
1546
 
1547
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:295
1548
  msgid "Send welcome email to new contact after signup."
1549
  msgstr ""
1550
 
1551
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:305
1552
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:333
1553
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:371
1554
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:410
1555
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:254
1556
  msgid "Subject"
1557
  msgstr ""
1558
 
1559
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:315
1560
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:344
1561
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:379
1562
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:421
1563
  msgid "Content"
1564
  msgstr ""
1565
 
1566
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:323
1567
  msgid "Confirmation Email"
1568
  msgstr ""
1569
 
1570
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:345
1571
  msgid ""
1572
  "If Double Optin is set, contact will receive confirmation email with above "
1573
  "content. You can use {{NAME}}, {{EMAIL}}, {{SUBSCRIBE-LINK}} keywords"
1574
  msgstr ""
1575
 
1576
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:353
1577
  msgid "Admin Notification On New Subscription"
1578
  msgstr ""
1579
 
1580
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:358
1581
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:394
1582
  msgid "Notify?"
1583
  msgstr ""
1584
 
1585
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:364
1586
  msgid "Set this option to \"Yes\" to notify admin(s) for new contact signup."
1587
  msgstr ""
1588
 
1589
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:373
1590
  msgid ""
1591
  "Subject for the admin email whenever a new contact signs up and is confirmed"
1592
  msgstr ""
1593
 
1594
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:374
1595
  msgid "New email subscription"
1596
  msgstr ""
1597
 
1598
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:381
1599
  msgid ""
1600
  "Content for the admin email whenever a new subscriber signs up and is "
1601
  "confirmed. Available Keywords: {{NAME}}, {{EMAIL}}, {{LIST}}"
1602
  msgstr ""
1603
 
1604
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:389
1605
  msgid "Admin Notification On Every Campaign Sent"
1606
  msgstr ""
1607
 
1608
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:400
1609
  msgid "Set this option to \"Yes\" to notify admin(s) on every campaign sent."
1610
  msgstr ""
1611
 
1612
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:422
1613
  msgid ""
1614
  "Send report to admin(s) whenever campaign is successfully sent to all "
1615
  "contacts. Available Keywords: {{DATE}}, {{SUBJECT}}, {{COUNT}}"
1616
  msgstr ""
1617
 
1618
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:437
1619
  msgid "Cron URL"
1620
  msgstr ""
1621
 
1622
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:448
1623
  msgid "Maximum Emails Send In An Hour"
1624
  msgstr ""
1625
 
1626
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:449
1627
  msgid "Total emails your host can send in an hour."
1628
  msgstr ""
1629
 
1630
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:458
1631
  msgid "Blocked Domain(s)"
1632
  msgstr ""
1633
 
1634
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:460
1635
  msgid ""
1636
  "System won't allow email addresses which ends with any of domain availble in "
1637
  "above lists. Add list of domain(s) one per line to block."
@@ -1661,105 +1594,121 @@ msgstr ""
1661
  msgid "Subscriber Group"
1662
  msgstr ""
1663
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1664
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:19
1665
  msgid "Report"
1666
  msgstr ""
1667
 
1668
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1669
  msgid "Sent Date"
1670
  msgstr ""
1671
 
1672
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:96
1673
  msgid "Viewed Status"
1674
  msgstr ""
1675
 
1676
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:97
1677
  msgid "Viewed Date"
1678
  msgstr ""
1679
 
1680
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:150
1681
  msgid "Viewed"
1682
  msgstr ""
1683
 
1684
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:150
1685
  msgid "No Data"
1686
  msgstr ""
1687
 
1688
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:163
1689
  msgid "No Reports avaliable."
1690
  msgstr ""
1691
 
1692
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:199
1693
  msgid "Completed"
1694
  msgstr ""
1695
 
1696
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:255
1697
  msgid "Type"
1698
  msgstr ""
1699
 
1700
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:257
1701
  msgid "Start Date"
1702
  msgstr ""
1703
 
1704
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:258
1705
  msgid "End Date"
1706
  msgstr ""
1707
 
1708
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:357
1709
  msgid "You do not have permission to view notification"
1710
  msgstr ""
1711
 
1712
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:369
1713
  msgid "You do not have permission to delete notification"
1714
  msgstr ""
1715
 
1716
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:374
1717
  msgid "Report has been deleted successfully!"
1718
  msgstr ""
1719
 
1720
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:383
1721
  msgid "You do not have permission to preview notification"
1722
  msgstr ""
1723
 
1724
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:401
1725
  msgid "Reports have been deleted successfully!"
1726
  msgstr ""
1727
 
1728
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:422
1729
  msgid "Preview Email"
1730
  msgstr ""
1731
 
1732
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:425
1733
  msgid ""
1734
  "This is how the email you sent may look. <br>Note: Different email services "
1735
  "(like gmail, yahoo etc) display email content differently. So there could be "
1736
  "a slight variation on how your customer will view the email content."
1737
  msgstr ""
1738
 
1739
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-form-widget.php:11
1740
- msgid "Email Subscribers Form"
1741
- msgstr ""
1742
-
1743
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:384
1744
- msgid "Invalid name"
1745
- msgstr ""
1746
-
1747
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:386
1748
- msgid "Oops...unable to add subscriber"
1749
- msgstr ""
1750
-
1751
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:387
1752
- msgid "You do not have permission to add subscriber"
1753
- msgstr ""
1754
-
1755
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:388
1756
- msgid "Please select the list"
1757
- msgstr ""
1758
-
1759
- #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:389
1760
- msgid "Invalid Captcha"
1761
- msgstr ""
1762
-
1763
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/notices/class-es-admin-notices.php:97
1764
  msgid "Action failed. Please refresh the page and retry."
1765
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: Email Subscribers & Newsletters\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2019-03-15 12:44+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
40
  msgstr ""
41
 
42
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:141
43
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:186
44
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:187
45
  msgid "Broadcast"
46
  msgstr ""
47
 
49
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/dashboard.php:85
50
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:20
51
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:43
52
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:82
53
  msgid "Reports"
54
  msgstr ""
55
 
60
 
61
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:144
62
  #: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/dashboard.php:83
63
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:36
64
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:49
65
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-newsletters.php:76
66
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-post-notifications.php:234
67
  msgid "Campaigns"
87
  msgid "Template Preview"
88
  msgstr ""
89
 
 
 
 
 
90
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:121
91
  #, php-format
92
  msgid ""
163
  msgstr ""
164
 
165
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:321
166
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:182
167
  msgid "Active"
168
  msgstr ""
169
 
170
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:322
171
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:182
172
  msgid "Inactive"
173
  msgstr ""
174
 
197
  msgid "Thumbnail"
198
  msgstr ""
199
 
200
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-mailer.php:101
201
+ msgid "Welcome !"
202
+ msgstr ""
203
+
204
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/es-backward.php:99
205
+ msgid "Confirm Your Subscription!"
206
+ msgstr ""
207
+
208
  #: ../../../../wpRepos/gitlab/email-subscribers/public/class-email-subscribers-public.php:109
209
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:377
210
  msgid "Please enter email address"
785
  msgid "Campaign"
786
  msgstr ""
787
 
788
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:50
789
  msgid "Create Post Notification"
790
  msgstr ""
791
 
792
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:51
793
  msgid "Send Broadcast"
794
  msgstr ""
795
 
796
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:52
797
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-newsletters.php:77
798
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-post-notifications.php:238
799
  msgid "Manage Templates"
800
  msgstr ""
801
 
802
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:158
803
  msgid "No Campaigns Found."
804
  msgstr ""
805
 
806
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:333
807
  msgid "You are not allowed to delete campaign."
808
  msgstr ""
809
 
810
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:337
811
  msgid "Campaign has been deleted successfully!"
812
  msgstr ""
813
 
814
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:356
815
  msgid "Campaign(s) have been deleted successfully!"
816
  msgstr ""
817
 
818
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:361
819
  msgid "Please check campaign(s) to delete."
820
  msgstr ""
821
 
822
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-cron.php:132
823
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:404
824
  msgid "Campaign Sent!"
825
  msgstr ""
826
 
876
 
877
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:207
878
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:103
879
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:70
880
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:54
881
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:120
882
  msgid "Add New Contact"
884
 
885
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:208
886
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:50
887
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:71
888
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:55
889
  msgid "Export Contacts"
890
  msgstr ""
892
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:209
893
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:105
894
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:212
895
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:72
896
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:58
897
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:121
898
  msgid "Manage Lists"
913
 
914
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:191
915
  msgid "Template Type"
 
 
 
 
 
916
  msgstr ""
917
 
918
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:11
920
  msgstr ""
921
 
922
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
923
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:110
924
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:315
925
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:357
926
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:393
927
  msgid "Yes"
928
  msgstr ""
929
 
930
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
931
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:58
932
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:109
933
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:319
934
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:358
935
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:394
936
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:96
937
  msgid "No"
938
  msgstr ""
939
 
948
  msgstr ""
949
 
950
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:60
951
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:264
952
  msgid "Total Contacts"
953
  msgstr ""
954
 
977
  msgid "Audience > Export Contacts"
978
  msgstr ""
979
 
 
980
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:104
981
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:56
982
  msgid "Import Contacts"
 
 
 
 
 
 
 
 
983
  msgstr ""
984
 
985
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:192
986
  msgid "Export the Subscribers"
987
  msgstr ""
988
 
 
989
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:222
990
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:223
991
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:425
993
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:634
994
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:365
995
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:549
996
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:131
997
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:134
998
  #: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
999
  #: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
1000
  msgid "Name"
 
 
 
 
 
 
 
 
 
1001
  msgstr ""
1002
 
1003
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:223
1004
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:271
1005
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:369
1006
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:550
1007
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:140
1008
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:97
1009
  #: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:169
1010
  msgid "Email"
1011
  msgstr ""
1012
 
1013
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:224
1014
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:98
1015
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:261
1016
  msgid "Status"
1017
  msgstr ""
1018
 
1125
  msgid "Sync"
1126
  msgstr ""
1127
 
1128
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:69
1129
  msgid "Audience > Sync Contacts"
1130
  msgstr ""
1131
 
1132
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:84
1133
  msgid "Please select List"
1134
  msgstr ""
1135
 
1136
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:104
1137
  msgid "Sync newly registered users to subscribers list"
1138
  msgstr ""
1139
 
1140
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:117
1141
  msgid "Select list to add newly registered users to"
1142
  msgstr ""
1143
 
1144
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:130
1145
  msgid "Sync Now"
1146
  msgstr ""
1147
 
1289
  "(Optional) Select custom post type for which you want to send notification."
1290
  msgstr ""
1291
 
 
1292
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:20
1293
  msgid "Contact"
1294
  msgstr ""
1328
 
1329
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:583
1330
  msgid "Move To List"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1331
  msgstr ""
1332
 
1333
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:584
1363
  msgid "No contacts avaliable."
1364
  msgstr ""
1365
 
1366
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:127
1367
  msgid "Sender"
1368
  msgstr ""
1369
 
1370
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:141
1371
  msgid ""
1372
  "Choose a FROM email address for all the emails to be sent from this plugin"
1373
  msgstr ""
1374
 
1375
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:143
1376
  msgid "Email Address"
1377
  msgstr ""
1378
 
1379
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:151
1380
  msgid "Email Addresses"
1381
  msgstr ""
1382
 
1383
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:153
1384
  msgid ""
1385
  "Enter the admin email addresses that should receive notifications (separated "
1386
  "by comma)."
1387
  msgstr ""
1388
 
1389
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:159
1390
  msgid "Email Type"
1391
  msgstr ""
1392
 
1393
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:160
1394
  msgid "Select whether to send HTML or Plain Text email."
1395
  msgstr ""
1396
 
1397
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:168
1398
  msgid "Opt-in Type"
1399
  msgstr ""
1400
 
1401
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:177
1402
  msgid "Image Size"
1403
  msgstr ""
1404
 
1405
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:192
1406
  msgid "Show Unsubscribe Message In Email Footer"
1407
  msgstr ""
1408
 
1409
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:193
1410
  msgid ""
1411
  "Add text which you want your contact to see in footer to unsubscribe. Use "
1412
  "{{UNSUBSCRIBE-LINK}} keyword to add unsubscribe link."
1413
  msgstr ""
1414
 
1415
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:200
1416
  msgid "Subscription Success/ Error Messages"
1417
  msgstr ""
1418
 
1419
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:207
1420
  msgid "You have been subscribed successfully!"
1421
  msgstr ""
1422
 
1423
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:209
1424
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:239
1425
  msgid "Success Message"
1426
  msgstr ""
1427
 
1428
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:210
1429
  msgid ""
1430
  "Show this message if contact is successfully subscribed from Double Opt-In "
1431
  "(Confirmation) Email"
1432
  msgstr ""
1433
 
1434
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:218
1435
  msgid ""
1436
  "Oops.. Your request couldn't be completed. This email address seems to be "
1437
  "already subscribed / blocked."
1438
  msgstr ""
1439
 
1440
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:220
1441
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:251
1442
  msgid "Error Message"
1443
  msgstr ""
1444
 
1445
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:221
1446
  msgid ""
1447
  "Show this message if any error occured after clicking confirmation link from "
1448
  "Double Opt-In (Confirmation) Email."
1449
  msgstr ""
1450
 
1451
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:229
1452
  msgid "Unsubscribe Success/ Error Messages"
1453
  msgstr ""
1454
 
1455
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:237
1456
  msgid ""
1457
  "Thank You, You have been successfully unsubscribed. You will no longer hear "
1458
  "from us."
1459
  msgstr ""
1460
 
1461
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:240
1462
  msgid ""
1463
  "Once contact clicks on unsubscribe link, he/she will be redirected to a page "
1464
  "where this message will be shown."
1465
  msgstr ""
1466
 
1467
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:252
1468
  msgid ""
1469
  "Show this message if any error occured after clicking on unsubscribe link."
1470
  msgstr ""
1471
 
1472
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:280
1473
  msgid "Welcome Email"
1474
  msgstr ""
1475
 
1476
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:290
1477
  msgid "Enable?"
1478
  msgstr ""
1479
 
1480
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:291
1481
  msgid "Send welcome email to new contact after signup."
1482
  msgstr ""
1483
 
1484
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:301
1485
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:329
1486
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:367
1487
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:406
1488
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:259
1489
  msgid "Subject"
1490
  msgstr ""
1491
 
1492
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:311
1493
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:340
1494
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:375
1495
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:417
1496
  msgid "Content"
1497
  msgstr ""
1498
 
1499
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:319
1500
  msgid "Confirmation Email"
1501
  msgstr ""
1502
 
1503
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:341
1504
  msgid ""
1505
  "If Double Optin is set, contact will receive confirmation email with above "
1506
  "content. You can use {{NAME}}, {{EMAIL}}, {{SUBSCRIBE-LINK}} keywords"
1507
  msgstr ""
1508
 
1509
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:349
1510
  msgid "Admin Notification On New Subscription"
1511
  msgstr ""
1512
 
1513
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:354
1514
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:390
1515
  msgid "Notify?"
1516
  msgstr ""
1517
 
1518
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:360
1519
  msgid "Set this option to \"Yes\" to notify admin(s) for new contact signup."
1520
  msgstr ""
1521
 
1522
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:369
1523
  msgid ""
1524
  "Subject for the admin email whenever a new contact signs up and is confirmed"
1525
  msgstr ""
1526
 
1527
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:370
1528
  msgid "New email subscription"
1529
  msgstr ""
1530
 
1531
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:377
1532
  msgid ""
1533
  "Content for the admin email whenever a new subscriber signs up and is "
1534
  "confirmed. Available Keywords: {{NAME}}, {{EMAIL}}, {{LIST}}"
1535
  msgstr ""
1536
 
1537
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:385
1538
  msgid "Admin Notification On Every Campaign Sent"
1539
  msgstr ""
1540
 
1541
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:396
1542
  msgid "Set this option to \"Yes\" to notify admin(s) on every campaign sent."
1543
  msgstr ""
1544
 
1545
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:418
1546
  msgid ""
1547
  "Send report to admin(s) whenever campaign is successfully sent to all "
1548
  "contacts. Available Keywords: {{DATE}}, {{SUBJECT}}, {{COUNT}}"
1549
  msgstr ""
1550
 
1551
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:433
1552
  msgid "Cron URL"
1553
  msgstr ""
1554
 
1555
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:444
1556
  msgid "Maximum Emails Send In An Hour"
1557
  msgstr ""
1558
 
1559
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:445
1560
  msgid "Total emails your host can send in an hour."
1561
  msgstr ""
1562
 
1563
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:454
1564
  msgid "Blocked Domain(s)"
1565
  msgstr ""
1566
 
1567
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:456
1568
  msgid ""
1569
  "System won't allow email addresses which ends with any of domain availble in "
1570
  "above lists. Add list of domain(s) one per line to block."
1594
  msgid "Subscriber Group"
1595
  msgstr ""
1596
 
1597
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-form-widget.php:11
1598
+ msgid "Email Subscribers Form"
1599
+ msgstr ""
1600
+
1601
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:384
1602
+ msgid "Invalid name"
1603
+ msgstr ""
1604
+
1605
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:386
1606
+ msgid "Oops...unable to add subscriber"
1607
+ msgstr ""
1608
+
1609
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:387
1610
+ msgid "You do not have permission to add subscriber"
1611
+ msgstr ""
1612
+
1613
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:388
1614
+ msgid "Please select the list"
1615
+ msgstr ""
1616
+
1617
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:389
1618
+ msgid "Invalid Captcha"
1619
+ msgstr ""
1620
+
1621
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:19
1622
  msgid "Report"
1623
  msgstr ""
1624
 
1625
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:48
1626
+ #, php-format
1627
+ msgid ""
1628
+ "<a href='%s' target='_blank' class='page-title-action es-imp-button'>Send "
1629
+ "Queued Emails Now</a>"
1630
+ msgstr ""
1631
+
1632
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:50
1633
+ msgid ""
1634
+ "<span class='page-title-action button-disabled'>Send Queued Emails Now</span>"
1635
+ msgstr ""
1636
+
1637
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:51
1638
+ msgid "<br /><span class='es-helper'>No emails found in queue</span>"
1639
+ msgstr ""
1640
+
1641
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:99
1642
  msgid "Sent Date"
1643
  msgstr ""
1644
 
1645
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:100
1646
  msgid "Viewed Status"
1647
  msgstr ""
1648
 
1649
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:101
1650
  msgid "Viewed Date"
1651
  msgstr ""
1652
 
1653
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:154
1654
  msgid "Viewed"
1655
  msgstr ""
1656
 
1657
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:154
1658
  msgid "No Data"
1659
  msgstr ""
1660
 
1661
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:167
1662
  msgid "No Reports avaliable."
1663
  msgstr ""
1664
 
1665
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:203
1666
  msgid "Completed"
1667
  msgstr ""
1668
 
1669
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:260
1670
  msgid "Type"
1671
  msgstr ""
1672
 
1673
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:262
1674
  msgid "Start Date"
1675
  msgstr ""
1676
 
1677
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:263
1678
  msgid "End Date"
1679
  msgstr ""
1680
 
1681
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:362
1682
  msgid "You do not have permission to view notification"
1683
  msgstr ""
1684
 
1685
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:374
1686
  msgid "You do not have permission to delete notification"
1687
  msgstr ""
1688
 
1689
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:379
1690
  msgid "Report has been deleted successfully!"
1691
  msgstr ""
1692
 
1693
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:388
1694
  msgid "You do not have permission to preview notification"
1695
  msgstr ""
1696
 
1697
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:406
1698
  msgid "Reports have been deleted successfully!"
1699
  msgstr ""
1700
 
1701
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:427
1702
  msgid "Preview Email"
1703
  msgstr ""
1704
 
1705
+ #: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:430
1706
  msgid ""
1707
  "This is how the email you sent may look. <br>Note: Different email services "
1708
  "(like gmail, yahoo etc) display email content differently. So there could be "
1709
  "a slight variation on how your customer will view the email content."
1710
  msgstr ""
1711
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1712
  #: ../../../../wpRepos/gitlab/email-subscribers/includes/notices/class-es-admin-notices.php:97
1713
  msgid "Action failed. Please refresh the page and retry."
1714
  msgstr ""
public/class-email-subscribers-public.php CHANGED
@@ -157,19 +157,20 @@ class Email_Subscribers_Public {
157
  if ( 'optin' === $option ) {
158
 
159
  $contact = ES_DB_Contacts::get_subsribers_email_name_map( array( $email ) );
160
-
161
- $data = array(
162
  'name' => $contact[ $email ],
163
  'email' => $email,
164
  'db_id' => $db_id,
165
  'guid' => $guid
166
  );
167
 
168
- $content = ES_Mailer::prepare_welcome_email( $data );
169
-
170
- $subject = ES_Mailer::prepare_welcome_email_subject( $data );
171
 
172
- ES_Mailer::send( $email, $subject, $content );
 
 
 
 
173
  }
174
 
175
  do_action( 'es_redirect_to_optin_page', $option );
157
  if ( 'optin' === $option ) {
158
 
159
  $contact = ES_DB_Contacts::get_subsribers_email_name_map( array( $email ) );
160
+ $data = array(
 
161
  'name' => $contact[ $email ],
162
  'email' => $email,
163
  'db_id' => $db_id,
164
  'guid' => $guid
165
  );
166
 
167
+ $enable_welcome_email = get_option( 'ig_es_enable_welcome_email', 'no' );
 
 
168
 
169
+ if ( $enable_welcome_email === 'yes' ) {
170
+ $content = ES_Mailer::prepare_welcome_email( $data );
171
+ $subject = ES_Mailer::prepare_welcome_email_subject( $data );
172
+ ES_Mailer::send( $email, $subject, $content );
173
+ }
174
  }
175
 
176
  do_action( 'es_redirect_to_optin_page', $option );
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, welcome email, contacts
6
  Requires at least: 3.9
7
  Tested up to: 5.1.1
8
- Stable tag: 4.0.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses
11
 
@@ -308,6 +308,12 @@ Use our free plugin [Email Subscribers - Group Selector](https://wordpress.org/p
308
 
309
  == Changelog ==
310
 
 
 
 
 
 
 
311
  = 4.0.8 (14.03.2019) =
312
  * Fix: Multiple post notifications issue
313
  * Fix: "500 internal server error" while using Rainmaker Form
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, welcome email, contacts
6
  Requires at least: 3.9
7
  Tested up to: 5.1.1
8
+ Stable tag: 4.0.9
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses
11
 
308
 
309
  == Changelog ==
310
 
311
+ = 4.0.9 (15.03.2019) =
312
+ * Fix: Post Notification doesn't work with WP 5.0+ and 'Classic Editor'
313
+ * Fix: Username is set instead of user's name after Sync WordPress users
314
+ * Fix: Welcome Email and Confirmation Email was not working when subscribed via Rainmaker
315
+ * Fix: '{{Email}}' keyword is empty in emails
316
+
317
  = 4.0.8 (14.03.2019) =
318
  * Fix: Multiple post notifications issue
319
  * Fix: "500 internal server error" while using Rainmaker Form