Email Subscribers & Newsletters - Version 5.3.11

Version Description

  • New: Now ES forms can be added to remote sites/pages via HTML code
  • Fix: Workflows are not getting saved in some cases
  • Fix: Security related issues [Thanks to WP team]

=

Download this release

Release Info

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

Code changes from version 5.3.10 to 5.3.11

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: 5.3.10
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
@@ -187,7 +187,7 @@ if ( 'premium' === $ig_es_plan ) {
187
  /* ***************************** Initial Compatibility Work (End) ******************* */
188
 
189
  if ( ! defined( 'ES_PLUGIN_VERSION' ) ) {
190
- define( 'ES_PLUGIN_VERSION', '5.3.10' );
191
  }
192
 
193
  // Plugin Folder Path.
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: 5.3.11
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
187
  /* ***************************** Initial Compatibility Work (End) ******************* */
188
 
189
  if ( ! defined( 'ES_PLUGIN_VERSION' ) ) {
190
+ define( 'ES_PLUGIN_VERSION', '5.3.11' );
191
  }
192
 
193
  // Plugin Folder Path.
lite/admin/css/email-subscribers-admin.css CHANGED
@@ -233,6 +233,10 @@ div#post-body-content .meta-box-sortables .row-blog p.submit input#submit {
233
  height: auto;
234
  }
235
 
 
 
 
 
236
  .blog-content {
237
  width: 100%;
238
  }
233
  height: auto;
234
  }
235
 
236
+ body.rtl div#post-body-content {
237
+ float: right;
238
+ }
239
+
240
  .blog-content {
241
  width: 100%;
242
  }
lite/admin/js/email-subscribers-admin.js CHANGED
@@ -2596,6 +2596,7 @@
2596
  }
2597
 
2598
  }
 
2599
  });
2600
 
2601
  function ig_es_uc_first(string){
@@ -2766,8 +2767,6 @@
2766
  })(jQuery);
2767
 
2768
 
2769
-
2770
-
2771
  function checkDelete() {
2772
  return confirm( ig_es_js_data.i18n_data.delete_confirmation_message );
2773
  }
2596
  }
2597
 
2598
  }
2599
+
2600
  });
2601
 
2602
  function ig_es_uc_first(string){
2767
  })(jQuery);
2768
 
2769
 
 
 
2770
  function checkDelete() {
2771
  return confirm( ig_es_js_data.i18n_data.delete_confirmation_message );
2772
  }
lite/includes/class-es-common.php CHANGED
@@ -682,6 +682,26 @@ class ES_Common {
682
  return $custom_post_type_html;
683
  }
684
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  /**
686
  * Get Opt-in types
687
  *
682
  return $custom_post_type_html;
683
  }
684
 
685
+ /**
686
+ * Get list of registered custom post types
687
+ *
688
+ * @since 5.4.0
689
+ *
690
+ * @return array $custom_post_types List of custom post types
691
+ */
692
+ public static function get_custom_post_types() {
693
+
694
+ $args = array(
695
+ 'public' => true,
696
+ 'exclude_from_search' => false,
697
+ '_builtin' => false,
698
+ );
699
+
700
+ $custom_post_types = get_post_types( $args );
701
+
702
+ return $custom_post_types;
703
+ }
704
+
705
  /**
706
  * Get Opt-in types
707
  *
lite/includes/class-es-install.php CHANGED
@@ -297,6 +297,10 @@ if ( ! class_exists( 'ES_Install' ) ) {
297
  'ig_es_mark_system_workflows',
298
  'ig_es_update_538_db_version',
299
  ),
 
 
 
 
300
  );
301
 
302
  /**
@@ -1088,6 +1092,7 @@ if ( ! class_exists( 'ES_Install' ) ) {
1088
  `timezone` varchar(255) NULL DEFAULT NULL,
1089
  `form_id` int(10) NOT NULL DEFAULT '0',
1090
  `status` varchar(10) DEFAULT NULL,
 
1091
  `unsubscribed` tinyint(1) NOT NULL DEFAULT '0',
1092
  `hash` varchar(50) DEFAULT NULL,
1093
  `engagement_score` float DEFAULT NULL,
297
  'ig_es_mark_system_workflows',
298
  'ig_es_update_538_db_version',
299
  ),
300
+ '5.4.0' => array(
301
+ 'ig_es_update_540_alter_contacts_table',
302
+ 'ig_es_update_540_db_version',
303
+ ),
304
  );
305
 
306
  /**
1092
  `timezone` varchar(255) NULL DEFAULT NULL,
1093
  `form_id` int(10) NOT NULL DEFAULT '0',
1094
  `status` varchar(10) DEFAULT NULL,
1095
+ `reference_site` varchar(255) NULL DEFAULT NULL,
1096
  `unsubscribed` tinyint(1) NOT NULL DEFAULT '0',
1097
  `hash` varchar(50) DEFAULT NULL,
1098
  `engagement_score` float DEFAULT NULL,
lite/includes/classes/class-es-forms-table.php CHANGED
@@ -130,7 +130,9 @@ class ES_Forms_Table extends ES_List_Table {
130
  ?>
131
  </form>
132
  </div>
133
-
 
 
134
  </div>
135
  </div>
136
  <br class="clear">
@@ -368,7 +370,7 @@ class ES_Forms_Table extends ES_List_Table {
368
  <div class="flex flex-row border-b border-gray-100">
369
  <div class="flex w-1/5">
370
  <div class="ml-4 pt-6">
371
- <label for="tag-link"><span class="block pt-1 ml-4 pr-4 text-sm font-medium text-gray-600 pb-2"><?php esc_html_e( 'Description', 'email-subscribers' ); ?></span></label>
372
  </div>
373
  </div>
374
  <div class="flex ">
@@ -405,7 +407,7 @@ class ES_Forms_Table extends ES_List_Table {
405
  <td class="pr-6 pb-8">
406
  <input type="checkbox" class="form-checkbox opacity-0" name="form_data[email_required]" value="yes" disabled="disabled" checked="checked"></td>
407
 
408
- <td class="pr-6 pb-8">
409
  <input class="form-input block border-gray-400 w-5/6 pr-12 h-8 shadow-sm focus:bg-gray-100 sm:text-sm sm:leading-5" name="form_data[email_label]" value="<?php echo esc_attr( $form_data['email_label'] ); ?>">
410
  </td>
411
  <td class="pr-6 pb-8">
@@ -416,7 +418,7 @@ class ES_Forms_Table extends ES_List_Table {
416
  <td class="pr-6 pb-8"><b class="text-gray-500 text-sm font-normal pb-2"><?php esc_html_e( 'Name', 'email-subscribers' ); ?></b></td>
417
 
418
  <td class="pr-6 pb-8">
419
- <input type="checkbox" class="form-checkbox es_visible" name="form_data[name_visible]" value="yes"
420
  <?php
421
  if ( 'yes' === $form_data['name_visible'] ) {
422
  echo 'checked="checked"';
@@ -425,7 +427,7 @@ class ES_Forms_Table extends ES_List_Table {
425
  />
426
  </td>
427
  <td class="pr-6 pb-8">
428
- <input type="checkbox" class="form-checkbox es_required" name="form_data[name_required]" value="yes"
429
  <?php
430
  if ( 'yes' === $form_data['name_required'] ) {
431
  echo 'checked="checked"';
@@ -433,14 +435,14 @@ class ES_Forms_Table extends ES_List_Table {
433
  ?>
434
  />
435
  </td>
436
- <td class="pr-6 pb-8"><input class="es_name_label form-input block border-gray-400 w-5/6 pr-12 h-8 shadow-sm focus:bg-gray-100 sm:text-sm sm:leading-5" name="form_data[name_label]" value="<?php echo esc_attr( $form_data['name_label'] ); ?>"
437
  <?php
438
  if ( 'yes' === $form_data['name_required'] ) {
439
  echo 'disabled=disabled';
440
  }
441
  ?>
442
  ></td>
443
- <td class="pr-6 pb-8"><input class="es_name_label form-input block border-gray-400 w-5/6 pr-12 h-8 shadow-sm focus:bg-gray-100 sm:text-sm sm:leading-5" name="form_data[name_place_holder]" value="<?php echo esc_attr( $form_data['name_place_holder'] ); ?>"
444
  <?php
445
  if ( 'yes' === $form_data['name_required'] ) {
446
  echo 'disabled=disabled';
@@ -500,7 +502,7 @@ class ES_Forms_Table extends ES_List_Table {
500
  <div class="ml-16 mb-4 mr-4 mt-12">
501
  <label for="es_allow_contact" class=" inline-flex items-center cursor-pointer">
502
  <span class="relative">
503
- <input id="es_allow_contact" type="checkbox" class=" absolute es-check-toggle opacity-0 w-0 h-0" name="form_data[list_visible]" value="yes"
504
  <?php
505
  if ( 'yes' === $form_data['list_visible'] ) {
506
  echo 'checked="checked"';
@@ -510,7 +512,7 @@ class ES_Forms_Table extends ES_List_Table {
510
  />
511
 
512
  <span class="es-mail-toggle-line"></span>
513
- <span class="es-mail-toggle-dot"></span>
514
  </span>
515
 
516
  </label>
@@ -522,7 +524,7 @@ class ES_Forms_Table extends ES_List_Table {
522
  </div>
523
 
524
 
525
- <?php do_action( 'ig_es_add_additional_options', $form_data ); ?>
526
 
527
 
528
  <div class="flex flex-row border-b border-gray-100">
@@ -539,7 +541,7 @@ class ES_Forms_Table extends ES_List_Table {
539
  <td>
540
  <label for="gdpr_consent" class=" inline-flex items-center cursor-pointer">
541
  <span class="relative">
542
- <input id="gdpr_consent" type="checkbox" class="absolute es-check-toggle opacity-0 w-0 h-0" name="form_data[gdpr_consent]" value="yes"
543
  <?php
544
  if ( 'yes' === $form_data['gdpr_consent'] ) {
545
  echo 'checked="checked"';
@@ -548,7 +550,7 @@ class ES_Forms_Table extends ES_List_Table {
548
  />
549
 
550
  <span class="es-mail-toggle-line"></span>
551
- <span class="es-mail-toggle-dot"></span>
552
  </span>
553
  </label>
554
  </td>
@@ -574,7 +576,7 @@ class ES_Forms_Table extends ES_List_Table {
574
  <div class="ml-16 mb-3 mr-4 mt-6">
575
  <label for="show_in_popup" class="inline-flex items-center cursor-pointer">
576
  <span class="relative">
577
- <input id="show_in_popup" type="checkbox" class=" absolute es-check-toggle opacity-0 w-0 h-0" name="form_data[show_in_popup]" value="yes"
578
  <?php
579
  if ( 'yes' === $form_data['show_in_popup'] ) {
580
  echo 'checked="checked"';
@@ -584,7 +586,7 @@ class ES_Forms_Table extends ES_List_Table {
584
  />
585
 
586
  <span class="es-mail-toggle-line"></span>
587
- <span class="es-mail-toggle-dot"></span>
588
  </span>
589
 
590
  </label>
@@ -601,15 +603,15 @@ class ES_Forms_Table extends ES_List_Table {
601
  </tr>
602
  </table>
603
  <p class="italic text-xs text-gray-400 leading-snug pt-2">
604
- <?php
605
  /* translators: %s: Form attribute */
606
- echo sprintf( esc_html__( 'To disable it at a specific instance of a form add this attribute %s in the form\'s shortcode', 'email-subscribers'), '<code class="text-gray-500"><em><strong>show-in-popup="no"</em></strong></code>' );
607
  ?>
608
  </p>
609
  </div>
610
  </div>
611
  </div>
612
-
613
  <input type="hidden" name="form_data[af_id]" value="<?php echo esc_attr( $form_data['af_id'] ); ?>"/>
614
  <input type="hidden" name="submitted" value="submitted"/>
615
  <?php
@@ -759,6 +761,8 @@ class ES_Forms_Table extends ES_List_Table {
759
 
760
  );
761
 
 
 
762
  $form_data['name'] = $name;
763
  $form_data['body'] = maybe_serialize( $body );
764
  $form_data['settings'] = maybe_serialize( $settings );
@@ -827,7 +831,7 @@ class ES_Forms_Table extends ES_List_Table {
827
  $form_data['custom_fields'][] = $d;
828
  }
829
  }
830
- return $form_data;
831
  }
832
 
833
  /**
@@ -968,6 +972,7 @@ class ES_Forms_Table extends ES_List_Table {
968
 
969
  'delete' => '<a href="?page=' . esc_attr( $page ) . '&action=delete&form=' . absint( $item['id'] ) . '&_wpnonce=' . $list_nonce . '" onclick="return checkDelete()">' . esc_html__( 'Delete', 'email-subscribers' ) . '</a>',
970
  );
 
971
 
972
  return $title . $this->row_actions( $actions );
973
  }
130
  ?>
131
  </form>
132
  </div>
133
+ <?php
134
+ do_action('ig_es_render_after_form_table');
135
+ ?>
136
  </div>
137
  </div>
138
  <br class="clear">
370
  <div class="flex flex-row border-b border-gray-100">
371
  <div class="flex w-1/5">
372
  <div class="ml-4 pt-6">
373
+ <label for="tag-link"><span class="block pt-1 ml-4 pr-4 text-sm font-medium text-gray-600 pb-2"><?php esc_html_e( 'Description', 'email-subscribers' ); ?></span></label>
374
  </div>
375
  </div>
376
  <div class="flex ">
407
  <td class="pr-6 pb-8">
408
  <input type="checkbox" class="form-checkbox opacity-0" name="form_data[email_required]" value="yes" disabled="disabled" checked="checked"></td>
409
 
410
+ <td class="pr-6 pb-8">
411
  <input class="form-input block border-gray-400 w-5/6 pr-12 h-8 shadow-sm focus:bg-gray-100 sm:text-sm sm:leading-5" name="form_data[email_label]" value="<?php echo esc_attr( $form_data['email_label'] ); ?>">
412
  </td>
413
  <td class="pr-6 pb-8">
418
  <td class="pr-6 pb-8"><b class="text-gray-500 text-sm font-normal pb-2"><?php esc_html_e( 'Name', 'email-subscribers' ); ?></b></td>
419
 
420
  <td class="pr-6 pb-8">
421
+ <input type="checkbox" class="form-checkbox es_visible" name="form_data[name_visible]" value="yes"
422
  <?php
423
  if ( 'yes' === $form_data['name_visible'] ) {
424
  echo 'checked="checked"';
427
  />
428
  </td>
429
  <td class="pr-6 pb-8">
430
+ <input type="checkbox" class="form-checkbox es_required" name="form_data[name_required]" value="yes"
431
  <?php
432
  if ( 'yes' === $form_data['name_required'] ) {
433
  echo 'checked="checked"';
435
  ?>
436
  />
437
  </td>
438
+ <td class="pr-6 pb-8"><input class="es_name_label form-input block border-gray-400 w-5/6 pr-12 h-8 shadow-sm focus:bg-gray-100 sm:text-sm sm:leading-5" name="form_data[name_label]" value="<?php echo esc_attr( $form_data['name_label'] ); ?>"
439
  <?php
440
  if ( 'yes' === $form_data['name_required'] ) {
441
  echo 'disabled=disabled';
442
  }
443
  ?>
444
  ></td>
445
+ <td class="pr-6 pb-8"><input class="es_name_label form-input block border-gray-400 w-5/6 pr-12 h-8 shadow-sm focus:bg-gray-100 sm:text-sm sm:leading-5" name="form_data[name_place_holder]" value="<?php echo esc_attr( $form_data['name_place_holder'] ); ?>"
446
  <?php
447
  if ( 'yes' === $form_data['name_required'] ) {
448
  echo 'disabled=disabled';
502
  <div class="ml-16 mb-4 mr-4 mt-12">
503
  <label for="es_allow_contact" class=" inline-flex items-center cursor-pointer">
504
  <span class="relative">
505
+ <input id="es_allow_contact" type="checkbox" class=" absolute es-check-toggle opacity-0 w-0 h-0" name="form_data[list_visible]" value="yes"
506
  <?php
507
  if ( 'yes' === $form_data['list_visible'] ) {
508
  echo 'checked="checked"';
512
  />
513
 
514
  <span class="es-mail-toggle-line"></span>
515
+ <span class="es-mail-toggle-dot"></span>
516
  </span>
517
 
518
  </label>
524
  </div>
525
 
526
 
527
+ <?php do_action( 'ig_es_add_additional_options', $form_data, $data ); ?>
528
 
529
 
530
  <div class="flex flex-row border-b border-gray-100">
541
  <td>
542
  <label for="gdpr_consent" class=" inline-flex items-center cursor-pointer">
543
  <span class="relative">
544
+ <input id="gdpr_consent" type="checkbox" class="absolute es-check-toggle opacity-0 w-0 h-0" name="form_data[gdpr_consent]" value="yes"
545
  <?php
546
  if ( 'yes' === $form_data['gdpr_consent'] ) {
547
  echo 'checked="checked"';
550
  />
551
 
552
  <span class="es-mail-toggle-line"></span>
553
+ <span class="es-mail-toggle-dot"></span>
554
  </span>
555
  </label>
556
  </td>
576
  <div class="ml-16 mb-3 mr-4 mt-6">
577
  <label for="show_in_popup" class="inline-flex items-center cursor-pointer">
578
  <span class="relative">
579
+ <input id="show_in_popup" type="checkbox" class=" absolute es-check-toggle opacity-0 w-0 h-0" name="form_data[show_in_popup]" value="yes"
580
  <?php
581
  if ( 'yes' === $form_data['show_in_popup'] ) {
582
  echo 'checked="checked"';
586
  />
587
 
588
  <span class="es-mail-toggle-line"></span>
589
+ <span class="es-mail-toggle-dot"></span>
590
  </span>
591
 
592
  </label>
603
  </tr>
604
  </table>
605
  <p class="italic text-xs text-gray-400 leading-snug pt-2">
606
+ <?php
607
  /* translators: %s: Form attribute */
608
+ echo sprintf( esc_html__( 'To disable it at a specific instance of a form add this attribute %s in the form\'s shortcode', 'email-subscribers'), '<code class="text-gray-500"><em><strong>show-in-popup="no"</em></strong></code>' );
609
  ?>
610
  </p>
611
  </div>
612
  </div>
613
  </div>
614
+
615
  <input type="hidden" name="form_data[af_id]" value="<?php echo esc_attr( $form_data['af_id'] ); ?>"/>
616
  <input type="hidden" name="submitted" value="submitted"/>
617
  <?php
761
 
762
  );
763
 
764
+ $settings = apply_filters( 'ig_es_form_settings', $settings, $data );
765
+
766
  $form_data['name'] = $name;
767
  $form_data['body'] = maybe_serialize( $body );
768
  $form_data['settings'] = maybe_serialize( $settings );
831
  $form_data['custom_fields'][] = $d;
832
  }
833
  }
834
+ return apply_filters('ig_es_form_fields_data', $form_data, $settings_data, $body_data);
835
  }
836
 
837
  /**
972
 
973
  'delete' => '<a href="?page=' . esc_attr( $page ) . '&action=delete&form=' . absint( $item['id'] ) . '&_wpnonce=' . $list_nonce . '" onclick="return checkDelete()">' . esc_html__( 'Delete', 'email-subscribers' ) . '</a>',
974
  );
975
+ $actions = apply_filters('ig_es_form_table_row_actions', $actions, $item);
976
 
977
  return $title . $this->row_actions( $actions );
978
  }
lite/includes/classes/class-es-handle-post-notification.php CHANGED
@@ -33,6 +33,24 @@ class ES_Handle_Post_Notification {
33
  }
34
 
35
  add_action( 'ig_es_refresh_post_notification_content', array( $this, 'refresh_post_content' ), 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
 
38
  public function prepare_post_data( $prepared_post, $request ) {
@@ -41,6 +59,7 @@ class ES_Handle_Post_Notification {
41
  }
42
 
43
  public function handle_post_publish( $post, $requst, $insert ) {
 
44
  // If it's inserted for the first time????
45
  // Not able to check whether it'a first time post or nth times
46
  if ( is_object( $post ) && ( $post instanceof WP_Post ) ) { // Do it for the first time only
@@ -90,6 +109,7 @@ class ES_Handle_Post_Notification {
90
  $notifications = ES()->campaigns_db->get_campaigns_by_post_id( $post_id );
91
 
92
  if ( count( $notifications ) > 0 ) {
 
93
  foreach ( $notifications as $notification ) {
94
  $notification_id = $notification['id'];
95
  $notification_body = $notification['body'];
@@ -146,10 +166,16 @@ class ES_Handle_Post_Notification {
146
  ES_DB_Sending_Queue::do_insert_from_contacts_table( $mailing_queue_id, $mailing_queue_hash, $campaign_id, $list_id );
147
 
148
  update_post_meta( $post_id, 'ig_es_is_post_notified', 1 );
 
 
149
  }
150
  }
151
  }
152
  }
 
 
 
 
153
  }
154
  }
155
  }
@@ -325,4 +351,181 @@ class ES_Handle_Post_Notification {
325
  return $content;
326
  }
327
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  }
33
  }
34
 
35
  add_action( 'ig_es_refresh_post_notification_content', array( $this, 'refresh_post_content' ), 10, 2 );
36
+
37
+ add_action( 'init', array( $this, 'init' ) );
38
+ }
39
+
40
+ /**
41
+ * Init hooks required for email queued admin notice functionality
42
+ */
43
+ public function init() {
44
+
45
+ $post_types = array( 'post' );
46
+ $custom_post_types = ES_Common::get_custom_post_types();
47
+ $post_types = array_merge( $post_types, $custom_post_types );
48
+ foreach ( $post_types as $post_type ) {
49
+ add_filter( 'rest_prepare_' . $post_type, array( $this, 'add_generated_post_mailing_queue_ids' ), 10, 3 );
50
+ }
51
+
52
+ add_action( 'admin_notices', array( $this, 'show_emails_queued_notice' ) );
53
+ add_action( 'admin_footer', array( $this, 'enqueue_admin_scripts' ) );
54
  }
55
 
56
  public function prepare_post_data( $prepared_post, $request ) {
59
  }
60
 
61
  public function handle_post_publish( $post, $requst, $insert ) {
62
+
63
  // If it's inserted for the first time????
64
  // Not able to check whether it'a first time post or nth times
65
  if ( is_object( $post ) && ( $post instanceof WP_Post ) ) { // Do it for the first time only
109
  $notifications = ES()->campaigns_db->get_campaigns_by_post_id( $post_id );
110
 
111
  if ( count( $notifications ) > 0 ) {
112
+ $post_mailing_queue_ids = array();
113
  foreach ( $notifications as $notification ) {
114
  $notification_id = $notification['id'];
115
  $notification_body = $notification['body'];
166
  ES_DB_Sending_Queue::do_insert_from_contacts_table( $mailing_queue_id, $mailing_queue_hash, $campaign_id, $list_id );
167
 
168
  update_post_meta( $post_id, 'ig_es_is_post_notified', 1 );
169
+
170
+ $post_mailing_queue_ids[] = $mailing_queue_id;
171
  }
172
  }
173
  }
174
  }
175
+ if ( ! empty( $post_mailing_queue_ids ) ) {
176
+ $trasient_expiry_time_in_seconds = 3;
177
+ set_transient( 'ig_es_post_mailing_queue_ids_' . $post->ID, $post_mailing_queue_ids, $trasient_expiry_time_in_seconds );
178
+ }
179
  }
180
  }
181
  }
351
  return $content;
352
  }
353
 
354
+ /**
355
+ * Add generated post mailing queue ids to REST response.
356
+ *
357
+ * @since 5.4.0
358
+ *
359
+ * @param array $response REST response.
360
+ * @param object $post Post object.
361
+ * @param array $request REST request.
362
+ *
363
+ * @return array $response REST response.
364
+ */
365
+ public function add_generated_post_mailing_queue_ids( $response, $post, $request ) {
366
+
367
+ if ( $post instanceof WP_Post ) {
368
+ $response->data['post_mailing_queue_ids'] = array();
369
+
370
+ $post_mailing_queue_ids = get_transient( 'ig_es_post_mailing_queue_ids_' . $post->ID );
371
+ if ( ! empty( $post_mailing_queue_ids ) ) {
372
+ $response->data['post_mailing_queue_ids'] = $post_mailing_queue_ids;
373
+ }
374
+ }
375
+
376
+
377
+ return $response;
378
+ }
379
+
380
+ /**
381
+ * Show emails queued notice when post is published in Classic Editor
382
+ *
383
+ * @since 5.4.0
384
+ */
385
+ public function show_emails_queued_notice() {
386
+ if ( $this->is_post_edit_screen() ) {
387
+ global $post;
388
+ if ( $post instanceof WP_Post ) {
389
+ $post_mailing_queue_ids = get_transient( 'ig_es_post_mailing_queue_ids_' . $post->ID );
390
+ if ( ! empty( $post_mailing_queue_ids ) ) {
391
+ $notice_text = $this->get_emails_queued_notice_text();
392
+ $report_page_url = menu_page_url( 'es_reports', false );
393
+ ?>
394
+ <div id="ig-es-reports-queued-notice" class="notice notice-success">
395
+ <p>
396
+ <strong><?php echo esc_html( $notice_text ); ?></strong>
397
+ <a href="<?php echo esc_url( $report_page_url ); ?>" target="_blank"><?php echo esc_html__( 'View Reports', 'email-subscribers' ); ?></a>
398
+ </p>
399
+ </div>
400
+ <?php
401
+ }
402
+ }
403
+ }
404
+ }
405
+
406
+ /**
407
+ * Check if current screen is post edit screen
408
+ *
409
+ * @since 5.4.0
410
+ *
411
+ * @return boolean $is_post_edit_screen True if current screen is post edit screen else false
412
+ */
413
+ public function is_post_edit_screen() {
414
+ $current_screen = get_current_screen();
415
+ $is_post_edit_screen = 'post' === $current_screen->base;
416
+ return $is_post_edit_screen;
417
+ }
418
+
419
+ /**
420
+ * Enqueue admin scripts on post edit screen
421
+ *
422
+ * @since 5.4.0
423
+ */
424
+ public function enqueue_admin_scripts() {
425
+
426
+ if ( ! $this->is_post_edit_screen() ) {
427
+ // Return if not on post edit screen.
428
+ return;
429
+ }
430
+
431
+ $current_screen = get_current_screen();
432
+
433
+ $is_block_editor_page = method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor();
434
+ if ( ! $is_block_editor_page ) {
435
+ // Return if Gutenberg isn't used.
436
+ return;
437
+ }
438
+
439
+ $report_page_url = menu_page_url( 'es_reports', false );
440
+
441
+ $notice_text = $this->get_emails_queued_notice_text();
442
+ ?>
443
+ <script type="text/javascript">
444
+ jQuery(document).ready(function(){
445
+ if ( 'undefined' !== typeof wp.data && 'undefined' !== typeof wp.data.subscribe ) {
446
+ const { subscribe } = wp.data;
447
+ const report_page_url = '<?php echo esc_js( $report_page_url ); ?>';
448
+ let notice_shown = false;
449
+ const unsubscribe = subscribe( () => {
450
+ const coreEditor = wp.data.select( 'core/editor' );
451
+
452
+ if ( 'undefined' === typeof coreEditor || 'undefined' === typeof coreEditor.isPublishingPost ) {
453
+ return;
454
+ }
455
+
456
+ const isPublishingPost = coreEditor.isPublishingPost();
457
+ // wait for the post to be published before showing the notice
458
+ if ( isPublishingPost ) {
459
+ notice_shown = false;
460
+ return;
461
+ }
462
+
463
+ if ( 'undefined' === typeof coreEditor.isCurrentPostPublished ) {
464
+ return;
465
+ }
466
+
467
+ const currentPostPublished = coreEditor.isCurrentPostPublished();
468
+ if ( currentPostPublished ) {
469
+
470
+ if ( 'undefined' === typeof coreEditor.getCurrentPost ) {
471
+ return;
472
+ }
473
+
474
+ const currentPost = coreEditor.getCurrentPost();
475
+ if ( 'undefined' === typeof currentPost.post_mailing_queue_ids || currentPost.post_mailing_queue_ids.length === 0 ) {
476
+ return;
477
+ }
478
+
479
+ if ( ! notice_shown ) {
480
+ notice_shown = true;
481
+ setTimeout(() => {
482
+ wp.data.dispatch( 'core/notices' ).createNotice(
483
+ 'success', // Can be one of: success, info, warning, error.
484
+ '<?php echo esc_js( $notice_text ); ?>', // Text string to display.
485
+ {
486
+ type: "snackbar",
487
+ isDismissible: true, // Whether the user can dismiss the notice.
488
+ // Any actions the user can perform.
489
+ actions: [
490
+ {
491
+ onClick: () => {
492
+ window.open(report_page_url, '_blank').focus();
493
+ },
494
+ label: '<?php echo esc_attr__( 'View Reports', 'email-subscribers' ); ?>',
495
+ },
496
+ ],
497
+ }
498
+ );
499
+ }, 1000);
500
+ }
501
+ }
502
+ } );
503
+ }
504
+ });
505
+ </script>
506
+ <?php
507
+ }
508
+
509
+ /**
510
+ * Get admin notice text.
511
+ *
512
+ * @since 5.4.0
513
+ *
514
+ * @return string $notice_text Admin Notice text.
515
+ */
516
+ public function get_emails_queued_notice_text() {
517
+ global $post;
518
+ $notice_text = '';
519
+ if ( $post instanceof WP_Post ) {
520
+ $post_type = $post->post_type;
521
+ $post_type_object = get_post_type_object( $post_type );
522
+ $singular_name = $post_type_object->labels->singular_name;
523
+
524
+ /* translators: %s: Post type singular name */
525
+ $notice_text = sprintf( __( 'Notification emails has been queued for this %s.', 'email-subscribers' ), strtolower( $singular_name ) );
526
+ }
527
+
528
+ return $notice_text;
529
+ }
530
+
531
  }
lite/includes/classes/class-es-handle-subscription.php CHANGED
@@ -127,6 +127,14 @@ if ( ! class_exists( 'ES_Handle_Subscription' ) ) {
127
  */
128
  public $ip_address;
129
 
 
 
 
 
 
 
 
 
130
  /**
131
  * If the user is subscribed from Rainmaker
132
  *
@@ -245,16 +253,17 @@ if ( ! class_exists( 'ES_Handle_Subscription' ) ) {
245
  $last_name = $name_parts['last_name'];
246
  }
247
 
248
- $this->name = $first_name;
249
- $this->first_name = $first_name;
250
- $this->last_name = $last_name;
251
- $this->email = $email;
252
- $this->ip_address = $ip_address;
253
- $this->list_hashes = isset( $form_data['esfpx_lists'] ) ? $form_data['esfpx_lists'] : array();
254
- $this->es_nonce = isset( $form_data['esfpx_es-subscribe'] ) ? trim( $form_data['esfpx_es-subscribe'] ) : '';
255
- $this->form_id = isset( $form_data['esfpx_form_id'] ) ? trim( $form_data['esfpx_form_id'] ) : 0;
256
- $this->es_optin_type = get_option( 'ig_es_optin_type' );
257
- $this->guid = ES_Common::generate_guid();
 
258
 
259
  if ( in_array( $this->es_optin_type, array( 'double_opt_in', 'double_optin' ) ) ) { // Backward Compatibility
260
  $this->is_double_optin = true;
@@ -293,6 +302,10 @@ if ( ! class_exists( 'ES_Handle_Subscription' ) ) {
293
  $data['updated_at'] = null;
294
  $data['meta'] = null;
295
 
 
 
 
 
296
  $data = apply_filters( 'ig_es_add_subscriber_data', $data );
297
 
298
  $data = apply_filters( 'ig_es_add_custom_field_data' , $data, $form_data );
127
  */
128
  public $ip_address;
129
 
130
+ /**
131
+ * Reference Site
132
+ *
133
+ * @since 5.4.0
134
+ * @var
135
+ */
136
+ public $reference_site;
137
+
138
  /**
139
  * If the user is subscribed from Rainmaker
140
  *
253
  $last_name = $name_parts['last_name'];
254
  }
255
 
256
+ $this->name = $first_name;
257
+ $this->first_name = $first_name;
258
+ $this->last_name = $last_name;
259
+ $this->email = $email;
260
+ $this->ip_address = $ip_address;
261
+ $this->list_hashes = isset( $form_data['esfpx_lists'] ) ? $form_data['esfpx_lists'] : array();
262
+ $this->es_nonce = isset( $form_data['esfpx_es-subscribe'] ) ? trim( $form_data['esfpx_es-subscribe'] ) : '';
263
+ $this->form_id = isset( $form_data['esfpx_form_id'] ) ? trim( $form_data['esfpx_form_id'] ) : 0;
264
+ $this->reference_site = isset( $form_data['esfpx_reference_site'] ) ? sanitize_url( $form_data['esfpx_reference_site'] ) : null;
265
+ $this->es_optin_type = get_option( 'ig_es_optin_type' );
266
+ $this->guid = ES_Common::generate_guid();
267
 
268
  if ( in_array( $this->es_optin_type, array( 'double_opt_in', 'double_optin' ) ) ) { // Backward Compatibility
269
  $this->is_double_optin = true;
302
  $data['updated_at'] = null;
303
  $data['meta'] = null;
304
 
305
+ if ( ! is_null( $this->reference_site ) ) {
306
+ $data['reference_site'] = $this->reference_site;
307
+ }
308
+
309
  $data = apply_filters( 'ig_es_add_subscriber_data', $data );
310
 
311
  $data = apply_filters( 'ig_es_add_custom_field_data' , $data, $form_data );
lite/includes/classes/class-es-reports-table.php CHANGED
@@ -73,6 +73,42 @@ class ES_Reports_Table extends ES_List_Table {
73
  </div>
74
  </div>
75
  </header>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  <div>
77
  <hr class="wp-header-end">
78
  </div>
73
  </div>
74
  </div>
75
  </header>
76
+ <?php
77
+ $show_campaign_notice = $emails_to_be_sent > 0 && ES()->is_starter();
78
+ if ( $show_campaign_notice ) {
79
+ ?>
80
+ <style>
81
+ #ig-es-edit-campaign-notice p {
82
+ margin: 0.2em 0;
83
+ }
84
+ </style>
85
+ <div id="ig-es-edit-campaign-notice" class="px-5 py-2 notice notice-info">
86
+ <p>
87
+ <?php
88
+ /* translators: 1. Pause icon HTML 2. Resume icon HTML */
89
+ echo sprintf( esc_html__( 'While the campaign is still sending, you can pause %1$s it anytime and update the campaign. Once you are done, resume %2$s the campaign.', 'email-subscribers' ), '<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewBox="0 0 24 24" class="h-6 w-6 text-gray-500 ml-1 inline">
90
+ <path d="M10 9v6m4-6v6m7-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
91
+ </svg>',
92
+ '<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewBox="0 0 24 24" class="h-6 w-6 text-blue-500 inline">
93
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" />
94
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
95
+ </svg>' );
96
+ ?>
97
+ </p>
98
+ <p>
99
+ <strong>
100
+ <?php
101
+ echo esc_html__( 'Note: ', 'email-subscribers' );
102
+ ?>
103
+ </strong>
104
+ <?php
105
+ echo esc_html__( 'Changes will reflect from the next sending batch.', 'email-subscribers' );
106
+ ?>
107
+ </p>
108
+ </div>
109
+ <?php
110
+ }
111
+ ?>
112
  <div>
113
  <hr class="wp-header-end">
114
  </div>
lite/includes/db/class-es-db-contacts.php CHANGED
@@ -56,29 +56,30 @@ class ES_DB_Contacts extends ES_DB {
56
  */
57
  public function get_columns() {
58
  $columns = array(
59
- 'id' => '%d',
60
- 'wp_user_id' => '%d',
61
- 'first_name' => '%s',
62
- 'last_name' => '%s',
63
- 'email' => '%s',
64
- 'source' => '%s',
65
- 'ip_address' => '%s',
66
- 'country_code' => '%s',
67
- 'form_id' => '%d',
68
- 'status' => '%s',
69
- 'unsubscribed' => '%d',
70
- 'hash' => '%s',
71
- 'engagement_score' => '%f',
72
- 'created_at' => '%s',
73
- 'updated_at' => '%s',
74
- 'is_verified' => '%d',
75
- 'is_disposable' => '%d',
76
- 'is_rolebased' => '%d',
77
- 'is_webmail' => '%d',
78
- 'is_deliverable' => '%d',
79
- 'is_sendsafely' => '%d',
80
- 'timezone' => '%s',
81
- 'meta' => '%s',
 
82
  );
83
 
84
  $custom_field_data = ES()->custom_fields_db->get_custom_fields();
56
  */
57
  public function get_columns() {
58
  $columns = array(
59
+ 'id' => '%d',
60
+ 'wp_user_id' => '%d',
61
+ 'first_name' => '%s',
62
+ 'last_name' => '%s',
63
+ 'email' => '%s',
64
+ 'source' => '%s',
65
+ 'ip_address' => '%s',
66
+ 'country_code' => '%s',
67
+ 'form_id' => '%d',
68
+ 'status' => '%s',
69
+ 'reference_site' => '%s',
70
+ 'unsubscribed' => '%d',
71
+ 'hash' => '%s',
72
+ 'engagement_score' => '%f',
73
+ 'created_at' => '%s',
74
+ 'updated_at' => '%s',
75
+ 'is_verified' => '%d',
76
+ 'is_disposable' => '%d',
77
+ 'is_rolebased' => '%d',
78
+ 'is_webmail' => '%d',
79
+ 'is_deliverable' => '%d',
80
+ 'is_sendsafely' => '%d',
81
+ 'timezone' => '%s',
82
+ 'meta' => '%s',
83
  );
84
 
85
  $custom_field_data = ES()->custom_fields_db->get_custom_fields();
lite/includes/feedback.php CHANGED
@@ -146,7 +146,7 @@ if ( ! function_exists( 'ig_es_review_message_data' ) ) {
146
 
147
  $review_url = 'https://wordpress.org/support/plugin/email-subscribers/reviews/';
148
  $icon_url = ES_PLUGIN_URL . 'lite/admin/images/icon-64.png';
149
- $message = __( "<span><p>We hope you're enjoying <b>Email Subscribers</b> plugin! Could you please do us a BIG favor and give us a 5-star rating on WordPress to help us spread the word and boost our motivation?</p>", 'temporary-login-without-password' );
150
 
151
  $review_data['review_url'] = $review_url;
152
  $review_data['icon_url'] = $icon_url;
146
 
147
  $review_url = 'https://wordpress.org/support/plugin/email-subscribers/reviews/';
148
  $icon_url = ES_PLUGIN_URL . 'lite/admin/images/icon-64.png';
149
+ $message = __( "<span><p>We hope you're enjoying <b>Email Subscribers</b> plugin! Could you please do us a BIG favor and give us a 5-star rating on WordPress to help us spread the word and boost our motivation?</p>", 'email-subscribers' );
150
 
151
  $review_data['review_url'] = $review_url;
152
  $review_data['icon_url'] = $icon_url;
lite/includes/feedback/class-ig-feedback.php CHANGED
@@ -196,12 +196,12 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
196
 
197
  $got_feedback = false;
198
  /************** Update Review Status */
199
- $nonce = ! empty( $_GET['ig_feedback_nonce'] ) ? esc_attr( wp_unslash( $_GET['ig_feedback_nonce'] ) ) : '';
200
  $nonce_verified = wp_verify_nonce( $nonce, 'review' );
201
 
202
  $action = '';
203
  if ( $nonce_verified ) {
204
- $action = ! empty( $_GET['ig_feedback_action'] ) ? esc_attr( wp_unslash( $_GET['ig_feedback_action'] ) ) : '';
205
 
206
  if ( ! empty( $action ) && $this->is_valid_action( $action ) ) {
207
  update_user_meta( $current_user_id, $action, 1 );
@@ -216,7 +216,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
216
  if ( ! empty( $url ) ) {
217
  ?>
218
 
219
- <meta http-equiv="refresh" content="0; url=<?php echo $url; ?>"/>
220
 
221
  <?php
222
  }
@@ -231,6 +231,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
231
 
232
  $review_url = "https://wordpress.org/support/plugin/{$this->plugin}/reviews/";
233
  $icon_url = plugin_dir_url( __FILE__ ) . 'assets/images/icon-64.png';
 
234
  $message = __( sprintf( "<span><p>We hope you're enjoying <b>%s</b> plugin! Could you please do us a BIG favor and give us a 5-star rating on WordPress to help us spread the word and boost our motivation?</p>", $this->name ), $this->plugin );
235
 
236
  $message_data = array(
@@ -284,8 +285,8 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
284
  <?php
285
 
286
  echo '<div class="notice notice-success ig-feedback-notice">';
287
- echo '<span class="ig-feedback-plugin-icon"> <img src="' . $icon_url . '" alt="Logo"/></span>';
288
- echo $message;
289
  echo "<ul class='ig-feedback-notice-links'>";
290
  echo sprintf(
291
  '<li><a href="%s" class="button-primary" target="_blank" data-rated="' . esc_attr__(
@@ -450,7 +451,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
450
  details: details
451
  },
452
 
453
- event: '<?php echo $event; ?>',
454
 
455
  // Add additional information
456
  misc: {
@@ -471,21 +472,21 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
471
  setTimeout(function () {
472
 
473
  Swal.mixin({
474
- footer: '<?php echo $this->footer; ?>',
475
- position: '<?php echo $params['position']; ?>',
476
- width: <?php echo $params['width']; ?>,
477
  animation: false,
478
  focusConfirm: false,
479
- allowEscapeKey: '<?php echo $params['allowEscapeKey']; ?>',
480
- showCloseButton: '<?php echo $params['showCloseButton']; ?>',
481
- allowOutsideClick: '<?php echo $params['allowOutsideClick']; ?>',
482
  showLoaderOnConfirm: true,
483
- confirmButtonText: '<?php echo $params['confirmButtonText']; ?>',
484
- backdrop: '<?php echo (int) $params['backdrop']; ?>'
485
  }).queue([
486
  {
487
  title: '<p class="ig-feedback-title"><?php echo esc_js( $params['title'] ); ?></p>',
488
- html: '<?php echo $html; ?>',
489
  customClass: {
490
  popup: 'animated fadeInUpBig'
491
  },
@@ -531,10 +532,10 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
531
 
532
  Swal.fire({
533
  type: 'success',
534
- width: <?php echo $params['width']; ?>,
535
- title: "Thank You!",
536
  showConfirmButton: false,
537
- position: '<?php echo $params['position']; ?>',
538
  timer: 1500,
539
  animation: false
540
  });
@@ -545,7 +546,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
545
  }, delay * 1000);
546
  }
547
 
548
- var delay = <?php echo $params['delay']; ?>;
549
  showWidget(delay);
550
 
551
 
@@ -630,15 +631,15 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
630
 
631
  ?>
632
 
633
- <div class="ig-general-feedback" id="ig-general-feedback-<?php echo $this->plugin; ?>">
634
  <form class="ig-general-feedback" id="ig-general-feedback">
635
  <p class="ig-feedback-data-name">
636
  <label class="ig-label">Name</label><br/>
637
- <input type="text" name="feedback_data[name]" id="ig-feedback-data-name" value="<?php echo $params['name']; ?>"/>
638
  </p>
639
  <p class="ig-feedback-data-email">
640
  <label class="ig-label"">Email</label><br/>
641
- <input type="email" name="feedback_data[email]" id="ig-feedback-data-email" value="<?php echo $params['email']; ?>"/>
642
  </p>
643
  <p class="ig-feedback-data-message">
644
  <label class="ig-label"">Feedback</label><br/>
@@ -673,22 +674,22 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
673
  function doSend(details, meta, system_info) {
674
 
675
  var data = {
676
- action: '<?php echo $this->ajax_action; ?>',
677
  feedback: {
678
- type: '<?php echo $params['type']; ?>',
679
- slug: '<?php echo $slug; ?>',
680
  title: '<?php echo esc_js( $title ); ?>',
681
  details: details
682
  },
683
 
684
- event: '<?php echo $event; ?>',
685
 
686
  // Add additional information
687
  misc: {
688
- plugin: '<?php echo $this->plugin; ?>',
689
- plugin_abbr: '<?php echo $this->plugin_abbr; ?>',
690
- is_dev_mode: '<?php echo $this->is_dev_mode; ?>',
691
- set_transient: '<?php echo $params['set_transient']; ?>',
692
  meta_info: meta,
693
  system_info: system_info
694
  },
@@ -707,22 +708,22 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
707
  }
708
  }
709
 
710
- var feedbackButtonClass = 'ig-feedback-button-<?php echo $this->plugin; ?>';
711
 
712
  $('#wpwrap').append('<div class="ig-es-feedback-button ' + feedbackButtonClass + '">Feedback</div>');
713
 
714
  $('.' + feedbackButtonClass).on('click', function () {
715
  Swal.mixin({
716
- footer: '<?php echo $this->footer; ?>',
717
- position: '<?php echo $params['position']; ?>',
718
- width: <?php echo $params['width']; ?>,
719
  animation: false,
720
  focusConfirm: false,
721
  allowEscapeKey: true,
722
- showCloseButton: '<?php echo $params['showCloseButton']; ?>',
723
- allowOutsideClick: '<?php echo $params['allowOutsideClick']; ?>',
724
  showLoaderOnConfirm: true,
725
- confirmButtonText: '<?php echo $params['confirmButtonText']; ?>',
726
  backdrop: '<?php echo (int) $params['backdrop']; ?>'
727
  }).queue([
728
  {
@@ -736,7 +737,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
736
 
737
  },
738
  preConfirm: () => {
739
- var $overlay = $('#ig-general-feedback-<?php echo $this->plugin; ?>');
740
  var $form = $overlay.find('form');
741
 
742
  var email = $form.find('#ig-feedback-data-email').val();
@@ -774,10 +775,10 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
774
 
775
  Swal.fire({
776
  type: 'success',
777
- width: <?php echo $params['width']; ?>,
778
- title: "Thank You!",
779
  showConfirmButton: false,
780
- position: '<?php echo $params['position']; ?>',
781
  timer: 1500,
782
  animation: false
783
  });
@@ -820,32 +821,32 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
820
  <script>
821
 
822
  Swal.mixin({
823
- type: '<?php echo $widget_tyoe; ?>',
824
- position: '<?php echo $params['position']; ?>',
825
- width: <?php echo $params['width']; ?>,
826
  animation: false,
827
  focusConfirm: true,
828
  allowEscapeKey: true,
829
- showCancelButton: <?php echo $show_cancel_button; ?>,
830
  confirmButtonColor: '#0e9f6e',
831
  cancelButtonColor: '#5850ec',
832
- cancelButtonText: '<?php echo $cancel_button_text; ?>',
833
- showCloseButton: '<?php echo $params['showCloseButton']; ?>',
834
- allowOutsideClick: '<?php echo $params['allowOutsideClick']; ?>',
835
  showLoaderOnConfirm: true,
836
- confirmButtonText: '<?php echo $params['confirmButtonText']; ?>',
837
  backdrop: '<?php echo (int) $params['backdrop']; ?>'
838
  }).queue([
839
  {
840
  title: '<p class="ig-feedback-title"><?php echo esc_js( $params['title'] ); ?></p>',
841
- html: '<?php echo $html; ?>',
842
  customClass: {
843
  popup: 'animated fadeInUpBig'
844
  },
845
 
846
  preConfirm: () => {
847
  window.open(
848
- '<?php echo $confirm_button_link; ?>',
849
  '_blank' // <- This is what makes it open in a new window.
850
  );
851
  }
@@ -856,16 +857,16 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
856
 
857
  Swal.fire({
858
  type: 'success',
859
- width: <?php echo $params['width']; ?>,
860
  title: "Thank You!",
861
  showConfirmButton: false,
862
- position: '<?php echo $params['position']; ?>',
863
  timer: 1500,
864
  animation: false
865
  });
866
  } else if(response.dismiss == 'cancel') {
867
  window.open(
868
- '<?php echo $cancel_button_link; ?>',
869
  '_blank' // <- This is what makes it open in a new window.
870
  );
871
  }
@@ -903,13 +904,13 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
903
 
904
  ?>
905
 
906
- <div class="ig-general-feedback" id="ig-general-feedback-<?php echo $this->plugin; ?>">
907
  <form class="ig-general-feedback" id="ig-general-feedback">
908
- <p><?php echo $desc; ?></p>
909
 
910
  <p class="ig-general-feedback mb-3">
911
  <?php foreach ( $poll_options as $value => $option ) { ?>
912
- <input type="radio" name="feedback_data[poll_options]" value="<?php echo $value; ?>"><b style="color: <?php echo $option['color']; ?>"><?php echo $option['text']; ?></b><br/>
913
  <?php } ?>
914
  </p>
915
  <p class="ig-feedback-data-poll-message mb-3" id="ig-feedback-data-poll-message">
@@ -946,14 +947,14 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
946
  data: data
947
  },
948
 
949
- event: '<?php echo $event; ?>',
950
 
951
  // Add additional information
952
  misc: {
953
- plugin: '<?php echo $this->plugin; ?>',
954
- plugin_abbr: '<?php echo $this->plugin_abbr; ?>',
955
- is_dev_mode: '<?php echo $this->is_dev_mode; ?>',
956
- set_transient: '<?php echo $params['set_transient']; ?>',
957
  meta_info: meta,
958
  system_info: system_info
959
  },
@@ -965,15 +966,15 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
965
 
966
  Swal.mixin({
967
  footer: '',
968
- position: '<?php echo $params['position']; ?>',
969
- width: <?php echo $params['width']; ?>,
970
  animation: false,
971
  focusConfirm: false,
972
  allowEscapeKey: true,
973
- showCloseButton: '<?php echo $params['showCloseButton']; ?>',
974
- allowOutsideClick: '<?php echo $params['allowOutsideClick']; ?>',
975
  showLoaderOnConfirm: true,
976
- confirmButtonText: '<?php echo $params['confirmButtonText']; ?>',
977
  backdrop: '<?php echo (int) $params['backdrop']; ?>'
978
  }).queue([
979
  {
@@ -987,7 +988,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
987
  },
988
 
989
  preConfirm: () => {
990
- var $overlay = $('#ig-general-feedback-<?php echo $this->plugin; ?>');
991
  var $form = $overlay.find('form');
992
  var poll_options = $form.find("input[name='feedback_data[poll_options]']:checked").val();
993
  var message = $form.find("#ig-feedback-data-poll-additional-message").val();
@@ -1014,10 +1015,10 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
1014
 
1015
  Swal.fire({
1016
  type: 'success',
1017
- width: <?php echo $params['width']; ?>,
1018
- title: "Thank You!",
1019
  showConfirmButton: false,
1020
- position: '<?php echo $params['position']; ?>',
1021
  timer: 1500,
1022
  animation: false
1023
  });
@@ -1071,11 +1072,11 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
1071
  ?>
1072
  <script type="text/javascript">
1073
  jQuery(function ($) {
1074
- var $deactivateLink = $('#the-list').find('[data-slug="<?php echo $this->plugin; ?>"] span.deactivate a'),
1075
- $overlay = $('#ig-deactivate-survey-<?php echo $this->plugin; ?>'),
1076
  $form = $overlay.find('form'),
1077
  formOpen = false,
1078
- consent = $('#ig-deactivate-survey-help-consent-<?php echo $this->plugin; ?>');
1079
 
1080
  function togglePersonalInfoFields(show) {
1081
 
@@ -1177,22 +1178,22 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
1177
  };
1178
 
1179
  var data = {
1180
- action: '<?php echo $this->ajax_action; ?>',
1181
  feedback: {
1182
  type: 'radio',
1183
- title: '<?php echo $title; ?>',
1184
- slug: '<?php echo $slug; ?>',
1185
  value: $form.find('.selected input[type=radio]').attr('data-option-slug'),
1186
  details: $form.find('.selected input[type=text]').val()
1187
  },
1188
 
1189
- event: '<?php echo $event; ?>',
1190
 
1191
  // Add additional information
1192
  misc: {
1193
- plugin: '<?php echo $this->plugin; ?>',
1194
- plugin_abbr: '<?php echo $this->plugin_abbr; ?>',
1195
- is_dev_mode: '<?php echo $this->is_dev_mode; ?>',
1196
  set_cookie: '',
1197
  meta_info: meta,
1198
  system_info: system_info
@@ -1372,7 +1373,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
1372
  ),
1373
  );
1374
  ?>
1375
- <div class="ig-deactivate-survey-modal" id="ig-deactivate-survey-<?php echo $this->plugin; ?>">
1376
  <div class="ig-deactivate-survey-wrap">
1377
  <form class="ig-deactivate-survey" method="post">
1378
  <span class="ig-deactivate-survey-title"><span class="dashicons dashicons-testimonial"></span><?php echo ' ' . esc_html__( 'Quick Feedback', $this->plugin ); ?></span>
@@ -1380,23 +1381,23 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
1380
  <div class="ig-deactivate-survey-options">
1381
  <?php foreach ( $options as $id => $option ) : ?>
1382
  <div class="ig-deactivate-survey-option">
1383
- <label for="ig-deactivate-survey-option-<?php echo $this->plugin; ?>-<?php echo $id; ?>" class="ig-deactivate-survey-option-label">
1384
- <input id="ig-deactivate-survey-option-<?php echo $this->plugin; ?>-<?php echo $id; ?>" class="ig-deactivate-survey-option-input" type="radio" name="code" value="<?php echo $id; ?>" data-option-slug="<?php echo $option['slug']; ?>"/>
1385
- <span class="ig-deactivate-survey-option-reason"><?php echo $option['title']; ?></span>
1386
  </label>
1387
  <?php if ( ! empty( $option['details'] ) ) : ?>
1388
- <input class="ig-deactivate-survey-option-details" type="text" placeholder="<?php echo $option['details']; ?>"/>
1389
  <?php endif; ?>
1390
  </div>
1391
  <?php endforeach; ?>
1392
  </div>
1393
  <div class="ig-deactivate-survey-help-consent">
1394
- <input id="ig-deactivate-survey-help-consent-<?php echo $this->plugin; ?>" class="ig-deactivate-survey-option-input" type="checkbox" name="code" data-option-slug="<?php echo $option['slug']; ?>"/><b>Yes, I give my consent to track plugin usage and contact me back to make this plugin works!</b>
1395
  </div>
1396
  <div class="ig-deactivate-survey-info-data">
1397
 
1398
  <input type="text" class="ig-deactivate-survey-info-name" id="ig-deactivate-survey-info-name" placeholder="Enter Name" name="ig-deactivate-survey-info-name" value=""/>
1399
- <input type="text" class="ig-deactivate-survey-info-email-address" id="ig-deactivate-survey-info-email-address" name="ig-deactivate-survey-info-email-address" value="<?php echo $email; ?>"/>
1400
  </div>
1401
  <div class="ig-deactivate-survey-footer">
1402
  <button type="submit" class="ig-deactivate-survey-submit button button-primary button-large"><?php echo sprintf( esc_html__( 'Submit %s Deactivate', $this->plugin ), '&amp;' ); ?></button>
@@ -1648,7 +1649,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_6' ) ) {
1648
  *
1649
  * Send feedback to server
1650
  */
1651
- function submit_feedback() {
1652
 
1653
  check_ajax_referer( $this->plugin_abbr . '-admin-ajax-nonce', 'security' );
1654
 
196
 
197
  $got_feedback = false;
198
  /************** Update Review Status */
199
+ $nonce = ! empty( $_GET['ig_feedback_nonce'] ) ? sanitize_text_field( wp_unslash( $_GET['ig_feedback_nonce'] ) ) : '';
200
  $nonce_verified = wp_verify_nonce( $nonce, 'review' );
201
 
202
  $action = '';
203
  if ( $nonce_verified ) {
204
+ $action = ! empty( $_GET['ig_feedback_action'] ) ? sanitize_text_field( wp_unslash( $_GET['ig_feedback_action'] ) ) : '';
205
 
206
  if ( ! empty( $action ) && $this->is_valid_action( $action ) ) {
207
  update_user_meta( $current_user_id, $action, 1 );
216
  if ( ! empty( $url ) ) {
217
  ?>
218
 
219
+ <meta http-equiv="refresh" content="0; url=<?php echo esc_url( $url ); ?>"/>
220
 
221
  <?php
222
  }
231
 
232
  $review_url = "https://wordpress.org/support/plugin/{$this->plugin}/reviews/";
233
  $icon_url = plugin_dir_url( __FILE__ ) . 'assets/images/icon-64.png';
234
+ /* translators: %s: Plugin name */
235
  $message = __( sprintf( "<span><p>We hope you're enjoying <b>%s</b> plugin! Could you please do us a BIG favor and give us a 5-star rating on WordPress to help us spread the word and boost our motivation?</p>", $this->name ), $this->plugin );
236
 
237
  $message_data = array(
285
  <?php
286
 
287
  echo '<div class="notice notice-success ig-feedback-notice">';
288
+ echo '<span class="ig-feedback-plugin-icon"> <img src="' . esc_url( $icon_url ) . '" alt="Logo"/></span>';
289
+ echo wp_kses_post( $message );
290
  echo "<ul class='ig-feedback-notice-links'>";
291
  echo sprintf(
292
  '<li><a href="%s" class="button-primary" target="_blank" data-rated="' . esc_attr__(
451
  details: details
452
  },
453
 
454
+ event: '<?php echo esc_js( $event ); ?>',
455
 
456
  // Add additional information
457
  misc: {
472
  setTimeout(function () {
473
 
474
  Swal.mixin({
475
+ footer: '<?php echo wp_kses_post( $this->footer ); ?>',
476
+ position: '<?php echo esc_js( $params['position'] ); ?>',
477
+ width: <?php echo esc_js( $params['width'] ); ?>,
478
  animation: false,
479
  focusConfirm: false,
480
+ allowEscapeKey: '<?php echo esc_js( $params['allowEscapeKey'] ); ?>',
481
+ showCloseButton: '<?php echo esc_js( $params['showCloseButton'] ); ?>',
482
+ allowOutsideClick: '<?php echo esc_js( $params['allowOutsideClick'] ); ?>',
483
  showLoaderOnConfirm: true,
484
+ confirmButtonText: '<?php echo wp_kses_post( $params['confirmButtonText'] ); ?>',
485
+ backdrop: '<?php echo (int) esc_js( $params['backdrop'] ); ?>'
486
  }).queue([
487
  {
488
  title: '<p class="ig-feedback-title"><?php echo esc_js( $params['title'] ); ?></p>',
489
+ html: '<?php echo wp_kses_post( $html ); ?>',
490
  customClass: {
491
  popup: 'animated fadeInUpBig'
492
  },
532
 
533
  Swal.fire({
534
  type: 'success',
535
+ width: <?php echo esc_js( $params['width'] ); ?>,
536
+ title: '<?php echo esc_attr__( 'Thank You!', $this->plugin ); ?>',
537
  showConfirmButton: false,
538
+ position: '<?php echo esc_js( $params['position'] ); ?>',
539
  timer: 1500,
540
  animation: false
541
  });
546
  }, delay * 1000);
547
  }
548
 
549
+ var delay = <?php echo esc_js( $params['delay'] ); ?>;
550
  showWidget(delay);
551
 
552
 
631
 
632
  ?>
633
 
634
+ <div class="ig-general-feedback" id="ig-general-feedback-<?php echo esc_attr( $this->plugin ); ?>">
635
  <form class="ig-general-feedback" id="ig-general-feedback">
636
  <p class="ig-feedback-data-name">
637
  <label class="ig-label">Name</label><br/>
638
+ <input type="text" name="feedback_data[name]" id="ig-feedback-data-name" value="<?php echo esc_attr( $params['name'] ); ?>"/>
639
  </p>
640
  <p class="ig-feedback-data-email">
641
  <label class="ig-label"">Email</label><br/>
642
+ <input type="email" name="feedback_data[email]" id="ig-feedback-data-email" value="<?php echo esc_attr( $params['email'] ); ?>"/>
643
  </p>
644
  <p class="ig-feedback-data-message">
645
  <label class="ig-label"">Feedback</label><br/>
674
  function doSend(details, meta, system_info) {
675
 
676
  var data = {
677
+ action: '<?php echo esc_js( $this->ajax_action ); ?>',
678
  feedback: {
679
+ type: '<?php echo esc_js( $params['type'] ); ?>',
680
+ slug: '<?php echo esc_js( $slug ); ?>',
681
  title: '<?php echo esc_js( $title ); ?>',
682
  details: details
683
  },
684
 
685
+ event: '<?php echo esc_js( $event ); ?>',
686
 
687
  // Add additional information
688
  misc: {
689
+ plugin: '<?php echo esc_js( $this->plugin ); ?>',
690
+ plugin_abbr: '<?php echo esc_js( $this->plugin_abbr ); ?>',
691
+ is_dev_mode: '<?php echo esc_js( $this->is_dev_mode ); ?>',
692
+ set_transient: '<?php echo esc_js( $params['set_transient'] ); ?>',
693
  meta_info: meta,
694
  system_info: system_info
695
  },
708
  }
709
  }
710
 
711
+ var feedbackButtonClass = 'ig-feedback-button-<?php echo esc_js( $this->plugin ); ?>';
712
 
713
  $('#wpwrap').append('<div class="ig-es-feedback-button ' + feedbackButtonClass + '">Feedback</div>');
714
 
715
  $('.' + feedbackButtonClass).on('click', function () {
716
  Swal.mixin({
717
+ footer: '<?php echo wp_kses_post( $this->footer ); ?>',
718
+ position: '<?php echo esc_js( $params['position'] ); ?>',
719
+ width: <?php echo esc_js( $params['width'] ); ?>,
720
  animation: false,
721
  focusConfirm: false,
722
  allowEscapeKey: true,
723
+ showCloseButton: '<?php echo esc_js( $params['showCloseButton'] ); ?>',
724
+ allowOutsideClick: '<?php echo esc_js( $params['allowOutsideClick'] ); ?>',
725
  showLoaderOnConfirm: true,
726
+ confirmButtonText: '<?php echo wp_kses_post( $params['confirmButtonText'] ); ?>',
727
  backdrop: '<?php echo (int) $params['backdrop']; ?>'
728
  }).queue([
729
  {
737
 
738
  },
739
  preConfirm: () => {
740
+ var $overlay = $('#ig-general-feedback-<?php echo esc_js( $this->plugin ); ?>');
741
  var $form = $overlay.find('form');
742
 
743
  var email = $form.find('#ig-feedback-data-email').val();
775
 
776
  Swal.fire({
777
  type: 'success',
778
+ width: <?php echo esc_js( $params['width'] ); ?>,
779
+ title: '<?php echo esc_attr__( 'Thank You!', $this->plugin ); ?>',
780
  showConfirmButton: false,
781
+ position: '<?php echo esc_js( $params['position'] ); ?>',
782
  timer: 1500,
783
  animation: false
784
  });
821
  <script>
822
 
823
  Swal.mixin({
824
+ type: '<?php echo esc_js( $widget_tyoe ); ?>',
825
+ position: '<?php echo esc_js( $params['position'] ); ?>',
826
+ width: <?php echo esc_js( $params['width'] ); ?>,
827
  animation: false,
828
  focusConfirm: true,
829
  allowEscapeKey: true,
830
+ showCancelButton: <?php echo esc_js( $show_cancel_button ); ?>,
831
  confirmButtonColor: '#0e9f6e',
832
  cancelButtonColor: '#5850ec',
833
+ cancelButtonText: '<?php echo wp_kses_post( $cancel_button_text ); ?>',
834
+ showCloseButton: '<?php echo esc_js( $params['showCloseButton'] ); ?>',
835
+ allowOutsideClick: '<?php echo esc_js( $params['allowOutsideClick'] ); ?>',
836
  showLoaderOnConfirm: true,
837
+ confirmButtonText: '<?php echo wp_kses_post( $params['confirmButtonText'] ); ?>',
838
  backdrop: '<?php echo (int) $params['backdrop']; ?>'
839
  }).queue([
840
  {
841
  title: '<p class="ig-feedback-title"><?php echo esc_js( $params['title'] ); ?></p>',
842
+ html: '<?php echo wp_kses_post( $html ); ?>',
843
  customClass: {
844
  popup: 'animated fadeInUpBig'
845
  },
846
 
847
  preConfirm: () => {
848
  window.open(
849
+ '<?php echo esc_url( $confirm_button_link ); ?>',
850
  '_blank' // <- This is what makes it open in a new window.
851
  );
852
  }
857
 
858
  Swal.fire({
859
  type: 'success',
860
+ width: <?php echo esc_js( $params['width'] ); ?>,
861
  title: "Thank You!",
862
  showConfirmButton: false,
863
+ position: '<?php echo esc_js( $params['position'] ); ?>',
864
  timer: 1500,
865
  animation: false
866
  });
867
  } else if(response.dismiss == 'cancel') {
868
  window.open(
869
+ '<?php echo esc_url( $cancel_button_link ); ?>',
870
  '_blank' // <- This is what makes it open in a new window.
871
  );
872
  }
904
 
905
  ?>
906
 
907
+ <div class="ig-general-feedback" id="ig-general-feedback-<?php echo esc_attr( $this->plugin ); ?>">
908
  <form class="ig-general-feedback" id="ig-general-feedback">
909
+ <p><?php echo wp_kses_post( $desc ); ?></p>
910
 
911
  <p class="ig-general-feedback mb-3">
912
  <?php foreach ( $poll_options as $value => $option ) { ?>
913
+ <input type="radio" name="feedback_data[poll_options]" value="<?php echo esc_attr( $value ); ?>"><b style="color: <?php echo esc_attr( $option['color'] ); ?>"><?php echo wp_kses_post( $option['text'] ); ?></b><br/>
914
  <?php } ?>
915
  </p>
916
  <p class="ig-feedback-data-poll-message mb-3" id="ig-feedback-data-poll-message">
947
  data: data
948
  },
949
 
950
+ event: '<?php echo esc_js( $event ); ?>',
951
 
952
  // Add additional information
953
  misc: {
954
+ plugin: '<?php echo esc_js( $this->plugin ); ?>',
955
+ plugin_abbr: '<?php echo esc_js( $this->plugin_abbr ); ?>',
956
+ is_dev_mode: '<?php echo esc_js( $this->is_dev_mode ); ?>',
957
+ set_transient: '<?php echo esc_js( $params['set_transient'] ); ?>',
958
  meta_info: meta,
959
  system_info: system_info
960
  },
966
 
967
  Swal.mixin({
968
  footer: '',
969
+ position: '<?php echo esc_js( $params['position'] ); ?>',
970
+ width: <?php echo esc_js( $params['width'] ); ?>,
971
  animation: false,
972
  focusConfirm: false,
973
  allowEscapeKey: true,
974
+ showCloseButton: '<?php echo esc_js( $params['showCloseButton'] ); ?>',
975
+ allowOutsideClick: '<?php echo esc_js( $params['allowOutsideClick'] ); ?>',
976
  showLoaderOnConfirm: true,
977
+ confirmButtonText: '<?php echo wp_kses_post( $params['confirmButtonText'] ); ?>',
978
  backdrop: '<?php echo (int) $params['backdrop']; ?>'
979
  }).queue([
980
  {
988
  },
989
 
990
  preConfirm: () => {
991
+ var $overlay = $('#ig-general-feedback-<?php echo esc_js( $this->plugin ); ?>');
992
  var $form = $overlay.find('form');
993
  var poll_options = $form.find("input[name='feedback_data[poll_options]']:checked").val();
994
  var message = $form.find("#ig-feedback-data-poll-additional-message").val();
1015
 
1016
  Swal.fire({
1017
  type: 'success',
1018
+ width: <?php echo esc_js( $params['width'] ); ?>,
1019
+ title: '<?php echo esc_attr__( 'Thank You!', $this->plugin ); ?>',
1020
  showConfirmButton: false,
1021
+ position: '<?php echo esc_js( $params['position'] ); ?>',
1022
  timer: 1500,
1023
  animation: false
1024
  });
1072
  ?>
1073
  <script type="text/javascript">
1074
  jQuery(function ($) {
1075
+ var $deactivateLink = $('#the-list').find('[data-slug="<?php echo esc_js( $this->plugin ); ?>"] span.deactivate a'),
1076
+ $overlay = $('#ig-deactivate-survey-<?php echo esc_js( $this->plugin ); ?>'),
1077
  $form = $overlay.find('form'),
1078
  formOpen = false,
1079
+ consent = $('#ig-deactivate-survey-help-consent-<?php echo esc_js( $this->plugin ); ?>');
1080
 
1081
  function togglePersonalInfoFields(show) {
1082
 
1178
  };
1179
 
1180
  var data = {
1181
+ action: '<?php echo esc_js( $this->ajax_action ); ?>',
1182
  feedback: {
1183
  type: 'radio',
1184
+ title: '<?php echo esc_js( $title ); ?>',
1185
+ slug: '<?php echo esc_js( $slug ); ?>',
1186
  value: $form.find('.selected input[type=radio]').attr('data-option-slug'),
1187
  details: $form.find('.selected input[type=text]').val()
1188
  },
1189
 
1190
+ event: '<?php echo esc_js( $event ); ?>',
1191
 
1192
  // Add additional information
1193
  misc: {
1194
+ plugin: '<?php echo esc_js( $this->plugin ); ?>',
1195
+ plugin_abbr: '<?php echo esc_js( $this->plugin_abbr ); ?>',
1196
+ is_dev_mode: '<?php echo esc_js( $this->is_dev_mode ); ?>',
1197
  set_cookie: '',
1198
  meta_info: meta,
1199
  system_info: system_info
1373
  ),
1374
  );
1375
  ?>
1376
+ <div class="ig-deactivate-survey-modal" id="ig-deactivate-survey-<?php echo esc_js( $this->plugin ); ?>">
1377
  <div class="ig-deactivate-survey-wrap">
1378
  <form class="ig-deactivate-survey" method="post">
1379
  <span class="ig-deactivate-survey-title"><span class="dashicons dashicons-testimonial"></span><?php echo ' ' . esc_html__( 'Quick Feedback', $this->plugin ); ?></span>
1381
  <div class="ig-deactivate-survey-options">
1382
  <?php foreach ( $options as $id => $option ) : ?>
1383
  <div class="ig-deactivate-survey-option">
1384
+ <label for="ig-deactivate-survey-option-<?php echo esc_attr( $this->plugin ); ?>-<?php echo esc_attr( $id ); ?>" class="ig-deactivate-survey-option-label">
1385
+ <input id="ig-deactivate-survey-option-<?php echo esc_attr( $this->plugin ); ?>-<?php echo esc_attr( $id ); ?>" class="ig-deactivate-survey-option-input" type="radio" name="code" value="<?php echo esc_attr( $id ); ?>" data-option-slug="<?php echo esc_attr( $option['slug'] ); ?>"/>
1386
+ <span class="ig-deactivate-survey-option-reason"><?php echo esc_attr( $option['title'] ); ?></span>
1387
  </label>
1388
  <?php if ( ! empty( $option['details'] ) ) : ?>
1389
+ <input class="ig-deactivate-survey-option-details" type="text" placeholder="<?php echo esc_attr( $option['details'] ); ?>"/>
1390
  <?php endif; ?>
1391
  </div>
1392
  <?php endforeach; ?>
1393
  </div>
1394
  <div class="ig-deactivate-survey-help-consent">
1395
+ <input id="ig-deactivate-survey-help-consent-<?php echo esc_attr( $this->plugin ); ?>" class="ig-deactivate-survey-option-input" type="checkbox" name="code" data-option-slug="<?php echo esc_attr( $option['slug'] ); ?>"/><b><?php echo esc_html__( 'Yes, I give my consent to track plugin usage and contact me back to make this plugin works!', $this->plugin ); ?></b>
1396
  </div>
1397
  <div class="ig-deactivate-survey-info-data">
1398
 
1399
  <input type="text" class="ig-deactivate-survey-info-name" id="ig-deactivate-survey-info-name" placeholder="Enter Name" name="ig-deactivate-survey-info-name" value=""/>
1400
+ <input type="text" class="ig-deactivate-survey-info-email-address" id="ig-deactivate-survey-info-email-address" name="ig-deactivate-survey-info-email-address" value="<?php echo esc_js( $email ); ?>"/>
1401
  </div>
1402
  <div class="ig-deactivate-survey-footer">
1403
  <button type="submit" class="ig-deactivate-survey-submit button button-primary button-large"><?php echo sprintf( esc_html__( 'Submit %s Deactivate', $this->plugin ), '&amp;' ); ?></button>
1649
  *
1650
  * Send feedback to server
1651
  */
1652
+ public function submit_feedback() {
1653
 
1654
  check_ajax_referer( $this->plugin_abbr . '-admin-ajax-nonce', 'security' );
1655
 
lite/includes/upgrade/es-update-functions.php CHANGED
@@ -1877,3 +1877,34 @@ function ig_es_update_538_db_version() {
1877
  }
1878
 
1879
  /* --------------------- ES 5.3.8(End)--------------------------- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1877
  }
1878
 
1879
  /* --------------------- ES 5.3.8(End)--------------------------- */
1880
+
1881
+ /* --------------------- ES 5.4.0(Start)--------------------------- */
1882
+
1883
+ /**
1884
+ * Add reference_site column in contacts table
1885
+ *
1886
+ * @since 5.4.0
1887
+ */
1888
+ function ig_es_update_540_alter_contacts_table() {
1889
+ global $wpdb;
1890
+
1891
+ $cols = $wpdb->get_col( "SHOW COLUMNS FROM {$wpdb->prefix}ig_contacts" );
1892
+
1893
+ if ( ! in_array( 'reference_site', $cols, true ) ) {
1894
+ $wpdb->query(
1895
+ "ALTER TABLE {$wpdb->prefix}ig_contacts ADD `reference_site` VARCHAR(255) NULL DEFAULT NULL AFTER `ip_address`"
1896
+ );
1897
+
1898
+ }
1899
+ }
1900
+
1901
+ /**
1902
+ * Update DB version
1903
+ *
1904
+ * @since 5.4.0
1905
+ */
1906
+ function ig_es_update_540_db_version() {
1907
+ ES_Install::update_db_version( '5.4.0' );
1908
+ }
1909
+
1910
+ /* --------------------- ES 5.4.0(End)--------------------------- */
lite/includes/workflows/actions/class-es-action-send-email.php CHANGED
@@ -65,7 +65,6 @@ if ( ! class_exists( 'ES_Action_Send_Email' ) ) {
65
  $email_heading_field->set_name( 'ig-es-email-heading' );
66
  $email_heading_field->set_title( __( 'Email heading', 'email-subscribers' ) );
67
  $email_heading_field->set_description( __( 'Enter text to be shown in email header area.', 'email-subscribers' ) );
68
- $email_heading_field->set_required();
69
 
70
  $email_template = $this->get_option( 'ig-es-email-template', false );
71
 
65
  $email_heading_field->set_name( 'ig-es-email-heading' );
66
  $email_heading_field->set_title( __( 'Email heading', 'email-subscribers' ) );
67
  $email_heading_field->set_description( __( 'Enter text to be shown in email header area.', 'email-subscribers' ) );
 
68
 
69
  $email_template = $this->get_option( 'ig-es-email-template', false );
70
 
lite/language.php CHANGED
@@ -609,6 +609,9 @@ __( 'Enable', 'email-subscribers' ),
609
  __( 'Disable', 'email-subscribers' ),
610
  __( 'Search Forms', 'email-subscribers' ),
611
  __( 'No Forms avaliable.', 'email-subscribers' ),
 
 
 
612
  __( 'Please enter email address', 'email-subscribers' ),
613
  __( 'You need to wait for sometime before subscribing again', 'email-subscribers' ),
614
  __( 'Successfully Subscribed.', 'email-subscribers' ),
@@ -770,6 +773,10 @@ __( 'Post Digest', 'email-subscribers' ),
770
  /* translators: %s: Cron url */
771
  __( 'Send Queued Emails Now', 'email-subscribers' ),
772
  __( 'No emails found in queue', 'email-subscribers' ),
 
 
 
 
773
  __( 'No Reports avaliable.', 'email-subscribers' ),
774
  __( 'View', 'email-subscribers' ),
775
  __( 'Start Date', 'email-subscribers' ),
@@ -799,6 +806,7 @@ __( 'Not a member yet?', 'email-subscribers' ),
799
  __( 'Join', 'email-subscribers' ),
800
  __( 'Email Subscribers Secret Club', 'email-subscribers' ),
801
  __( 'on Facebook', 'email-subscribers' ),
 
802
  __( 'Subscription forms and CTAs??', 'email-subscribers' ),
803
  __( 'Send my feedback to <b>Icegram team</b>', 'email-subscribers' ),
804
  __( 'Broadcast Created Successfully!', 'email-subscribers' ),
@@ -1183,6 +1191,17 @@ __( 'Custom field deleted successfully!', 'email-subscribers' ),
1183
  __( 'Oops...There was an issue while deleting the custom fields', 'email-subscribers' ),
1184
  __( 'No custom fields available.', 'email-subscribers' ),
1185
  __( 'Select option', 'email-subscribers' ),
 
 
 
 
 
 
 
 
 
 
 
1186
  __( 'Recipient(s): ', 'email-subscribers' ),
1187
  __( 'Clicked', 'email-subscribers' ),
1188
  __( 'Open and Click activity', 'email-subscribers' ),
609
  __( 'Disable', 'email-subscribers' ),
610
  __( 'Search Forms', 'email-subscribers' ),
611
  __( 'No Forms avaliable.', 'email-subscribers' ),
612
+ __( 'View Reports', 'email-subscribers' ),
613
+ /* translators: %s: Post type singular name */
614
+ __( 'Notification emails has been queued for this %s.', 'email-subscribers' ),
615
  __( 'Please enter email address', 'email-subscribers' ),
616
  __( 'You need to wait for sometime before subscribing again', 'email-subscribers' ),
617
  __( 'Successfully Subscribed.', 'email-subscribers' ),
773
  /* translators: %s: Cron url */
774
  __( 'Send Queued Emails Now', 'email-subscribers' ),
775
  __( 'No emails found in queue', 'email-subscribers' ),
776
+ /* translators: 1. Pause icon HTML 2. Resume icon HTML */
777
+ __( 'While the campaign is still sending, you can pause %1$s it anytime and update the campaign. Once you are done, resume %2$s the campaign.', 'email-subscribers' ),
778
+ __( 'Note: ', 'email-subscribers' ),
779
+ __( 'Changes will reflect from the next sending batch.', 'email-subscribers' ),
780
  __( 'No Reports avaliable.', 'email-subscribers' ),
781
  __( 'View', 'email-subscribers' ),
782
  __( 'Start Date', 'email-subscribers' ),
806
  __( 'Join', 'email-subscribers' ),
807
  __( 'Email Subscribers Secret Club', 'email-subscribers' ),
808
  __( 'on Facebook', 'email-subscribers' ),
809
+ __( '<span><p>We hope you\'re enjoying <b>Email Subscribers</b> plugin! Could you please do us a BIG favor and give us a 5-star rating on WordPress to help us spread the word and boost our motivation?</p>', 'email-subscribers' ),
810
  __( 'Subscription forms and CTAs??', 'email-subscribers' ),
811
  __( 'Send my feedback to <b>Icegram team</b>', 'email-subscribers' ),
812
  __( 'Broadcast Created Successfully!', 'email-subscribers' ),
1191
  __( 'Oops...There was an issue while deleting the custom fields', 'email-subscribers' ),
1192
  __( 'No custom fields available.', 'email-subscribers' ),
1193
  __( 'Select option', 'email-subscribers' ),
1194
+ __( 'Invalid request', 'email-subscribers' ),
1195
+ __( 'Please add this site URL in the form settings', 'email-subscribers' ),
1196
+ __( 'Form is not enabled for remote sites.', 'email-subscribers' ),
1197
+ __( 'Invalid form!', 'email-subscribers' ),
1198
+ __( 'Copy Embed Code', 'email-subscribers' ),
1199
+ __( 'Get form embed code', 'email-subscribers' ),
1200
+ __( 'Enable embed form?', 'email-subscribers' ),
1201
+ __( 'Would you like to show this form in external website?', 'email-subscribers' ),
1202
+ __( 'Specific URLs from other sites', 'email-subscribers' ),
1203
+ __( 'Add site URL', 'email-subscribers' ),
1204
+ __( 'Remove', 'email-subscribers' ),
1205
  __( 'Recipient(s): ', 'email-subscribers' ),
1206
  __( 'Clicked', 'email-subscribers' ),
1207
  __( 'Open and Click activity', 'email-subscribers' ),
lite/languages/email-subscribers.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Email Subscribers & Newsletters plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Email Subscribers & Newsletters 5.3.10\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-subscribers\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-04-07T07:17:30+02:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: email-subscribers\n"
@@ -80,7 +80,7 @@ msgid "Please add a campaign subject before saving."
80
  msgstr ""
81
 
82
  #: lite/admin/class-email-subscribers-admin.php:176
83
- #: pro/pro-class-email-subscribers.php:596
84
  msgid "Please add email body."
85
  msgstr ""
86
 
@@ -222,7 +222,7 @@ msgid "Audience"
222
  msgstr ""
223
 
224
  #: lite/admin/class-email-subscribers-admin.php:304
225
- #: lite/includes/classes/class-es-forms-table.php:466
226
  #: lite/includes/classes/class-es-lists-table.php:34
227
  #: lite/includes/classes/class-es-lists-table.php:88
228
  msgid "Lists"
@@ -259,7 +259,7 @@ msgstr ""
259
  #: lite/includes/classes/class-es-campaigns-table.php:357
260
  #: lite/includes/classes/class-es-newsletters.php:249
261
  #: lite/includes/classes/class-es-reports-data.php:360
262
- #: lite/includes/classes/class-es-reports-table.php:161
263
  #: lite/includes/classes/class-es-templates-table.php:187
264
  #: lite/includes/pro-features.php:1224
265
  #: lite/public/class-email-subscribers-public.php:487
@@ -269,7 +269,7 @@ msgstr ""
269
 
270
  #: lite/admin/class-email-subscribers-admin.php:323
271
  #: lite/includes/classes/class-es-newsletters.php:426
272
- #: lite/includes/classes/class-es-reports-table.php:551
273
  #: lite/includes/classes/class-es-templates-table.php:149
274
  #: lite/admin/js/src/views/GalleryItemPreview.js:16
275
  msgid "Template Preview"
@@ -294,7 +294,7 @@ msgstr ""
294
  #: lite/includes/classes/class-es-campaign-report.php:17
295
  #: lite/includes/classes/class-es-reports-table.php:17
296
  #: lite/includes/classes/class-es-reports-table.php:55
297
- #: lite/includes/classes/class-es-reports-table.php:112
298
  #: lite/includes/pro-features.php:189
299
  #: pro/classes/class-es-pro-sequence-report.php:21
300
  #: pro/classes/class-es-pro-sequence-report.php:44
@@ -430,7 +430,7 @@ msgstr ""
430
  #: lite/admin/class-es-campaign-admin.php:309
431
  #: lite/includes/classes/class-es-newsletters.php:413
432
  #: lite/includes/classes/class-es-newsletters.php:441
433
- #: lite/includes/classes/class-es-reports-table.php:263
434
  #: lite/includes/workflows/admin/views/action.php:28
435
  #: pro/classes/class-es-pro-sequence-report.php:273
436
  msgid "Preview"
@@ -458,7 +458,7 @@ msgstr ""
458
 
459
  #: lite/admin/class-es-campaign-admin.php:363
460
  #: lite/includes/classes/class-es-newsletters.php:350
461
- #: lite/includes/classes/class-es-reports-table.php:279
462
  #: pro/classes/class-es-pro-sequence-report.php:299
463
  msgid "Subject"
464
  msgstr ""
@@ -479,7 +479,7 @@ msgstr ""
479
 
480
  #: lite/admin/class-es-campaign-admin.php:450
481
  #: lite/includes/classes/class-es-newsletters.php:427
482
- #: lite/includes/classes/class-es-reports-table.php:552
483
  #: lite/includes/classes/class-es-templates-table.php:150
484
  #: lite/includes/workflows/admin/views/meta-box-actions.php:111
485
  #: lite/admin/js/src/views/GalleryItemPreview.js:29
@@ -666,7 +666,7 @@ msgstr ""
666
  #: lite/includes/classes/class-es-campaign-report.php:189
667
  #: lite/includes/classes/class-es-contacts-table.php:785
668
  #: lite/includes/classes/class-es-export-subscribers.php:339
669
- #: lite/includes/classes/class-es-forms-table.php:399
670
  #: lite/includes/classes/class-es-import-subscribers.php:587
671
  #: lite/includes/classes/class-es-import-subscribers.php:681
672
  #: lite/includes/classes/class-es-import-subscribers.php:1096
@@ -675,9 +675,10 @@ msgstr ""
675
  #: lite/includes/pro-features.php:1583
676
  #: lite/includes/workflows/actions/abstracts/class-ig-es-action-send-email-abstract.php:29
677
  #: lite/includes/workflows/actions/class-es-action-send-email.php:31
678
- #: lite/public/partials/class-es-shortcode.php:177
679
  #: pro/classes/class-es-pro-campaign-rules.php:35
680
- #: pro/pro-class-email-subscribers.php:2261
 
681
  msgid "Email"
682
  msgstr ""
683
 
@@ -1076,7 +1077,7 @@ msgstr ""
1076
  #: lite/includes/classes/class-es-export-subscribers.php:341
1077
  #: lite/includes/classes/class-es-import-subscribers.php:690
1078
  #: lite/includes/classes/class-es-import-subscribers.php:1345
1079
- #: lite/includes/classes/class-es-reports-table.php:281
1080
  #: lite/includes/workflows/class-es-workflows-table.php:461
1081
  #: pro/classes/class-es-pro-sequence-report.php:301
1082
  msgid "Status"
@@ -1084,8 +1085,8 @@ msgstr ""
1084
 
1085
  #: lite/admin/partials/help.php:239
1086
  #: lite/includes/class-es-common.php:538
1087
- #: lite/includes/class-es-common.php:1917
1088
- #: lite/includes/class-es-common.php:2368
1089
  #: lite/includes/classes/class-es-campaigns-table.php:309
1090
  #: lite/includes/workflows/admin/views/meta-box-save.php:28
1091
  #: pro/classes/class-es-pro-reports-data.php:193
@@ -1095,7 +1096,7 @@ msgstr ""
1095
 
1096
  #: lite/admin/partials/help.php:241
1097
  #: lite/includes/class-es-common.php:539
1098
- #: lite/includes/class-es-common.php:2373
1099
  #: lite/includes/workflows/admin/views/meta-box-save.php:27
1100
  #: pro/classes/class-es-pro-reports-data.php:198
1101
  #: pro/classes/class-es-pro-sequence-report.php:239
@@ -1435,136 +1436,136 @@ msgstr ""
1435
  msgid "No Custom Post Types Available"
1436
  msgstr ""
1437
 
1438
- #: lite/includes/class-es-common.php:695
1439
  msgid "Single Opt-In"
1440
  msgstr ""
1441
 
1442
- #: lite/includes/class-es-common.php:696
1443
  msgid "Double Opt-In"
1444
  msgstr ""
1445
 
1446
- #: lite/includes/class-es-common.php:710
1447
  #: pro/pro-class-post-digest.php:139
1448
  msgid "Monday"
1449
  msgstr ""
1450
 
1451
- #: lite/includes/class-es-common.php:711
1452
  #: pro/pro-class-post-digest.php:140
1453
  msgid "Tuesday"
1454
  msgstr ""
1455
 
1456
- #: lite/includes/class-es-common.php:712
1457
  #: pro/pro-class-post-digest.php:141
1458
  msgid "Wednesday"
1459
  msgstr ""
1460
 
1461
- #: lite/includes/class-es-common.php:713
1462
  #: pro/pro-class-post-digest.php:142
1463
  msgid "Thursday"
1464
  msgstr ""
1465
 
1466
- #: lite/includes/class-es-common.php:714
1467
  #: pro/pro-class-post-digest.php:143
1468
  msgid "Friday"
1469
  msgstr ""
1470
 
1471
- #: lite/includes/class-es-common.php:715
1472
  #: pro/pro-class-post-digest.php:144
1473
  msgid "Saturday"
1474
  msgstr ""
1475
 
1476
- #: lite/includes/class-es-common.php:716
1477
  #: pro/pro-class-post-digest.php:138
1478
  msgid "Sunday"
1479
  msgstr ""
1480
 
1481
- #: lite/includes/class-es-common.php:752
1482
  msgid "Full Size"
1483
  msgstr ""
1484
 
1485
- #: lite/includes/class-es-common.php:753
1486
  msgid "Medium Size"
1487
  msgstr ""
1488
 
1489
- #: lite/includes/class-es-common.php:754
1490
  #: lite/includes/classes/class-es-templates-table.php:168
1491
  msgid "Thumbnail"
1492
  msgstr ""
1493
 
1494
- #: lite/includes/class-es-common.php:1674
1495
  msgid "Top 10 Tips on How to Build an Email List"
1496
  msgstr ""
1497
 
1498
- #: lite/includes/class-es-common.php:1678
1499
  #: pro/templates/email/es-admin-subscription-summary.php:174
1500
  msgid "Why are Your Email Unsubscribes Increasing and How to Fix Them?"
1501
  msgstr ""
1502
 
1503
- #: lite/includes/class-es-common.php:1682
1504
  msgid "Balance Email Marketing and Social Media Marketing"
1505
  msgstr ""
1506
 
1507
- #: lite/includes/class-es-common.php:1686
1508
  msgid "Use social proof to grow blog traffic through email"
1509
  msgstr ""
1510
 
1511
- #: lite/includes/class-es-common.php:1690
1512
  msgid "5 Simple Tricks to Improve Email Marketing Campaign Results"
1513
  msgstr ""
1514
 
1515
- #: lite/includes/class-es-common.php:1699
1516
  #: lite/includes/pro-features.php:176
1517
  msgid "Email Subscribers PRO"
1518
  msgstr ""
1519
 
1520
- #: lite/includes/class-es-common.php:1701
1521
  msgid "Lifetime"
1522
  msgstr ""
1523
 
1524
- #: lite/includes/class-es-common.php:1705
1525
  msgid "<b>Email Subscribers Secret Club</b>"
1526
  msgstr ""
1527
 
1528
- #: lite/includes/class-es-common.php:1707
1529
  #: lite/includes/feedback.php:123
1530
  msgid "Join Now"
1531
  msgstr ""
1532
 
1533
- #: lite/includes/class-es-common.php:1885
1534
  msgid "All Types"
1535
  msgstr ""
1536
 
1537
- #: lite/includes/class-es-common.php:1913
1538
  #: lite/includes/classes/class-es-campaigns-table.php:569
1539
  msgid "Draft"
1540
  msgstr ""
1541
 
1542
- #: lite/includes/class-es-common.php:1914
1543
- #: lite/includes/class-es-common.php:2359
1544
  #: lite/includes/classes/class-es-campaign-report.php:237
1545
  #: lite/includes/classes/class-es-campaigns-table.php:550
1546
  #: lite/includes/classes/class-es-campaigns-table.php:588
1547
- #: lite/includes/classes/class-es-reports-table.php:200
1548
- #: lite/includes/classes/class-es-reports-table.php:590
1549
  #: pro/classes/class-es-pro-reports-data.php:186
1550
  msgid "Sending"
1551
  msgstr ""
1552
 
1553
- #: lite/includes/class-es-common.php:1915
1554
  #: lite/includes/classes/class-es-campaigns-table.php:310
1555
  #: lite/includes/classes/class-es-campaigns-table.php:543
1556
  #: lite/includes/classes/class-es-campaigns-table.php:579
1557
- #: lite/includes/classes/class-es-reports-table.php:216
1558
  #: lite/includes/workflows/admin/views/meta-box-timing.php:36
1559
  msgid "Scheduled"
1560
  msgstr ""
1561
 
1562
- #: lite/includes/class-es-common.php:1916
1563
- #: lite/includes/class-es-common.php:2339
1564
  #: lite/includes/classes/class-es-campaign-report.php:221
1565
  #: lite/includes/classes/class-es-campaigns-table.php:557
1566
  #: lite/includes/classes/class-es-campaigns-table.php:606
1567
- #: lite/includes/classes/class-es-reports-table.php:191
1568
  #: lite/includes/pro-features.php:1217
1569
  #: lite/includes/pro-features.php:1264
1570
  #: pro/classes/class-es-pro-reports-data.php:170
@@ -1572,65 +1573,65 @@ msgstr ""
1572
  msgid "Sent"
1573
  msgstr ""
1574
 
1575
- #: lite/includes/class-es-common.php:1941
1576
  #: lite/includes/classes/class-es-campaigns-table.php:691
1577
  #: lite/includes/classes/class-es-contacts-table.php:1141
1578
  msgid "All Statuses"
1579
  msgstr ""
1580
 
1581
- #: lite/includes/class-es-common.php:2153
1582
  msgid "Upgrade"
1583
  msgstr ""
1584
 
1585
- #: lite/includes/class-es-common.php:2189
1586
- #: lite/includes/classes/class-es-reports-table.php:592
1587
  #: pro/classes/class-es-pro-reports-data.php:878
1588
  msgid "All Status"
1589
  msgstr ""
1590
 
1591
- #: lite/includes/class-es-common.php:2349
1592
  #: lite/includes/classes/class-es-campaign-report.php:229
1593
- #: lite/includes/classes/class-es-reports-table.php:589
1594
  #: pro/classes/class-es-pro-reports-data.php:178
1595
  #: pro/partials/es-dashboard.php:60
1596
  msgid "In Queue"
1597
  msgstr ""
1598
 
1599
- #: lite/includes/class-es-common.php:2394
1600
  msgid "Select field type"
1601
  msgstr ""
1602
 
1603
- #: lite/includes/class-es-common.php:2397
1604
  msgid "Text"
1605
  msgstr ""
1606
 
1607
- #: lite/includes/class-es-common.php:2398
1608
  msgid "TextArea"
1609
  msgstr ""
1610
 
1611
- #: lite/includes/class-es-common.php:2399
1612
  msgid "Dropdown"
1613
  msgstr ""
1614
 
1615
- #: lite/includes/class-es-common.php:2400
1616
  msgid "Radio"
1617
  msgstr ""
1618
 
1619
- #: lite/includes/class-es-common.php:2401
1620
  #: lite/includes/workflows/fields/class-es-number.php:48
1621
  msgid "Number"
1622
  msgstr ""
1623
 
1624
- #: lite/includes/class-es-common.php:2402
1625
  #: lite/includes/pro-features.php:1132
1626
  #: lite/includes/workflows/admin/views/meta-box-timing.php:82
1627
  #: lite/includes/workflows/fields/class-es-date.php:31
1628
  #: pro/classes/class-es-campaign-admin-pro.php:196
1629
- #: pro/pro-class-email-subscribers.php:860
1630
  msgid "Date"
1631
  msgstr ""
1632
 
1633
- #: lite/includes/class-es-install.php:985
1634
  #: lite/includes/upgrade/es-update-functions.php:752
1635
  msgid "Your subscription was successful! Kindly check your mailbox and confirm your subscription. If you don't see the email within a few minutes, check the spam/junk folder."
1636
  msgstr ""
@@ -1662,11 +1663,12 @@ msgstr ""
1662
  #: lite/includes/classes/class-es-admin-settings.php:204
1663
  #: lite/includes/classes/class-es-admin-settings.php:207
1664
  #: lite/includes/classes/class-es-campaigns-table.php:626
1665
- #: lite/includes/classes/class-es-forms-table.php:416
1666
- #: lite/includes/classes/class-es-forms-table.php:984
1667
  #: lite/includes/classes/class-es-lists-table.php:637
1668
  #: lite/includes/compatibilities/elementor/actions/class-es-ig-form-action.php:138
1669
- #: lite/public/partials/class-es-shortcode.php:178
 
1670
  msgid "Name"
1671
  msgstr ""
1672
 
@@ -2059,7 +2061,7 @@ msgstr ""
2059
 
2060
  #: lite/includes/classes/class-es-campaigns-table.php:312
2061
  #: lite/includes/classes/class-es-campaigns-table.php:597
2062
- #: lite/includes/classes/class-es-reports-table.php:208
2063
  msgid "Paused"
2064
  msgstr ""
2065
 
@@ -2081,7 +2083,7 @@ msgstr ""
2081
  #: lite/includes/classes/class-es-campaigns-table.php:436
2082
  #: lite/includes/classes/class-es-campaigns-table.php:464
2083
  #: lite/includes/classes/class-es-contacts-table.php:1034
2084
- #: lite/includes/classes/class-es-forms-table.php:967
2085
  #: lite/includes/classes/class-es-lists-table.php:616
2086
  #: lite/includes/workflows/admin/views/action.php:29
2087
  #: lite/includes/workflows/class-es-workflows-table.php:424
@@ -2092,12 +2094,12 @@ msgstr ""
2092
  #: lite/includes/classes/class-es-campaigns-table.php:488
2093
  #: lite/includes/classes/class-es-contacts-table.php:1036
2094
  #: lite/includes/classes/class-es-contacts-table.php:1107
2095
- #: lite/includes/classes/class-es-forms-table.php:969
2096
- #: lite/includes/classes/class-es-forms-table.php:1015
2097
  #: lite/includes/classes/class-es-lists-table.php:618
2098
  #: lite/includes/classes/class-es-lists-table.php:671
2099
- #: lite/includes/classes/class-es-reports-table.php:262
2100
- #: lite/includes/classes/class-es-reports-table.php:356
2101
  #: lite/includes/workflows/admin/views/action.php:30
2102
  #: lite/includes/workflows/admin/views/meta-box-save.php:45
2103
  #: lite/includes/workflows/class-es-workflows-table.php:428
@@ -2107,7 +2109,7 @@ msgid "Delete"
2107
  msgstr ""
2108
 
2109
  #: lite/includes/classes/class-es-campaigns-table.php:627
2110
- #: lite/includes/classes/class-es-reports-table.php:280
2111
  #: pro/classes/class-es-pro-custom-fields-table.php:393
2112
  #: pro/classes/class-es-pro-custom-fields-table.php:458
2113
  #: pro/classes/class-es-pro-sequence-report.php:300
@@ -2126,7 +2128,7 @@ msgstr ""
2126
 
2127
  #: lite/includes/classes/class-es-campaigns-table.php:630
2128
  #: lite/includes/classes/class-es-contacts-table.php:1074
2129
- #: lite/includes/classes/class-es-forms-table.php:987
2130
  msgid "Created"
2131
  msgstr ""
2132
 
@@ -2135,7 +2137,7 @@ msgid "Search Campaigns"
2135
  msgstr ""
2136
 
2137
  #: lite/includes/classes/class-es-campaigns-table.php:700
2138
- #: lite/includes/classes/class-es-reports-table.php:601
2139
  msgid "All Type"
2140
  msgstr ""
2141
 
@@ -2188,7 +2190,7 @@ msgstr ""
2188
 
2189
  #: lite/includes/classes/class-es-contacts-table.php:306
2190
  #: lite/includes/classes/class-es-export-subscribers.php:82
2191
- #: lite/includes/classes/class-es-reports-table.php:284
2192
  msgid "Total contacts"
2193
  msgstr ""
2194
 
@@ -2270,7 +2272,7 @@ msgid "Send welcome email?"
2270
  msgstr ""
2271
 
2272
  #: lite/includes/classes/class-es-contacts-table.php:838
2273
- #: lite/includes/classes/class-es-forms-table.php:467
2274
  msgid "Contacts will be added into selected list(s)"
2275
  msgstr ""
2276
 
@@ -2279,7 +2281,7 @@ msgid "Add Contact"
2279
  msgstr ""
2280
 
2281
  #: lite/includes/classes/class-es-contacts-table.php:855
2282
- #: lite/includes/classes/class-es-forms-table.php:616
2283
  #: lite/includes/classes/class-es-lists-table.php:384
2284
  #: lite/includes/classes/class-es-post-notifications.php:451
2285
  #: pro/classes/class-es-pro-custom-fields-table.php:426
@@ -2287,7 +2289,7 @@ msgid "Save Changes"
2287
  msgstr ""
2288
 
2289
  #: lite/includes/classes/class-es-contacts-table.php:862
2290
- #: lite/includes/classes/class-es-forms-table.php:620
2291
  #: lite/includes/classes/class-es-lists-table.php:388
2292
  #: lite/includes/classes/class-es-post-notifications.php:454
2293
  #: pro/classes/class-es-pro-custom-fields-table.php:431
@@ -2472,7 +2474,7 @@ msgstr ""
2472
  #: lite/includes/classes/class-es-import-subscribers.php:682
2473
  #: lite/includes/classes/class-es-import-subscribers.php:1088
2474
  #: lite/includes/classes/class-es-import-subscribers.php:1343
2475
- #: pro/pro-class-email-subscribers.php:2262
2476
  msgid "First Name"
2477
  msgstr ""
2478
 
@@ -2481,7 +2483,7 @@ msgstr ""
2481
  #: lite/includes/classes/class-es-import-subscribers.php:683
2482
  #: lite/includes/classes/class-es-import-subscribers.php:1093
2483
  #: lite/includes/classes/class-es-import-subscribers.php:1344
2484
- #: pro/pro-class-email-subscribers.php:2263
2485
  msgid "Last Name"
2486
  msgstr ""
2487
 
@@ -2507,8 +2509,9 @@ msgid "Email Subscribers Form"
2507
  msgstr ""
2508
 
2509
  #: lite/includes/classes/class-es-form-widget.php:43
2510
- #: lite/public/partials/class-es-shortcode.php:151
2511
- #: lite/public/partials/class-es-shortcode.php:416
 
2512
  msgid "Select list(s)"
2513
  msgstr ""
2514
 
@@ -2528,250 +2531,261 @@ msgstr ""
2528
  msgid "Form updated successfully!"
2529
  msgstr ""
2530
 
2531
- #: lite/includes/classes/class-es-forms-table.php:153
2532
  msgid "You do not have permission to edit this form."
2533
  msgstr ""
2534
 
2535
- #: lite/includes/classes/class-es-forms-table.php:156
2536
  msgid "Please add form name."
2537
  msgstr ""
2538
 
2539
- #: lite/includes/classes/class-es-forms-table.php:161
2540
  msgid "Please select list(s) in which contact will be subscribed."
2541
  msgstr ""
2542
 
2543
- #: lite/includes/classes/class-es-forms-table.php:269
2544
  msgid "Sorry, form not found"
2545
  msgstr ""
2546
 
2547
- #: lite/includes/classes/class-es-forms-table.php:293
2548
- #: lite/public/partials/class-es-shortcode.php:150
 
2549
  msgid "Subscribe"
2550
  msgstr ""
2551
 
2552
- #: lite/includes/classes/class-es-forms-table.php:296
2553
  msgid "Please read our <a href=\"https://www.example.com\">terms and conditions</a>"
2554
  msgstr ""
2555
 
2556
- #: lite/includes/classes/class-es-forms-table.php:317
2557
  #: pro/classes/class-es-pro-custom-fields-table.php:87
2558
  #: pro/classes/class-es-pro-custom-fields-table.php:346
2559
  msgid "Forms "
2560
  msgstr ""
2561
 
2562
- #: lite/includes/classes/class-es-forms-table.php:329
2563
  msgid " New Form"
2564
  msgstr ""
2565
 
2566
- #: lite/includes/classes/class-es-forms-table.php:331
2567
  msgid " Edit Form"
2568
  msgstr ""
2569
 
2570
- #: lite/includes/classes/class-es-forms-table.php:340
2571
  #: lite/includes/classes/class-es-newsletters.php:333
2572
  #: pro/pro-class-sequences.php:93
2573
  msgid "Documentation "
2574
  msgstr ""
2575
 
2576
- #: lite/includes/classes/class-es-forms-table.php:357
2577
  msgid "Form name"
2578
  msgstr ""
2579
 
2580
- #: lite/includes/classes/class-es-forms-table.php:363
2581
  msgid "Enter form name"
2582
  msgstr ""
2583
 
2584
- #: lite/includes/classes/class-es-forms-table.php:371
2585
  #: lite/includes/classes/class-es-lists-table.php:336
2586
  #: lite/includes/classes/class-es-lists-table.php:638
2587
  msgid "Description"
2588
  msgstr ""
2589
 
2590
- #: lite/includes/classes/class-es-forms-table.php:377
2591
  msgid "Enter description"
2592
  msgstr ""
2593
 
2594
- #: lite/includes/classes/class-es-forms-table.php:385
2595
  msgid "Form fields"
2596
  msgstr ""
2597
 
2598
- #: lite/includes/classes/class-es-forms-table.php:392
2599
  msgid "Field"
2600
  msgstr ""
2601
 
2602
- #: lite/includes/classes/class-es-forms-table.php:393
2603
  msgid "Show?"
2604
  msgstr ""
2605
 
2606
- #: lite/includes/classes/class-es-forms-table.php:394
2607
  msgid "Required?"
2608
  msgstr ""
2609
 
2610
- #: lite/includes/classes/class-es-forms-table.php:395
2611
  #: pro/classes/class-es-pro-custom-fields-table.php:378
2612
  #: pro/classes/class-es-pro-custom-fields-table.php:457
2613
  msgid "Label"
2614
  msgstr ""
2615
 
2616
- #: lite/includes/classes/class-es-forms-table.php:396
2617
  msgid "Placeholder"
2618
  msgstr ""
2619
 
2620
- #: lite/includes/classes/class-es-forms-table.php:453
2621
  msgid "Button"
2622
  msgstr ""
2623
 
2624
  #. translators: %s: Create list page url
2625
- #: lite/includes/classes/class-es-forms-table.php:484
2626
  msgid "List not found. Please %s"
2627
  msgstr ""
2628
 
2629
  #. translators: %s: Create list page url
2630
- #: lite/includes/classes/class-es-forms-table.php:484
2631
  msgid "create your first list"
2632
  msgstr ""
2633
 
2634
- #: lite/includes/classes/class-es-forms-table.php:495
2635
  msgid "Allow contact to choose list(s)"
2636
  msgstr ""
2637
 
2638
- #: lite/includes/classes/class-es-forms-table.php:496
2639
  msgid "Allow contacts to choose list(s) in which they want to subscribe."
2640
  msgstr ""
2641
 
2642
- #: lite/includes/classes/class-es-forms-table.php:519
2643
  msgid "Enter label"
2644
  msgstr ""
2645
 
2646
- #: lite/includes/classes/class-es-forms-table.php:531
2647
  msgid "Show GDPR consent checkbox"
2648
  msgstr ""
2649
 
2650
- #: lite/includes/classes/class-es-forms-table.php:532
2651
  msgid "Show consent checkbox to get the consent of a contact before adding them to list(s)"
2652
  msgstr ""
2653
 
2654
- #: lite/includes/classes/class-es-forms-table.php:559
2655
  msgid "Consent text will show up at subscription form next to consent checkbox."
2656
  msgstr ""
2657
 
2658
- #: lite/includes/classes/class-es-forms-table.php:569
2659
  msgid "Show in popup"
2660
  msgstr ""
2661
 
2662
- #: lite/includes/classes/class-es-forms-table.php:570
2663
  msgid "Show form in popup"
2664
  msgstr ""
2665
 
2666
- #: lite/includes/classes/class-es-forms-table.php:596
2667
  msgid "Headline"
2668
  msgstr ""
2669
 
2670
  #. translators: %s: Form attribute
2671
- #: lite/includes/classes/class-es-forms-table.php:606
2672
  msgid "To disable it at a specific instance of a form add this attribute %s in the form's shortcode"
2673
  msgstr ""
2674
 
2675
- #: lite/includes/classes/class-es-forms-table.php:616
2676
  msgid "Save Form"
2677
  msgstr ""
2678
 
2679
- #: lite/includes/classes/class-es-forms-table.php:985
2680
  msgid "Shortcode"
2681
  msgstr ""
2682
 
2683
- #: lite/includes/classes/class-es-forms-table.php:986
2684
  #: pro/templates/email/es-admin-subscription-summary.php:144
2685
  msgid "Subscribers"
2686
  msgstr ""
2687
 
2688
- #: lite/includes/classes/class-es-forms-table.php:1027
2689
  msgid "You do not have permission to delete this form."
2690
  msgstr ""
2691
 
2692
- #: lite/includes/classes/class-es-forms-table.php:1034
2693
  msgid "Form deleted successfully!"
2694
  msgstr ""
2695
 
2696
- #: lite/includes/classes/class-es-forms-table.php:1049
2697
  msgid "Form(s) deleted successfully!"
2698
  msgstr ""
2699
 
2700
- #: lite/includes/classes/class-es-forms-table.php:1052
2701
  msgid "Please select form(s) to delete."
2702
  msgstr ""
2703
 
2704
- #: lite/includes/classes/class-es-forms-table.php:1063
2705
  #: lite/includes/classes/class-es-lists-table.php:783
2706
  msgid "Enable"
2707
  msgstr ""
2708
 
2709
- #: lite/includes/classes/class-es-forms-table.php:1064
2710
  #: lite/includes/classes/class-es-lists-table.php:784
2711
  msgid "Disable"
2712
  msgstr ""
2713
 
2714
- #: lite/includes/classes/class-es-forms-table.php:1080
2715
  msgid "Search Forms"
2716
  msgstr ""
2717
 
2718
- #: lite/includes/classes/class-es-forms-table.php:1087
2719
  msgid "No Forms avaliable."
2720
  msgstr ""
2721
 
2722
- #: lite/includes/classes/class-es-handle-subscription.php:590
 
 
 
 
 
 
 
 
 
 
2723
  #: lite/public/class-email-subscribers-public.php:112
2724
  msgid "Please enter email address"
2725
  msgstr ""
2726
 
2727
- #: lite/includes/classes/class-es-handle-subscription.php:591
2728
  #: lite/public/class-email-subscribers-public.php:113
2729
  msgid "You need to wait for sometime before subscribing again"
2730
  msgstr ""
2731
 
2732
- #: lite/includes/classes/class-es-handle-subscription.php:592
2733
  #: lite/includes/upgrade/es-update-functions.php:752
2734
  #: lite/public/class-email-subscribers-public.php:114
2735
  msgid "Successfully Subscribed."
2736
  msgstr ""
2737
 
2738
- #: lite/includes/classes/class-es-handle-subscription.php:593
2739
  #: lite/public/class-email-subscribers-public.php:116
2740
  msgid "Email Address already exists!"
2741
  msgstr ""
2742
 
2743
- #: lite/includes/classes/class-es-handle-subscription.php:594
2744
  #: lite/public/class-email-subscribers-public.php:117
2745
  msgid "Oops.. Unexpected error occurred."
2746
  msgstr ""
2747
 
2748
- #: lite/includes/classes/class-es-handle-subscription.php:595
2749
  #: lite/public/class-email-subscribers-public.php:118
2750
  msgid "Invalid email address"
2751
  msgstr ""
2752
 
2753
- #: lite/includes/classes/class-es-handle-subscription.php:596
2754
  msgid "Invalid name"
2755
  msgstr ""
2756
 
2757
- #: lite/includes/classes/class-es-handle-subscription.php:597
2758
  #: lite/public/class-email-subscribers-public.php:119
2759
  msgid "Please try after some time"
2760
  msgstr ""
2761
 
2762
- #: lite/includes/classes/class-es-handle-subscription.php:598
2763
  msgid "Oops...unable to add subscriber"
2764
  msgstr ""
2765
 
2766
- #: lite/includes/classes/class-es-handle-subscription.php:599
2767
  msgid "You do not have permission to add subscriber"
2768
  msgstr ""
2769
 
2770
- #: lite/includes/classes/class-es-handle-subscription.php:600
2771
  msgid "Please select the list"
2772
  msgstr ""
2773
 
2774
- #: lite/includes/classes/class-es-handle-subscription.php:601
2775
  msgid "Invalid Captcha"
2776
  msgstr ""
2777
 
@@ -3179,7 +3193,7 @@ msgid "Browser"
3179
  msgstr ""
3180
 
3181
  #: lite/includes/classes/class-es-newsletters.php:431
3182
- #: lite/includes/classes/class-es-reports-table.php:556
3183
  #: lite/includes/classes/class-es-templates-table.php:154
3184
  #: lite/includes/premium-services-ui/class-ig-es-premium-services-ui.php:243
3185
  msgid "Close"
@@ -3346,7 +3360,7 @@ msgid "here"
3346
  msgstr ""
3347
 
3348
  #: lite/includes/classes/class-es-reports-data.php:362
3349
- #: lite/includes/classes/class-es-reports-table.php:157
3350
  #: lite/public/class-email-subscribers-public.php:490
3351
  #: pro/classes/class-es-pro-reports-data.php:73
3352
  #: lite/admin/js/src/views/GalleryItemFilter.js:10
@@ -3369,56 +3383,69 @@ msgstr ""
3369
  msgid "No emails found in queue"
3370
  msgstr ""
3371
 
3372
- #: lite/includes/classes/class-es-reports-table.php:123
 
 
 
 
 
 
 
 
 
 
 
 
 
3373
  msgid "No Reports avaliable."
3374
  msgstr ""
3375
 
3376
- #: lite/includes/classes/class-es-reports-table.php:261
3377
  #: pro/classes/class-es-pro-sequence-report.php:272
3378
  msgid "View"
3379
  msgstr ""
3380
 
3381
- #: lite/includes/classes/class-es-reports-table.php:282
3382
  msgid "Start Date"
3383
  msgstr ""
3384
 
3385
- #: lite/includes/classes/class-es-reports-table.php:283
3386
  msgid "End Date"
3387
  msgstr ""
3388
 
3389
- #: lite/includes/classes/class-es-reports-table.php:285
3390
  msgid "Total sent"
3391
  msgstr ""
3392
 
3393
- #: lite/includes/classes/class-es-reports-table.php:325
3394
  msgid "Send now"
3395
  msgstr ""
3396
 
3397
- #: lite/includes/classes/class-es-reports-table.php:508
3398
  msgid "You do not have permission to view notification"
3399
  msgstr ""
3400
 
3401
- #: lite/includes/classes/class-es-reports-table.php:517
3402
  msgid "You do not have permission to delete notification"
3403
  msgstr ""
3404
 
3405
- #: lite/includes/classes/class-es-reports-table.php:523
3406
  msgid "Report deleted successfully!"
3407
  msgstr ""
3408
 
3409
- #: lite/includes/classes/class-es-reports-table.php:537
3410
  msgid "Reports deleted successfully!"
3411
  msgstr ""
3412
 
3413
- #: lite/includes/classes/class-es-reports-table.php:577
3414
  msgid "Search Reports"
3415
  msgstr ""
3416
 
3417
- #: lite/includes/classes/class-es-reports-table.php:588
3418
  msgid "Completed"
3419
  msgstr ""
3420
 
3421
- #: lite/includes/classes/class-es-reports-table.php:610
3422
  msgid "All Dates"
3423
  msgstr ""
3424
 
@@ -3436,7 +3463,7 @@ msgstr ""
3436
 
3437
  #. translators: 1: Page 2: Duplicate action 3: Campaign id 4: Wp nonce
3438
  #: lite/includes/classes/class-es-templates-table.php:209
3439
- #: pro/pro-class-email-subscribers.php:1585
3440
  msgid "Duplicate"
3441
  msgstr ""
3442
 
@@ -3491,6 +3518,10 @@ msgstr ""
3491
  msgid "on Facebook"
3492
  msgstr ""
3493
 
 
 
 
 
3494
  #: lite/includes/feedback.php:226
3495
  msgid "Subscription forms and CTAs??"
3496
  msgstr ""
@@ -3688,12 +3719,12 @@ msgid "Access Control"
3688
  msgstr ""
3689
 
3690
  #: lite/includes/pro-features.php:278
3691
- #: pro/pro-class-email-subscribers.php:946
3692
  msgid "Track clicks"
3693
  msgstr ""
3694
 
3695
  #: lite/includes/pro-features.php:279
3696
- #: pro/pro-class-email-subscribers.php:947
3697
  msgid "Do you want to track when people click links in your emails? (We recommend keeping it enabled)"
3698
  msgstr ""
3699
 
@@ -3745,7 +3776,7 @@ msgid "Opt-in consent text"
3745
  msgstr ""
3746
 
3747
  #: lite/includes/pro-features.php:348
3748
- #: pro/pro-class-email-subscribers.php:970
3749
  msgid "Weekly summary"
3750
  msgstr ""
3751
 
@@ -3793,7 +3824,7 @@ msgid "Prevent bot signups even further. Set default captcha option for new subs
3793
  msgstr ""
3794
 
3795
  #: lite/includes/pro-features.php:428
3796
- #: pro/pro-class-email-subscribers.php:955
3797
  msgid "Track IP address"
3798
  msgstr ""
3799
 
@@ -4065,26 +4096,26 @@ msgstr ""
4065
 
4066
  #: lite/includes/pro-features.php:1122
4067
  #: pro/classes/class-es-campaign-admin-pro.php:171
4068
- #: pro/pro-class-email-subscribers.php:841
4069
  msgid "Send options"
4070
  msgstr ""
4071
 
4072
  #: lite/includes/pro-features.php:1125
4073
  #: pro/classes/class-es-campaign-admin-pro.php:182
4074
- #: pro/pro-class-email-subscribers.php:846
4075
  msgid "Schedule for later"
4076
  msgstr ""
4077
 
4078
  #: lite/includes/pro-features.php:1141
4079
  #: lite/includes/workflows/fields/class-es-time.php:64
4080
  #: pro/classes/class-es-campaign-admin-pro.php:210
4081
- #: pro/pro-class-email-subscribers.php:874
4082
  msgid "Time"
4083
  msgstr ""
4084
 
4085
  #: lite/includes/pro-features.php:1151
4086
  #: pro/classes/class-es-campaign-admin-pro.php:225
4087
- #: pro/pro-class-email-subscribers.php:889
4088
  msgid "Local Time: "
4089
  msgstr ""
4090
 
@@ -4209,12 +4240,12 @@ msgid "Mobile"
4209
  msgstr ""
4210
 
4211
  #: lite/includes/pro-features.php:1690
4212
- #: pro/pro-class-email-subscribers.php:1807
4213
  msgid "Add Attachments"
4214
  msgstr ""
4215
 
4216
  #: lite/includes/pro-features.php:1720
4217
- #: pro/pro-class-email-subscribers.php:1934
4218
  msgid "Import existing WordPress users"
4219
  msgstr ""
4220
 
@@ -4348,11 +4379,11 @@ msgstr ""
4348
  msgid "Enter text to be shown in email header area."
4349
  msgstr ""
4350
 
4351
- #: lite/includes/workflows/actions/class-es-action-send-email.php:90
4352
  msgid "Email content"
4353
  msgstr ""
4354
 
4355
- #: lite/includes/workflows/actions/class-es-action-send-email.php:97
4356
  msgid "Track opens and clicks"
4357
  msgstr ""
4358
 
@@ -4760,7 +4791,7 @@ msgid "Send welcome email when someone subscribes"
4760
  msgstr ""
4761
 
4762
  #: lite/includes/workflows/db/class-es-db-workflows.php:608
4763
- #: pro/pro-class-email-subscribers.php:2661
4764
  msgid "Send confirmation email"
4765
  msgstr ""
4766
 
@@ -4936,7 +4967,7 @@ msgstr ""
4936
 
4937
  #: lite/public/partials/cron-message.php:43
4938
  #: pro/classes/class-es-campaign-admin-pro.php:176
4939
- #: pro/pro-class-email-subscribers.php:900
4940
  msgid "Send Now"
4941
  msgstr ""
4942
 
@@ -5034,7 +5065,7 @@ msgstr ""
5034
 
5035
  #: pro/classes/class-es-pro-custom-fields-table.php:40
5036
  #: pro/classes/class-es-pro-custom-fields-table.php:92
5037
- #: pro/pro-class-email-subscribers.php:437
5038
  msgid "Custom Fields"
5039
  msgstr ""
5040
 
@@ -5112,12 +5143,56 @@ msgstr ""
5112
  msgid "Select option"
5113
  msgstr ""
5114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5115
  #: pro/classes/class-es-pro-reports-data.php:210
5116
  msgid "Recipient(s): "
5117
  msgstr ""
5118
 
5119
  #: pro/classes/class-es-pro-reports-data.php:261
5120
- #: pro/pro-class-email-subscribers.php:1316
5121
  msgid "Clicked"
5122
  msgstr ""
5123
 
@@ -5406,252 +5481,252 @@ msgstr ""
5406
  msgid "Your cart could not be restored, it may have expired."
5407
  msgstr ""
5408
 
5409
- #: pro/pro-class-email-subscribers.php:430
5410
  #: pro/pro-class-post-digest.php:33
5411
  msgid "Sequence"
5412
  msgstr ""
5413
 
5414
- #: pro/pro-class-email-subscribers.php:595
5415
  msgid "Please enter an email address."
5416
  msgstr ""
5417
 
5418
- #: pro/pro-class-email-subscribers.php:597
5419
  msgid "Add Attachment"
5420
  msgstr ""
5421
 
5422
  #. translators: %s: Attachmen max file size.
5423
- #: pro/pro-class-email-subscribers.php:599
5424
  msgid "Please attach a file having size lower than %s."
5425
  msgstr ""
5426
 
5427
- #: pro/pro-class-email-subscribers.php:600
5428
  msgid "Are you sure you want to delete this?"
5429
  msgstr ""
5430
 
5431
- #: pro/pro-class-email-subscribers.php:601
5432
- #: pro/pro-class-email-subscribers.php:2144
5433
  msgid "Checking your orders..."
5434
  msgstr ""
5435
 
5436
- #: pro/pro-class-email-subscribers.php:603
5437
  #: pro/pro-class-sequences.php:544
5438
  msgid "Send immediately"
5439
  msgstr ""
5440
 
5441
- #: pro/pro-class-email-subscribers.php:604
5442
  msgid "Send after"
5443
  msgstr ""
5444
 
5445
- #: pro/pro-class-email-subscribers.php:605
5446
  #: pro/pro-class-sequences.php:460
5447
  msgid "hour(s)"
5448
  msgstr ""
5449
 
5450
- #: pro/pro-class-email-subscribers.php:606
5451
  #: pro/pro-class-sequences.php:461
5452
  msgid "day(s)"
5453
  msgstr ""
5454
 
5455
- #: pro/pro-class-email-subscribers.php:607
5456
  #: pro/pro-class-sequences.php:462
5457
  msgid "week(s)"
5458
  msgstr ""
5459
 
5460
- #: pro/pro-class-email-subscribers.php:736
5461
  msgid "Clean My List"
5462
  msgstr ""
5463
 
5464
- #: pro/pro-class-email-subscribers.php:737
5465
  msgid "List cleanup is in progress..."
5466
  msgstr ""
5467
 
5468
- #: pro/pro-class-email-subscribers.php:738
5469
  msgid "List cleanup completed successfully."
5470
  msgstr ""
5471
 
5472
- #: pro/pro-class-email-subscribers.php:756
5473
  msgid "Email status"
5474
  msgstr ""
5475
 
5476
- #: pro/pro-class-email-subscribers.php:757
5477
  msgid "Last opened at"
5478
  msgstr ""
5479
 
5480
- #: pro/pro-class-email-subscribers.php:911
5481
  msgid "Select page"
5482
  msgstr ""
5483
 
5484
- #: pro/pro-class-email-subscribers.php:924
5485
  msgid "Subscriber will be redirected to selected page (by default, homepage) once they click on unsubscribe link from the email."
5486
  msgstr ""
5487
 
5488
- #: pro/pro-class-email-subscribers.php:937
5489
  msgid "Subscriber will be redirected to selected page (by default, homepage) once they click on email confirmation link from the double opt-in (confirmation) email."
5490
  msgstr ""
5491
 
5492
- #: pro/pro-class-email-subscribers.php:975
5493
  msgid "Enable?"
5494
  msgstr ""
5495
 
5496
- #: pro/pro-class-email-subscribers.php:982
5497
  msgid "When our automated weekly email should be sent out?"
5498
  msgstr ""
5499
 
5500
- #: pro/pro-class-email-subscribers.php:991
5501
  msgid "In which time we need to send our weekly summary?"
5502
  msgstr ""
5503
 
5504
- #: pro/pro-class-email-subscribers.php:1017
5505
  msgid "Access Key ID"
5506
  msgstr ""
5507
 
5508
- #: pro/pro-class-email-subscribers.php:1030
5509
  msgid "Secret Access Key"
5510
  msgstr ""
5511
 
5512
- #: pro/pro-class-email-subscribers.php:1044
5513
  msgid "Closest Region"
5514
  msgstr ""
5515
 
5516
- #: pro/pro-class-email-subscribers.php:1046
5517
  msgid "To decrease network latency between your site and Amazon SES and speed up email sending, select the Amazon SES API region which is closest to where your website is hosted."
5518
  msgstr ""
5519
 
5520
- #: pro/pro-class-email-subscribers.php:1073
5521
  msgid "Private API Key"
5522
  msgstr ""
5523
 
5524
- #: pro/pro-class-email-subscribers.php:1087
5525
  msgid "Domain Name"
5526
  msgstr ""
5527
 
5528
- #: pro/pro-class-email-subscribers.php:1098
5529
- #: pro/pro-class-email-subscribers.php:1173
5530
  msgid "United States"
5531
  msgstr ""
5532
 
5533
- #: pro/pro-class-email-subscribers.php:1099
5534
- #: pro/pro-class-email-subscribers.php:1174
5535
  msgid "Europe"
5536
  msgstr ""
5537
 
5538
- #: pro/pro-class-email-subscribers.php:1105
5539
- #: pro/pro-class-email-subscribers.php:1180
5540
  msgid "Region"
5541
  msgstr ""
5542
 
5543
- #: pro/pro-class-email-subscribers.php:1109
5544
  msgid "mailgun.com"
5545
  msgstr ""
5546
 
5547
- #: pro/pro-class-email-subscribers.php:1135
5548
- #: pro/pro-class-email-subscribers.php:1162
5549
  msgid "API Key"
5550
  msgstr ""
5551
 
5552
- #: pro/pro-class-email-subscribers.php:1182
5553
  msgid "Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region."
5554
  msgstr ""
5555
 
5556
- #: pro/pro-class-email-subscribers.php:1207
5557
  msgid "API token"
5558
  msgstr ""
5559
 
5560
- #: pro/pro-class-email-subscribers.php:1235
5561
  msgid "API key"
5562
  msgstr ""
5563
 
5564
- #: pro/pro-class-email-subscribers.php:1264
5565
  msgid "Public key"
5566
  msgstr ""
5567
 
5568
- #: pro/pro-class-email-subscribers.php:1278
5569
  msgid "Private key"
5570
  msgstr ""
5571
 
5572
- #: pro/pro-class-email-subscribers.php:1607
5573
  msgid "You are not allowed to duplicate campaign."
5574
  msgstr ""
5575
 
5576
- #: pro/pro-class-email-subscribers.php:1622
5577
  msgid "Campaign duplicated !"
5578
  msgstr ""
5579
 
5580
- #: pro/pro-class-email-subscribers.php:1953
5581
  msgid "Import WordPress users with following roles"
5582
  msgstr ""
5583
 
5584
- #: pro/pro-class-email-subscribers.php:2011
5585
- #: pro/pro-class-email-subscribers.php:2151
5586
  msgid "Proceed "
5587
  msgstr ""
5588
 
5589
- #: pro/pro-class-email-subscribers.php:2053
5590
  msgid "Import from WooCommerce orders"
5591
  msgstr ""
5592
 
5593
- #: pro/pro-class-email-subscribers.php:2078
5594
  msgid "Select order statuses"
5595
  msgstr ""
5596
 
5597
- #: pro/pro-class-email-subscribers.php:2132
5598
  msgid "Orders should contain these products"
5599
  msgstr ""
5600
 
5601
- #: pro/pro-class-email-subscribers.php:2138
5602
  msgid "Search products..."
5603
  msgstr ""
5604
 
5605
  #. translators: 1. Processed orders count. 2. Total orders count. 3. Matched orders count.
5606
- #: pro/pro-class-email-subscribers.php:2370
5607
  msgid "Currently %1$s of %2$s orders checked. Found %3$s matching orders."
5608
  msgstr ""
5609
 
5610
- #: pro/pro-class-email-subscribers.php:2381
5611
  msgid "We can't find any matching orders in your store."
5612
  msgstr ""
5613
 
5614
- #: pro/pro-class-email-subscribers.php:2394
5615
  msgid "Total Opened"
5616
  msgstr ""
5617
 
5618
- #: pro/pro-class-email-subscribers.php:2447
5619
  msgid "How to configure Mailgun to send emails in the Email Subscribers plugin?"
5620
  msgstr ""
5621
 
5622
- #: pro/pro-class-email-subscribers.php:2479
5623
  msgid "How to configure SendGrid to send emails in the Email Subscribers plugin?"
5624
  msgstr ""
5625
 
5626
- #: pro/pro-class-email-subscribers.php:2511
5627
  msgid "How to configure Sparkpost to send emails in the Email Subscribers plugin?"
5628
  msgstr ""
5629
 
5630
- #: pro/pro-class-email-subscribers.php:2543
5631
  msgid "How to configure Amazon SES to send emails in the Email Subscribers plugin?"
5632
  msgstr ""
5633
 
5634
- #: pro/pro-class-email-subscribers.php:2575
5635
  msgid "How to configure Postmark to send emails in the Email Subscribers plugin?"
5636
  msgstr ""
5637
 
5638
- #: pro/pro-class-email-subscribers.php:2607
5639
  msgid "How to configure Sendinblue to send emails in the Email Subscribers plugin?"
5640
  msgstr ""
5641
 
5642
- #: pro/pro-class-email-subscribers.php:2639
5643
  msgid "How to configure Mailjet to send emails in the Email Subscribers plugin?"
5644
  msgstr ""
5645
 
5646
- #: pro/pro-class-email-subscribers.php:2676
5647
  msgid "Confirmation emails queued successfully and will be sent shortly."
5648
  msgstr ""
5649
 
5650
- #: pro/pro-class-email-subscribers.php:2684
5651
  msgid "No contacts found. May be they are already queued or there isn't any unconfirmed contact in your selection."
5652
  msgstr ""
5653
 
5654
- #: pro/pro-class-email-subscribers.php:2687
5655
  msgid "Failed to queue confirmation emails. Please try again later."
5656
  msgstr ""
5657
 
2
  # This file is distributed under the same license as the Email Subscribers & Newsletters plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Email Subscribers & Newsletters 5.3.11\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-subscribers\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-04-13T09:05:30+02:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: email-subscribers\n"
80
  msgstr ""
81
 
82
  #: lite/admin/class-email-subscribers-admin.php:176
83
+ #: pro/pro-class-email-subscribers.php:598
84
  msgid "Please add email body."
85
  msgstr ""
86
 
222
  msgstr ""
223
 
224
  #: lite/admin/class-email-subscribers-admin.php:304
225
+ #: lite/includes/classes/class-es-forms-table.php:468
226
  #: lite/includes/classes/class-es-lists-table.php:34
227
  #: lite/includes/classes/class-es-lists-table.php:88
228
  msgid "Lists"
259
  #: lite/includes/classes/class-es-campaigns-table.php:357
260
  #: lite/includes/classes/class-es-newsletters.php:249
261
  #: lite/includes/classes/class-es-reports-data.php:360
262
+ #: lite/includes/classes/class-es-reports-table.php:197
263
  #: lite/includes/classes/class-es-templates-table.php:187
264
  #: lite/includes/pro-features.php:1224
265
  #: lite/public/class-email-subscribers-public.php:487
269
 
270
  #: lite/admin/class-email-subscribers-admin.php:323
271
  #: lite/includes/classes/class-es-newsletters.php:426
272
+ #: lite/includes/classes/class-es-reports-table.php:587
273
  #: lite/includes/classes/class-es-templates-table.php:149
274
  #: lite/admin/js/src/views/GalleryItemPreview.js:16
275
  msgid "Template Preview"
294
  #: lite/includes/classes/class-es-campaign-report.php:17
295
  #: lite/includes/classes/class-es-reports-table.php:17
296
  #: lite/includes/classes/class-es-reports-table.php:55
297
+ #: lite/includes/classes/class-es-reports-table.php:148
298
  #: lite/includes/pro-features.php:189
299
  #: pro/classes/class-es-pro-sequence-report.php:21
300
  #: pro/classes/class-es-pro-sequence-report.php:44
430
  #: lite/admin/class-es-campaign-admin.php:309
431
  #: lite/includes/classes/class-es-newsletters.php:413
432
  #: lite/includes/classes/class-es-newsletters.php:441
433
+ #: lite/includes/classes/class-es-reports-table.php:299
434
  #: lite/includes/workflows/admin/views/action.php:28
435
  #: pro/classes/class-es-pro-sequence-report.php:273
436
  msgid "Preview"
458
 
459
  #: lite/admin/class-es-campaign-admin.php:363
460
  #: lite/includes/classes/class-es-newsletters.php:350
461
+ #: lite/includes/classes/class-es-reports-table.php:315
462
  #: pro/classes/class-es-pro-sequence-report.php:299
463
  msgid "Subject"
464
  msgstr ""
479
 
480
  #: lite/admin/class-es-campaign-admin.php:450
481
  #: lite/includes/classes/class-es-newsletters.php:427
482
+ #: lite/includes/classes/class-es-reports-table.php:588
483
  #: lite/includes/classes/class-es-templates-table.php:150
484
  #: lite/includes/workflows/admin/views/meta-box-actions.php:111
485
  #: lite/admin/js/src/views/GalleryItemPreview.js:29
666
  #: lite/includes/classes/class-es-campaign-report.php:189
667
  #: lite/includes/classes/class-es-contacts-table.php:785
668
  #: lite/includes/classes/class-es-export-subscribers.php:339
669
+ #: lite/includes/classes/class-es-forms-table.php:401
670
  #: lite/includes/classes/class-es-import-subscribers.php:587
671
  #: lite/includes/classes/class-es-import-subscribers.php:681
672
  #: lite/includes/classes/class-es-import-subscribers.php:1096
675
  #: lite/includes/pro-features.php:1583
676
  #: lite/includes/workflows/actions/abstracts/class-ig-es-action-send-email-abstract.php:29
677
  #: lite/includes/workflows/actions/class-es-action-send-email.php:31
678
+ #: lite/public/partials/class-es-shortcode.php:283
679
  #: pro/classes/class-es-pro-campaign-rules.php:35
680
+ #: pro/classes/class-es-pro-embed-form.php:193
681
+ #: pro/pro-class-email-subscribers.php:2263
682
  msgid "Email"
683
  msgstr ""
684
 
1077
  #: lite/includes/classes/class-es-export-subscribers.php:341
1078
  #: lite/includes/classes/class-es-import-subscribers.php:690
1079
  #: lite/includes/classes/class-es-import-subscribers.php:1345
1080
+ #: lite/includes/classes/class-es-reports-table.php:317
1081
  #: lite/includes/workflows/class-es-workflows-table.php:461
1082
  #: pro/classes/class-es-pro-sequence-report.php:301
1083
  msgid "Status"
1085
 
1086
  #: lite/admin/partials/help.php:239
1087
  #: lite/includes/class-es-common.php:538
1088
+ #: lite/includes/class-es-common.php:1937
1089
+ #: lite/includes/class-es-common.php:2388
1090
  #: lite/includes/classes/class-es-campaigns-table.php:309
1091
  #: lite/includes/workflows/admin/views/meta-box-save.php:28
1092
  #: pro/classes/class-es-pro-reports-data.php:193
1096
 
1097
  #: lite/admin/partials/help.php:241
1098
  #: lite/includes/class-es-common.php:539
1099
+ #: lite/includes/class-es-common.php:2393
1100
  #: lite/includes/workflows/admin/views/meta-box-save.php:27
1101
  #: pro/classes/class-es-pro-reports-data.php:198
1102
  #: pro/classes/class-es-pro-sequence-report.php:239
1436
  msgid "No Custom Post Types Available"
1437
  msgstr ""
1438
 
1439
+ #: lite/includes/class-es-common.php:715
1440
  msgid "Single Opt-In"
1441
  msgstr ""
1442
 
1443
+ #: lite/includes/class-es-common.php:716
1444
  msgid "Double Opt-In"
1445
  msgstr ""
1446
 
1447
+ #: lite/includes/class-es-common.php:730
1448
  #: pro/pro-class-post-digest.php:139
1449
  msgid "Monday"
1450
  msgstr ""
1451
 
1452
+ #: lite/includes/class-es-common.php:731
1453
  #: pro/pro-class-post-digest.php:140
1454
  msgid "Tuesday"
1455
  msgstr ""
1456
 
1457
+ #: lite/includes/class-es-common.php:732
1458
  #: pro/pro-class-post-digest.php:141
1459
  msgid "Wednesday"
1460
  msgstr ""
1461
 
1462
+ #: lite/includes/class-es-common.php:733
1463
  #: pro/pro-class-post-digest.php:142
1464
  msgid "Thursday"
1465
  msgstr ""
1466
 
1467
+ #: lite/includes/class-es-common.php:734
1468
  #: pro/pro-class-post-digest.php:143
1469
  msgid "Friday"
1470
  msgstr ""
1471
 
1472
+ #: lite/includes/class-es-common.php:735
1473
  #: pro/pro-class-post-digest.php:144
1474
  msgid "Saturday"
1475
  msgstr ""
1476
 
1477
+ #: lite/includes/class-es-common.php:736
1478
  #: pro/pro-class-post-digest.php:138
1479
  msgid "Sunday"
1480
  msgstr ""
1481
 
1482
+ #: lite/includes/class-es-common.php:772
1483
  msgid "Full Size"
1484
  msgstr ""
1485
 
1486
+ #: lite/includes/class-es-common.php:773
1487
  msgid "Medium Size"
1488
  msgstr ""
1489
 
1490
+ #: lite/includes/class-es-common.php:774
1491
  #: lite/includes/classes/class-es-templates-table.php:168
1492
  msgid "Thumbnail"
1493
  msgstr ""
1494
 
1495
+ #: lite/includes/class-es-common.php:1694
1496
  msgid "Top 10 Tips on How to Build an Email List"
1497
  msgstr ""
1498
 
1499
+ #: lite/includes/class-es-common.php:1698
1500
  #: pro/templates/email/es-admin-subscription-summary.php:174
1501
  msgid "Why are Your Email Unsubscribes Increasing and How to Fix Them?"
1502
  msgstr ""
1503
 
1504
+ #: lite/includes/class-es-common.php:1702
1505
  msgid "Balance Email Marketing and Social Media Marketing"
1506
  msgstr ""
1507
 
1508
+ #: lite/includes/class-es-common.php:1706
1509
  msgid "Use social proof to grow blog traffic through email"
1510
  msgstr ""
1511
 
1512
+ #: lite/includes/class-es-common.php:1710
1513
  msgid "5 Simple Tricks to Improve Email Marketing Campaign Results"
1514
  msgstr ""
1515
 
1516
+ #: lite/includes/class-es-common.php:1719
1517
  #: lite/includes/pro-features.php:176
1518
  msgid "Email Subscribers PRO"
1519
  msgstr ""
1520
 
1521
+ #: lite/includes/class-es-common.php:1721
1522
  msgid "Lifetime"
1523
  msgstr ""
1524
 
1525
+ #: lite/includes/class-es-common.php:1725
1526
  msgid "<b>Email Subscribers Secret Club</b>"
1527
  msgstr ""
1528
 
1529
+ #: lite/includes/class-es-common.php:1727
1530
  #: lite/includes/feedback.php:123
1531
  msgid "Join Now"
1532
  msgstr ""
1533
 
1534
+ #: lite/includes/class-es-common.php:1905
1535
  msgid "All Types"
1536
  msgstr ""
1537
 
1538
+ #: lite/includes/class-es-common.php:1933
1539
  #: lite/includes/classes/class-es-campaigns-table.php:569
1540
  msgid "Draft"
1541
  msgstr ""
1542
 
1543
+ #: lite/includes/class-es-common.php:1934
1544
+ #: lite/includes/class-es-common.php:2379
1545
  #: lite/includes/classes/class-es-campaign-report.php:237
1546
  #: lite/includes/classes/class-es-campaigns-table.php:550
1547
  #: lite/includes/classes/class-es-campaigns-table.php:588
1548
+ #: lite/includes/classes/class-es-reports-table.php:236
1549
+ #: lite/includes/classes/class-es-reports-table.php:626
1550
  #: pro/classes/class-es-pro-reports-data.php:186
1551
  msgid "Sending"
1552
  msgstr ""
1553
 
1554
+ #: lite/includes/class-es-common.php:1935
1555
  #: lite/includes/classes/class-es-campaigns-table.php:310
1556
  #: lite/includes/classes/class-es-campaigns-table.php:543
1557
  #: lite/includes/classes/class-es-campaigns-table.php:579
1558
+ #: lite/includes/classes/class-es-reports-table.php:252
1559
  #: lite/includes/workflows/admin/views/meta-box-timing.php:36
1560
  msgid "Scheduled"
1561
  msgstr ""
1562
 
1563
+ #: lite/includes/class-es-common.php:1936
1564
+ #: lite/includes/class-es-common.php:2359
1565
  #: lite/includes/classes/class-es-campaign-report.php:221
1566
  #: lite/includes/classes/class-es-campaigns-table.php:557
1567
  #: lite/includes/classes/class-es-campaigns-table.php:606
1568
+ #: lite/includes/classes/class-es-reports-table.php:227
1569
  #: lite/includes/pro-features.php:1217
1570
  #: lite/includes/pro-features.php:1264
1571
  #: pro/classes/class-es-pro-reports-data.php:170
1573
  msgid "Sent"
1574
  msgstr ""
1575
 
1576
+ #: lite/includes/class-es-common.php:1961
1577
  #: lite/includes/classes/class-es-campaigns-table.php:691
1578
  #: lite/includes/classes/class-es-contacts-table.php:1141
1579
  msgid "All Statuses"
1580
  msgstr ""
1581
 
1582
+ #: lite/includes/class-es-common.php:2173
1583
  msgid "Upgrade"
1584
  msgstr ""
1585
 
1586
+ #: lite/includes/class-es-common.php:2209
1587
+ #: lite/includes/classes/class-es-reports-table.php:628
1588
  #: pro/classes/class-es-pro-reports-data.php:878
1589
  msgid "All Status"
1590
  msgstr ""
1591
 
1592
+ #: lite/includes/class-es-common.php:2369
1593
  #: lite/includes/classes/class-es-campaign-report.php:229
1594
+ #: lite/includes/classes/class-es-reports-table.php:625
1595
  #: pro/classes/class-es-pro-reports-data.php:178
1596
  #: pro/partials/es-dashboard.php:60
1597
  msgid "In Queue"
1598
  msgstr ""
1599
 
1600
+ #: lite/includes/class-es-common.php:2414
1601
  msgid "Select field type"
1602
  msgstr ""
1603
 
1604
+ #: lite/includes/class-es-common.php:2417
1605
  msgid "Text"
1606
  msgstr ""
1607
 
1608
+ #: lite/includes/class-es-common.php:2418
1609
  msgid "TextArea"
1610
  msgstr ""
1611
 
1612
+ #: lite/includes/class-es-common.php:2419
1613
  msgid "Dropdown"
1614
  msgstr ""
1615
 
1616
+ #: lite/includes/class-es-common.php:2420
1617
  msgid "Radio"
1618
  msgstr ""
1619
 
1620
+ #: lite/includes/class-es-common.php:2421
1621
  #: lite/includes/workflows/fields/class-es-number.php:48
1622
  msgid "Number"
1623
  msgstr ""
1624
 
1625
+ #: lite/includes/class-es-common.php:2422
1626
  #: lite/includes/pro-features.php:1132
1627
  #: lite/includes/workflows/admin/views/meta-box-timing.php:82
1628
  #: lite/includes/workflows/fields/class-es-date.php:31
1629
  #: pro/classes/class-es-campaign-admin-pro.php:196
1630
+ #: pro/pro-class-email-subscribers.php:862
1631
  msgid "Date"
1632
  msgstr ""
1633
 
1634
+ #: lite/includes/class-es-install.php:989
1635
  #: lite/includes/upgrade/es-update-functions.php:752
1636
  msgid "Your subscription was successful! Kindly check your mailbox and confirm your subscription. If you don't see the email within a few minutes, check the spam/junk folder."
1637
  msgstr ""
1663
  #: lite/includes/classes/class-es-admin-settings.php:204
1664
  #: lite/includes/classes/class-es-admin-settings.php:207
1665
  #: lite/includes/classes/class-es-campaigns-table.php:626
1666
+ #: lite/includes/classes/class-es-forms-table.php:418
1667
+ #: lite/includes/classes/class-es-forms-table.php:989
1668
  #: lite/includes/classes/class-es-lists-table.php:637
1669
  #: lite/includes/compatibilities/elementor/actions/class-es-ig-form-action.php:138
1670
+ #: lite/public/partials/class-es-shortcode.php:284
1671
+ #: pro/classes/class-es-pro-embed-form.php:194
1672
  msgid "Name"
1673
  msgstr ""
1674
 
2061
 
2062
  #: lite/includes/classes/class-es-campaigns-table.php:312
2063
  #: lite/includes/classes/class-es-campaigns-table.php:597
2064
+ #: lite/includes/classes/class-es-reports-table.php:244
2065
  msgid "Paused"
2066
  msgstr ""
2067
 
2083
  #: lite/includes/classes/class-es-campaigns-table.php:436
2084
  #: lite/includes/classes/class-es-campaigns-table.php:464
2085
  #: lite/includes/classes/class-es-contacts-table.php:1034
2086
+ #: lite/includes/classes/class-es-forms-table.php:971
2087
  #: lite/includes/classes/class-es-lists-table.php:616
2088
  #: lite/includes/workflows/admin/views/action.php:29
2089
  #: lite/includes/workflows/class-es-workflows-table.php:424
2094
  #: lite/includes/classes/class-es-campaigns-table.php:488
2095
  #: lite/includes/classes/class-es-contacts-table.php:1036
2096
  #: lite/includes/classes/class-es-contacts-table.php:1107
2097
+ #: lite/includes/classes/class-es-forms-table.php:973
2098
+ #: lite/includes/classes/class-es-forms-table.php:1020
2099
  #: lite/includes/classes/class-es-lists-table.php:618
2100
  #: lite/includes/classes/class-es-lists-table.php:671
2101
+ #: lite/includes/classes/class-es-reports-table.php:298
2102
+ #: lite/includes/classes/class-es-reports-table.php:392
2103
  #: lite/includes/workflows/admin/views/action.php:30
2104
  #: lite/includes/workflows/admin/views/meta-box-save.php:45
2105
  #: lite/includes/workflows/class-es-workflows-table.php:428
2109
  msgstr ""
2110
 
2111
  #: lite/includes/classes/class-es-campaigns-table.php:627
2112
+ #: lite/includes/classes/class-es-reports-table.php:316
2113
  #: pro/classes/class-es-pro-custom-fields-table.php:393
2114
  #: pro/classes/class-es-pro-custom-fields-table.php:458
2115
  #: pro/classes/class-es-pro-sequence-report.php:300
2128
 
2129
  #: lite/includes/classes/class-es-campaigns-table.php:630
2130
  #: lite/includes/classes/class-es-contacts-table.php:1074
2131
+ #: lite/includes/classes/class-es-forms-table.php:992
2132
  msgid "Created"
2133
  msgstr ""
2134
 
2137
  msgstr ""
2138
 
2139
  #: lite/includes/classes/class-es-campaigns-table.php:700
2140
+ #: lite/includes/classes/class-es-reports-table.php:637
2141
  msgid "All Type"
2142
  msgstr ""
2143
 
2190
 
2191
  #: lite/includes/classes/class-es-contacts-table.php:306
2192
  #: lite/includes/classes/class-es-export-subscribers.php:82
2193
+ #: lite/includes/classes/class-es-reports-table.php:320
2194
  msgid "Total contacts"
2195
  msgstr ""
2196
 
2272
  msgstr ""
2273
 
2274
  #: lite/includes/classes/class-es-contacts-table.php:838
2275
+ #: lite/includes/classes/class-es-forms-table.php:469
2276
  msgid "Contacts will be added into selected list(s)"
2277
  msgstr ""
2278
 
2281
  msgstr ""
2282
 
2283
  #: lite/includes/classes/class-es-contacts-table.php:855
2284
+ #: lite/includes/classes/class-es-forms-table.php:618
2285
  #: lite/includes/classes/class-es-lists-table.php:384
2286
  #: lite/includes/classes/class-es-post-notifications.php:451
2287
  #: pro/classes/class-es-pro-custom-fields-table.php:426
2289
  msgstr ""
2290
 
2291
  #: lite/includes/classes/class-es-contacts-table.php:862
2292
+ #: lite/includes/classes/class-es-forms-table.php:622
2293
  #: lite/includes/classes/class-es-lists-table.php:388
2294
  #: lite/includes/classes/class-es-post-notifications.php:454
2295
  #: pro/classes/class-es-pro-custom-fields-table.php:431
2474
  #: lite/includes/classes/class-es-import-subscribers.php:682
2475
  #: lite/includes/classes/class-es-import-subscribers.php:1088
2476
  #: lite/includes/classes/class-es-import-subscribers.php:1343
2477
+ #: pro/pro-class-email-subscribers.php:2264
2478
  msgid "First Name"
2479
  msgstr ""
2480
 
2483
  #: lite/includes/classes/class-es-import-subscribers.php:683
2484
  #: lite/includes/classes/class-es-import-subscribers.php:1093
2485
  #: lite/includes/classes/class-es-import-subscribers.php:1344
2486
+ #: pro/pro-class-email-subscribers.php:2265
2487
  msgid "Last Name"
2488
  msgstr ""
2489
 
2509
  msgstr ""
2510
 
2511
  #: lite/includes/classes/class-es-form-widget.php:43
2512
+ #: lite/public/partials/class-es-shortcode.php:257
2513
+ #: lite/public/partials/class-es-shortcode.php:463
2514
+ #: pro/classes/class-es-pro-embed-form.php:176
2515
  msgid "Select list(s)"
2516
  msgstr ""
2517
 
2531
  msgid "Form updated successfully!"
2532
  msgstr ""
2533
 
2534
+ #: lite/includes/classes/class-es-forms-table.php:155
2535
  msgid "You do not have permission to edit this form."
2536
  msgstr ""
2537
 
2538
+ #: lite/includes/classes/class-es-forms-table.php:158
2539
  msgid "Please add form name."
2540
  msgstr ""
2541
 
2542
+ #: lite/includes/classes/class-es-forms-table.php:163
2543
  msgid "Please select list(s) in which contact will be subscribed."
2544
  msgstr ""
2545
 
2546
+ #: lite/includes/classes/class-es-forms-table.php:271
2547
  msgid "Sorry, form not found"
2548
  msgstr ""
2549
 
2550
+ #: lite/includes/classes/class-es-forms-table.php:295
2551
+ #: lite/public/partials/class-es-shortcode.php:256
2552
+ #: pro/classes/class-es-pro-embed-form.php:174
2553
  msgid "Subscribe"
2554
  msgstr ""
2555
 
2556
+ #: lite/includes/classes/class-es-forms-table.php:298
2557
  msgid "Please read our <a href=\"https://www.example.com\">terms and conditions</a>"
2558
  msgstr ""
2559
 
2560
+ #: lite/includes/classes/class-es-forms-table.php:319
2561
  #: pro/classes/class-es-pro-custom-fields-table.php:87
2562
  #: pro/classes/class-es-pro-custom-fields-table.php:346
2563
  msgid "Forms "
2564
  msgstr ""
2565
 
2566
+ #: lite/includes/classes/class-es-forms-table.php:331
2567
  msgid " New Form"
2568
  msgstr ""
2569
 
2570
+ #: lite/includes/classes/class-es-forms-table.php:333
2571
  msgid " Edit Form"
2572
  msgstr ""
2573
 
2574
+ #: lite/includes/classes/class-es-forms-table.php:342
2575
  #: lite/includes/classes/class-es-newsletters.php:333
2576
  #: pro/pro-class-sequences.php:93
2577
  msgid "Documentation "
2578
  msgstr ""
2579
 
2580
+ #: lite/includes/classes/class-es-forms-table.php:359
2581
  msgid "Form name"
2582
  msgstr ""
2583
 
2584
+ #: lite/includes/classes/class-es-forms-table.php:365
2585
  msgid "Enter form name"
2586
  msgstr ""
2587
 
2588
+ #: lite/includes/classes/class-es-forms-table.php:373
2589
  #: lite/includes/classes/class-es-lists-table.php:336
2590
  #: lite/includes/classes/class-es-lists-table.php:638
2591
  msgid "Description"
2592
  msgstr ""
2593
 
2594
+ #: lite/includes/classes/class-es-forms-table.php:379
2595
  msgid "Enter description"
2596
  msgstr ""
2597
 
2598
+ #: lite/includes/classes/class-es-forms-table.php:387
2599
  msgid "Form fields"
2600
  msgstr ""
2601
 
2602
+ #: lite/includes/classes/class-es-forms-table.php:394
2603
  msgid "Field"
2604
  msgstr ""
2605
 
2606
+ #: lite/includes/classes/class-es-forms-table.php:395
2607
  msgid "Show?"
2608
  msgstr ""
2609
 
2610
+ #: lite/includes/classes/class-es-forms-table.php:396
2611
  msgid "Required?"
2612
  msgstr ""
2613
 
2614
+ #: lite/includes/classes/class-es-forms-table.php:397
2615
  #: pro/classes/class-es-pro-custom-fields-table.php:378
2616
  #: pro/classes/class-es-pro-custom-fields-table.php:457
2617
  msgid "Label"
2618
  msgstr ""
2619
 
2620
+ #: lite/includes/classes/class-es-forms-table.php:398
2621
  msgid "Placeholder"
2622
  msgstr ""
2623
 
2624
+ #: lite/includes/classes/class-es-forms-table.php:455
2625
  msgid "Button"
2626
  msgstr ""
2627
 
2628
  #. translators: %s: Create list page url
2629
+ #: lite/includes/classes/class-es-forms-table.php:486
2630
  msgid "List not found. Please %s"
2631
  msgstr ""
2632
 
2633
  #. translators: %s: Create list page url
2634
+ #: lite/includes/classes/class-es-forms-table.php:486
2635
  msgid "create your first list"
2636
  msgstr ""
2637
 
2638
+ #: lite/includes/classes/class-es-forms-table.php:497
2639
  msgid "Allow contact to choose list(s)"
2640
  msgstr ""
2641
 
2642
+ #: lite/includes/classes/class-es-forms-table.php:498
2643
  msgid "Allow contacts to choose list(s) in which they want to subscribe."
2644
  msgstr ""
2645
 
2646
+ #: lite/includes/classes/class-es-forms-table.php:521
2647
  msgid "Enter label"
2648
  msgstr ""
2649
 
2650
+ #: lite/includes/classes/class-es-forms-table.php:533
2651
  msgid "Show GDPR consent checkbox"
2652
  msgstr ""
2653
 
2654
+ #: lite/includes/classes/class-es-forms-table.php:534
2655
  msgid "Show consent checkbox to get the consent of a contact before adding them to list(s)"
2656
  msgstr ""
2657
 
2658
+ #: lite/includes/classes/class-es-forms-table.php:561
2659
  msgid "Consent text will show up at subscription form next to consent checkbox."
2660
  msgstr ""
2661
 
2662
+ #: lite/includes/classes/class-es-forms-table.php:571
2663
  msgid "Show in popup"
2664
  msgstr ""
2665
 
2666
+ #: lite/includes/classes/class-es-forms-table.php:572
2667
  msgid "Show form in popup"
2668
  msgstr ""
2669
 
2670
+ #: lite/includes/classes/class-es-forms-table.php:598
2671
  msgid "Headline"
2672
  msgstr ""
2673
 
2674
  #. translators: %s: Form attribute
2675
+ #: lite/includes/classes/class-es-forms-table.php:608
2676
  msgid "To disable it at a specific instance of a form add this attribute %s in the form's shortcode"
2677
  msgstr ""
2678
 
2679
+ #: lite/includes/classes/class-es-forms-table.php:618
2680
  msgid "Save Form"
2681
  msgstr ""
2682
 
2683
+ #: lite/includes/classes/class-es-forms-table.php:990
2684
  msgid "Shortcode"
2685
  msgstr ""
2686
 
2687
+ #: lite/includes/classes/class-es-forms-table.php:991
2688
  #: pro/templates/email/es-admin-subscription-summary.php:144
2689
  msgid "Subscribers"
2690
  msgstr ""
2691
 
2692
+ #: lite/includes/classes/class-es-forms-table.php:1032
2693
  msgid "You do not have permission to delete this form."
2694
  msgstr ""
2695
 
2696
+ #: lite/includes/classes/class-es-forms-table.php:1039
2697
  msgid "Form deleted successfully!"
2698
  msgstr ""
2699
 
2700
+ #: lite/includes/classes/class-es-forms-table.php:1054
2701
  msgid "Form(s) deleted successfully!"
2702
  msgstr ""
2703
 
2704
+ #: lite/includes/classes/class-es-forms-table.php:1057
2705
  msgid "Please select form(s) to delete."
2706
  msgstr ""
2707
 
2708
+ #: lite/includes/classes/class-es-forms-table.php:1068
2709
  #: lite/includes/classes/class-es-lists-table.php:783
2710
  msgid "Enable"
2711
  msgstr ""
2712
 
2713
+ #: lite/includes/classes/class-es-forms-table.php:1069
2714
  #: lite/includes/classes/class-es-lists-table.php:784
2715
  msgid "Disable"
2716
  msgstr ""
2717
 
2718
+ #: lite/includes/classes/class-es-forms-table.php:1085
2719
  msgid "Search Forms"
2720
  msgstr ""
2721
 
2722
+ #: lite/includes/classes/class-es-forms-table.php:1092
2723
  msgid "No Forms avaliable."
2724
  msgstr ""
2725
 
2726
+ #: lite/includes/classes/class-es-handle-post-notification.php:397
2727
+ #: lite/includes/classes/class-es-handle-post-notification.php:494
2728
+ msgid "View Reports"
2729
+ msgstr ""
2730
+
2731
+ #. translators: %s: Post type singular name
2732
+ #: lite/includes/classes/class-es-handle-post-notification.php:525
2733
+ msgid "Notification emails has been queued for this %s."
2734
+ msgstr ""
2735
+
2736
+ #: lite/includes/classes/class-es-handle-subscription.php:603
2737
  #: lite/public/class-email-subscribers-public.php:112
2738
  msgid "Please enter email address"
2739
  msgstr ""
2740
 
2741
+ #: lite/includes/classes/class-es-handle-subscription.php:604
2742
  #: lite/public/class-email-subscribers-public.php:113
2743
  msgid "You need to wait for sometime before subscribing again"
2744
  msgstr ""
2745
 
2746
+ #: lite/includes/classes/class-es-handle-subscription.php:605
2747
  #: lite/includes/upgrade/es-update-functions.php:752
2748
  #: lite/public/class-email-subscribers-public.php:114
2749
  msgid "Successfully Subscribed."
2750
  msgstr ""
2751
 
2752
+ #: lite/includes/classes/class-es-handle-subscription.php:606
2753
  #: lite/public/class-email-subscribers-public.php:116
2754
  msgid "Email Address already exists!"
2755
  msgstr ""
2756
 
2757
+ #: lite/includes/classes/class-es-handle-subscription.php:607
2758
  #: lite/public/class-email-subscribers-public.php:117
2759
  msgid "Oops.. Unexpected error occurred."
2760
  msgstr ""
2761
 
2762
+ #: lite/includes/classes/class-es-handle-subscription.php:608
2763
  #: lite/public/class-email-subscribers-public.php:118
2764
  msgid "Invalid email address"
2765
  msgstr ""
2766
 
2767
+ #: lite/includes/classes/class-es-handle-subscription.php:609
2768
  msgid "Invalid name"
2769
  msgstr ""
2770
 
2771
+ #: lite/includes/classes/class-es-handle-subscription.php:610
2772
  #: lite/public/class-email-subscribers-public.php:119
2773
  msgid "Please try after some time"
2774
  msgstr ""
2775
 
2776
+ #: lite/includes/classes/class-es-handle-subscription.php:611
2777
  msgid "Oops...unable to add subscriber"
2778
  msgstr ""
2779
 
2780
+ #: lite/includes/classes/class-es-handle-subscription.php:612
2781
  msgid "You do not have permission to add subscriber"
2782
  msgstr ""
2783
 
2784
+ #: lite/includes/classes/class-es-handle-subscription.php:613
2785
  msgid "Please select the list"
2786
  msgstr ""
2787
 
2788
+ #: lite/includes/classes/class-es-handle-subscription.php:614
2789
  msgid "Invalid Captcha"
2790
  msgstr ""
2791
 
3193
  msgstr ""
3194
 
3195
  #: lite/includes/classes/class-es-newsletters.php:431
3196
+ #: lite/includes/classes/class-es-reports-table.php:592
3197
  #: lite/includes/classes/class-es-templates-table.php:154
3198
  #: lite/includes/premium-services-ui/class-ig-es-premium-services-ui.php:243
3199
  msgid "Close"
3360
  msgstr ""
3361
 
3362
  #: lite/includes/classes/class-es-reports-data.php:362
3363
+ #: lite/includes/classes/class-es-reports-table.php:193
3364
  #: lite/public/class-email-subscribers-public.php:490
3365
  #: pro/classes/class-es-pro-reports-data.php:73
3366
  #: lite/admin/js/src/views/GalleryItemFilter.js:10
3383
  msgid "No emails found in queue"
3384
  msgstr ""
3385
 
3386
+ #. translators: 1. Pause icon HTML 2. Resume icon HTML
3387
+ #: lite/includes/classes/class-es-reports-table.php:89
3388
+ msgid "While the campaign is still sending, you can pause %1$s it anytime and update the campaign. Once you are done, resume %2$s the campaign."
3389
+ msgstr ""
3390
+
3391
+ #: lite/includes/classes/class-es-reports-table.php:101
3392
+ msgid "Note: "
3393
+ msgstr ""
3394
+
3395
+ #: lite/includes/classes/class-es-reports-table.php:105
3396
+ msgid "Changes will reflect from the next sending batch."
3397
+ msgstr ""
3398
+
3399
+ #: lite/includes/classes/class-es-reports-table.php:159
3400
  msgid "No Reports avaliable."
3401
  msgstr ""
3402
 
3403
+ #: lite/includes/classes/class-es-reports-table.php:297
3404
  #: pro/classes/class-es-pro-sequence-report.php:272
3405
  msgid "View"
3406
  msgstr ""
3407
 
3408
+ #: lite/includes/classes/class-es-reports-table.php:318
3409
  msgid "Start Date"
3410
  msgstr ""
3411
 
3412
+ #: lite/includes/classes/class-es-reports-table.php:319
3413
  msgid "End Date"
3414
  msgstr ""
3415
 
3416
+ #: lite/includes/classes/class-es-reports-table.php:321
3417
  msgid "Total sent"
3418
  msgstr ""
3419
 
3420
+ #: lite/includes/classes/class-es-reports-table.php:361
3421
  msgid "Send now"
3422
  msgstr ""
3423
 
3424
+ #: lite/includes/classes/class-es-reports-table.php:544
3425
  msgid "You do not have permission to view notification"
3426
  msgstr ""
3427
 
3428
+ #: lite/includes/classes/class-es-reports-table.php:553
3429
  msgid "You do not have permission to delete notification"
3430
  msgstr ""
3431
 
3432
+ #: lite/includes/classes/class-es-reports-table.php:559
3433
  msgid "Report deleted successfully!"
3434
  msgstr ""
3435
 
3436
+ #: lite/includes/classes/class-es-reports-table.php:573
3437
  msgid "Reports deleted successfully!"
3438
  msgstr ""
3439
 
3440
+ #: lite/includes/classes/class-es-reports-table.php:613
3441
  msgid "Search Reports"
3442
  msgstr ""
3443
 
3444
+ #: lite/includes/classes/class-es-reports-table.php:624
3445
  msgid "Completed"
3446
  msgstr ""
3447
 
3448
+ #: lite/includes/classes/class-es-reports-table.php:646
3449
  msgid "All Dates"
3450
  msgstr ""
3451
 
3463
 
3464
  #. translators: 1: Page 2: Duplicate action 3: Campaign id 4: Wp nonce
3465
  #: lite/includes/classes/class-es-templates-table.php:209
3466
+ #: pro/pro-class-email-subscribers.php:1587
3467
  msgid "Duplicate"
3468
  msgstr ""
3469
 
3518
  msgid "on Facebook"
3519
  msgstr ""
3520
 
3521
+ #: lite/includes/feedback.php:149
3522
+ msgid "<span><p>We hope you're enjoying <b>Email Subscribers</b> plugin! Could you please do us a BIG favor and give us a 5-star rating on WordPress to help us spread the word and boost our motivation?</p>"
3523
+ msgstr ""
3524
+
3525
  #: lite/includes/feedback.php:226
3526
  msgid "Subscription forms and CTAs??"
3527
  msgstr ""
3719
  msgstr ""
3720
 
3721
  #: lite/includes/pro-features.php:278
3722
+ #: pro/pro-class-email-subscribers.php:948
3723
  msgid "Track clicks"
3724
  msgstr ""
3725
 
3726
  #: lite/includes/pro-features.php:279
3727
+ #: pro/pro-class-email-subscribers.php:949
3728
  msgid "Do you want to track when people click links in your emails? (We recommend keeping it enabled)"
3729
  msgstr ""
3730
 
3776
  msgstr ""
3777
 
3778
  #: lite/includes/pro-features.php:348
3779
+ #: pro/pro-class-email-subscribers.php:972
3780
  msgid "Weekly summary"
3781
  msgstr ""
3782
 
3824
  msgstr ""
3825
 
3826
  #: lite/includes/pro-features.php:428
3827
+ #: pro/pro-class-email-subscribers.php:957
3828
  msgid "Track IP address"
3829
  msgstr ""
3830
 
4096
 
4097
  #: lite/includes/pro-features.php:1122
4098
  #: pro/classes/class-es-campaign-admin-pro.php:171
4099
+ #: pro/pro-class-email-subscribers.php:843
4100
  msgid "Send options"
4101
  msgstr ""
4102
 
4103
  #: lite/includes/pro-features.php:1125
4104
  #: pro/classes/class-es-campaign-admin-pro.php:182
4105
+ #: pro/pro-class-email-subscribers.php:848
4106
  msgid "Schedule for later"
4107
  msgstr ""
4108
 
4109
  #: lite/includes/pro-features.php:1141
4110
  #: lite/includes/workflows/fields/class-es-time.php:64
4111
  #: pro/classes/class-es-campaign-admin-pro.php:210
4112
+ #: pro/pro-class-email-subscribers.php:876
4113
  msgid "Time"
4114
  msgstr ""
4115
 
4116
  #: lite/includes/pro-features.php:1151
4117
  #: pro/classes/class-es-campaign-admin-pro.php:225
4118
+ #: pro/pro-class-email-subscribers.php:891
4119
  msgid "Local Time: "
4120
  msgstr ""
4121
 
4240
  msgstr ""
4241
 
4242
  #: lite/includes/pro-features.php:1690
4243
+ #: pro/pro-class-email-subscribers.php:1809
4244
  msgid "Add Attachments"
4245
  msgstr ""
4246
 
4247
  #: lite/includes/pro-features.php:1720
4248
+ #: pro/pro-class-email-subscribers.php:1936
4249
  msgid "Import existing WordPress users"
4250
  msgstr ""
4251
 
4379
  msgid "Enter text to be shown in email header area."
4380
  msgstr ""
4381
 
4382
+ #: lite/includes/workflows/actions/class-es-action-send-email.php:89
4383
  msgid "Email content"
4384
  msgstr ""
4385
 
4386
+ #: lite/includes/workflows/actions/class-es-action-send-email.php:96
4387
  msgid "Track opens and clicks"
4388
  msgstr ""
4389
 
4791
  msgstr ""
4792
 
4793
  #: lite/includes/workflows/db/class-es-db-workflows.php:608
4794
+ #: pro/pro-class-email-subscribers.php:2663
4795
  msgid "Send confirmation email"
4796
  msgstr ""
4797
 
4967
 
4968
  #: lite/public/partials/cron-message.php:43
4969
  #: pro/classes/class-es-campaign-admin-pro.php:176
4970
+ #: pro/pro-class-email-subscribers.php:902
4971
  msgid "Send Now"
4972
  msgstr ""
4973
 
5065
 
5066
  #: pro/classes/class-es-pro-custom-fields-table.php:40
5067
  #: pro/classes/class-es-pro-custom-fields-table.php:92
5068
+ #: pro/pro-class-email-subscribers.php:439
5069
  msgid "Custom Fields"
5070
  msgstr ""
5071
 
5143
  msgid "Select option"
5144
  msgstr ""
5145
 
5146
+ #: pro/classes/class-es-pro-embed-form.php:48
5147
+ msgid "Invalid request"
5148
+ msgstr ""
5149
+
5150
+ #: pro/classes/class-es-pro-embed-form.php:74
5151
+ msgid "Please add this site URL in the form settings"
5152
+ msgstr ""
5153
+
5154
+ #: pro/classes/class-es-pro-embed-form.php:79
5155
+ msgid "Form is not enabled for remote sites."
5156
+ msgstr ""
5157
+
5158
+ #: pro/classes/class-es-pro-embed-form.php:82
5159
+ msgid "Invalid form!"
5160
+ msgstr ""
5161
+
5162
+ #: pro/classes/class-es-pro-embed-form.php:264
5163
+ msgid "Copy Embed Code"
5164
+ msgstr ""
5165
+
5166
+ #: pro/classes/class-es-pro-embed-form.php:287
5167
+ msgid "Get form embed code"
5168
+ msgstr ""
5169
+
5170
+ #: pro/classes/class-es-pro-embed-form.php:350
5171
+ msgid "Enable embed form?"
5172
+ msgstr ""
5173
+
5174
+ #: pro/classes/class-es-pro-embed-form.php:351
5175
+ msgid "Would you like to show this form in external website?"
5176
+ msgstr ""
5177
+
5178
+ #: pro/classes/class-es-pro-embed-form.php:376
5179
+ msgid "Specific URLs from other sites"
5180
+ msgstr ""
5181
+
5182
+ #: pro/classes/class-es-pro-embed-form.php:390
5183
+ msgid "Add site URL"
5184
+ msgstr ""
5185
+
5186
+ #: pro/classes/class-es-pro-embed-form.php:416
5187
+ msgid "Remove"
5188
+ msgstr ""
5189
+
5190
  #: pro/classes/class-es-pro-reports-data.php:210
5191
  msgid "Recipient(s): "
5192
  msgstr ""
5193
 
5194
  #: pro/classes/class-es-pro-reports-data.php:261
5195
+ #: pro/pro-class-email-subscribers.php:1318
5196
  msgid "Clicked"
5197
  msgstr ""
5198
 
5481
  msgid "Your cart could not be restored, it may have expired."
5482
  msgstr ""
5483
 
5484
+ #: pro/pro-class-email-subscribers.php:432
5485
  #: pro/pro-class-post-digest.php:33
5486
  msgid "Sequence"
5487
  msgstr ""
5488
 
5489
+ #: pro/pro-class-email-subscribers.php:597
5490
  msgid "Please enter an email address."
5491
  msgstr ""
5492
 
5493
+ #: pro/pro-class-email-subscribers.php:599
5494
  msgid "Add Attachment"
5495
  msgstr ""
5496
 
5497
  #. translators: %s: Attachmen max file size.
5498
+ #: pro/pro-class-email-subscribers.php:601
5499
  msgid "Please attach a file having size lower than %s."
5500
  msgstr ""
5501
 
5502
+ #: pro/pro-class-email-subscribers.php:602
5503
  msgid "Are you sure you want to delete this?"
5504
  msgstr ""
5505
 
5506
+ #: pro/pro-class-email-subscribers.php:603
5507
+ #: pro/pro-class-email-subscribers.php:2146
5508
  msgid "Checking your orders..."
5509
  msgstr ""
5510
 
5511
+ #: pro/pro-class-email-subscribers.php:605
5512
  #: pro/pro-class-sequences.php:544
5513
  msgid "Send immediately"
5514
  msgstr ""
5515
 
5516
+ #: pro/pro-class-email-subscribers.php:606
5517
  msgid "Send after"
5518
  msgstr ""
5519
 
5520
+ #: pro/pro-class-email-subscribers.php:607
5521
  #: pro/pro-class-sequences.php:460
5522
  msgid "hour(s)"
5523
  msgstr ""
5524
 
5525
+ #: pro/pro-class-email-subscribers.php:608
5526
  #: pro/pro-class-sequences.php:461
5527
  msgid "day(s)"
5528
  msgstr ""
5529
 
5530
+ #: pro/pro-class-email-subscribers.php:609
5531
  #: pro/pro-class-sequences.php:462
5532
  msgid "week(s)"
5533
  msgstr ""
5534
 
5535
+ #: pro/pro-class-email-subscribers.php:738
5536
  msgid "Clean My List"
5537
  msgstr ""
5538
 
5539
+ #: pro/pro-class-email-subscribers.php:739
5540
  msgid "List cleanup is in progress..."
5541
  msgstr ""
5542
 
5543
+ #: pro/pro-class-email-subscribers.php:740
5544
  msgid "List cleanup completed successfully."
5545
  msgstr ""
5546
 
5547
+ #: pro/pro-class-email-subscribers.php:758
5548
  msgid "Email status"
5549
  msgstr ""
5550
 
5551
+ #: pro/pro-class-email-subscribers.php:759
5552
  msgid "Last opened at"
5553
  msgstr ""
5554
 
5555
+ #: pro/pro-class-email-subscribers.php:913
5556
  msgid "Select page"
5557
  msgstr ""
5558
 
5559
+ #: pro/pro-class-email-subscribers.php:926
5560
  msgid "Subscriber will be redirected to selected page (by default, homepage) once they click on unsubscribe link from the email."
5561
  msgstr ""
5562
 
5563
+ #: pro/pro-class-email-subscribers.php:939
5564
  msgid "Subscriber will be redirected to selected page (by default, homepage) once they click on email confirmation link from the double opt-in (confirmation) email."
5565
  msgstr ""
5566
 
5567
+ #: pro/pro-class-email-subscribers.php:977
5568
  msgid "Enable?"
5569
  msgstr ""
5570
 
5571
+ #: pro/pro-class-email-subscribers.php:984
5572
  msgid "When our automated weekly email should be sent out?"
5573
  msgstr ""
5574
 
5575
+ #: pro/pro-class-email-subscribers.php:993
5576
  msgid "In which time we need to send our weekly summary?"
5577
  msgstr ""
5578
 
5579
+ #: pro/pro-class-email-subscribers.php:1019
5580
  msgid "Access Key ID"
5581
  msgstr ""
5582
 
5583
+ #: pro/pro-class-email-subscribers.php:1032
5584
  msgid "Secret Access Key"
5585
  msgstr ""
5586
 
5587
+ #: pro/pro-class-email-subscribers.php:1046
5588
  msgid "Closest Region"
5589
  msgstr ""
5590
 
5591
+ #: pro/pro-class-email-subscribers.php:1048
5592
  msgid "To decrease network latency between your site and Amazon SES and speed up email sending, select the Amazon SES API region which is closest to where your website is hosted."
5593
  msgstr ""
5594
 
5595
+ #: pro/pro-class-email-subscribers.php:1075
5596
  msgid "Private API Key"
5597
  msgstr ""
5598
 
5599
+ #: pro/pro-class-email-subscribers.php:1089
5600
  msgid "Domain Name"
5601
  msgstr ""
5602
 
5603
+ #: pro/pro-class-email-subscribers.php:1100
5604
+ #: pro/pro-class-email-subscribers.php:1175
5605
  msgid "United States"
5606
  msgstr ""
5607
 
5608
+ #: pro/pro-class-email-subscribers.php:1101
5609
+ #: pro/pro-class-email-subscribers.php:1176
5610
  msgid "Europe"
5611
  msgstr ""
5612
 
5613
+ #: pro/pro-class-email-subscribers.php:1107
5614
+ #: pro/pro-class-email-subscribers.php:1182
5615
  msgid "Region"
5616
  msgstr ""
5617
 
5618
+ #: pro/pro-class-email-subscribers.php:1111
5619
  msgid "mailgun.com"
5620
  msgstr ""
5621
 
5622
+ #: pro/pro-class-email-subscribers.php:1137
5623
+ #: pro/pro-class-email-subscribers.php:1164
5624
  msgid "API Key"
5625
  msgstr ""
5626
 
5627
+ #: pro/pro-class-email-subscribers.php:1184
5628
  msgid "Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region."
5629
  msgstr ""
5630
 
5631
+ #: pro/pro-class-email-subscribers.php:1209
5632
  msgid "API token"
5633
  msgstr ""
5634
 
5635
+ #: pro/pro-class-email-subscribers.php:1237
5636
  msgid "API key"
5637
  msgstr ""
5638
 
5639
+ #: pro/pro-class-email-subscribers.php:1266
5640
  msgid "Public key"
5641
  msgstr ""
5642
 
5643
+ #: pro/pro-class-email-subscribers.php:1280
5644
  msgid "Private key"
5645
  msgstr ""
5646
 
5647
+ #: pro/pro-class-email-subscribers.php:1609
5648
  msgid "You are not allowed to duplicate campaign."
5649
  msgstr ""
5650
 
5651
+ #: pro/pro-class-email-subscribers.php:1624
5652
  msgid "Campaign duplicated !"
5653
  msgstr ""
5654
 
5655
+ #: pro/pro-class-email-subscribers.php:1955
5656
  msgid "Import WordPress users with following roles"
5657
  msgstr ""
5658
 
5659
+ #: pro/pro-class-email-subscribers.php:2013
5660
+ #: pro/pro-class-email-subscribers.php:2153
5661
  msgid "Proceed "
5662
  msgstr ""
5663
 
5664
+ #: pro/pro-class-email-subscribers.php:2055
5665
  msgid "Import from WooCommerce orders"
5666
  msgstr ""
5667
 
5668
+ #: pro/pro-class-email-subscribers.php:2080
5669
  msgid "Select order statuses"
5670
  msgstr ""
5671
 
5672
+ #: pro/pro-class-email-subscribers.php:2134
5673
  msgid "Orders should contain these products"
5674
  msgstr ""
5675
 
5676
+ #: pro/pro-class-email-subscribers.php:2140
5677
  msgid "Search products..."
5678
  msgstr ""
5679
 
5680
  #. translators: 1. Processed orders count. 2. Total orders count. 3. Matched orders count.
5681
+ #: pro/pro-class-email-subscribers.php:2372
5682
  msgid "Currently %1$s of %2$s orders checked. Found %3$s matching orders."
5683
  msgstr ""
5684
 
5685
+ #: pro/pro-class-email-subscribers.php:2383
5686
  msgid "We can't find any matching orders in your store."
5687
  msgstr ""
5688
 
5689
+ #: pro/pro-class-email-subscribers.php:2396
5690
  msgid "Total Opened"
5691
  msgstr ""
5692
 
5693
+ #: pro/pro-class-email-subscribers.php:2449
5694
  msgid "How to configure Mailgun to send emails in the Email Subscribers plugin?"
5695
  msgstr ""
5696
 
5697
+ #: pro/pro-class-email-subscribers.php:2481
5698
  msgid "How to configure SendGrid to send emails in the Email Subscribers plugin?"
5699
  msgstr ""
5700
 
5701
+ #: pro/pro-class-email-subscribers.php:2513
5702
  msgid "How to configure Sparkpost to send emails in the Email Subscribers plugin?"
5703
  msgstr ""
5704
 
5705
+ #: pro/pro-class-email-subscribers.php:2545
5706
  msgid "How to configure Amazon SES to send emails in the Email Subscribers plugin?"
5707
  msgstr ""
5708
 
5709
+ #: pro/pro-class-email-subscribers.php:2577
5710
  msgid "How to configure Postmark to send emails in the Email Subscribers plugin?"
5711
  msgstr ""
5712
 
5713
+ #: pro/pro-class-email-subscribers.php:2609
5714
  msgid "How to configure Sendinblue to send emails in the Email Subscribers plugin?"
5715
  msgstr ""
5716
 
5717
+ #: pro/pro-class-email-subscribers.php:2641
5718
  msgid "How to configure Mailjet to send emails in the Email Subscribers plugin?"
5719
  msgstr ""
5720
 
5721
+ #: pro/pro-class-email-subscribers.php:2678
5722
  msgid "Confirmation emails queued successfully and will be sent shortly."
5723
  msgstr ""
5724
 
5725
+ #: pro/pro-class-email-subscribers.php:2686
5726
  msgid "No contacts found. May be they are already queued or there isn't any unconfirmed contact in your selection."
5727
  msgstr ""
5728
 
5729
+ #: pro/pro-class-email-subscribers.php:2689
5730
  msgid "Failed to queue confirmation emails. Please try again later."
5731
  msgstr ""
5732
 
lite/public/partials/class-es-shortcode.php CHANGED
@@ -122,6 +122,112 @@ class ES_Shortcode {
122
  return ob_get_clean();
123
  }
124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  public static function render_form( $data ) {
126
 
127
  /**
@@ -144,9 +250,9 @@ class ES_Shortcode {
144
  $show_name = ! empty( $data['name_visible'] ) ? strtolower( $data['name_visible'] ) : false;
145
  $required_name = ! empty( $data['name_required'] ) ? $data['name_required'] : false;
146
  $name_label = ! empty( $data['name_label'] ) ? $data['name_label'] : '';
147
- $name_place_holder = ! empty( $data['name_place_holder'] ) ? $data['name_place_holder'] : '';
148
  $email_label = ! empty( $data['email_label'] ) ? $data['email_label'] : '';
149
- $email_place_holder = ! empty( $data['email_place_holder'] ) ? $data['email_place_holder'] : '';
150
  $button_label = ! empty( $data['button_label'] ) ? $data['button_label'] : __( 'Subscribe', 'email-subscribers' );
151
  $list_label = ! empty( $data['list_label'] ) ? $data['list_label'] : __( 'Select list(s)', 'email-subscribers' );
152
  $show_list = ! empty( $data['list_visible'] ) ? $data['list_visible'] : false;
@@ -157,9 +263,9 @@ class ES_Shortcode {
157
  $form_version = ! empty( $data['form_version'] ) ? $data['form_version'] : '0.1';
158
  $gdpr_consent = ! empty( $data['gdpr_consent'] ) ? $data['gdpr_consent'] : 'no';
159
  $gdpr_consent_text = ! empty( $data['gdpr_consent_text'] ) ? $data['gdpr_consent_text'] : '';
160
- $es_form_popup = isset( $data['show_in_popup'] ) ? $data['show_in_popup'] : 'no';
161
- $es_popup_headline = isset( $data['popup_headline'] ) ? $data['popup_headline'] : '';
162
- $show_in_popup_attr = isset( $data['show-in-popup-attr'] ) ? $data['show-in-popup-attr'] : '';
163
 
164
  $allowedtags = ig_es_allowed_html_tags_in_esc();
165
 
@@ -227,73 +333,14 @@ class ES_Shortcode {
227
  $nonce = wp_create_nonce( 'es-subscribe' );
228
 
229
  // Name
230
- $name_html = '';
231
- $required = '';
232
- if ( ! empty( $show_name ) && 'no' !== $show_name ) {
233
- if ( 'yes' === $required_name ) {
234
- $required = 'required';
235
- if ( ! empty( $name_label ) ) {
236
- $name_label .= '*';
237
- }
238
- }
239
- $name_html .= '<div class="es-field-wrap"><label>' . $name_label . '<br/><input type="text" name="esfpx_name" class="ig_es_form_field_name" placeholder="' . $name_place_holder . '" value="' . $submitted_name . '" ' ;
240
-
241
- /* Adding required="required" as attribute name, value pair because wp_kses will strip off the attribute if only 'required' attribute is provided. */
242
- $name_html .= 'required' === $required ? 'required = "' . $required . '"' : '';
243
- $name_html .= '/></label></div>';
244
- }
245
 
246
  // Lists
247
- if ( ! empty( $list_ids ) && $show_list ) {
248
- $lists_id_name_map = ES()->lists_db->get_list_id_name_map();
249
- $lists_id_hash_map = ES()->lists_db->get_list_id_hash_map( $list_ids );
250
- $list_html = self::prepare_lists_checkboxes( $lists_id_name_map, $list_ids, 1, $selected_list_ids, $list_label, 0, 'esfpx_lists[]', $lists_id_hash_map );
251
- } elseif ( ! empty( $list_ids ) && ! $show_list ) {
252
- $list_html = '';
253
- $lists = ES()->lists_db->get_lists_by_id( $list_ids );
254
- if ( ! empty( $lists ) ) {
255
- foreach ( $lists as $list ) {
256
- if ( ! empty( $list ) && ! empty( $list['hash'] ) ) {
257
- $list_html .= '<input type="hidden" name="esfpx_lists[]" value="' . $list['hash'] . '" />';
258
- }
259
- }
260
- }
261
- } elseif ( is_numeric( $list ) ) {
262
- $lists = ES()->lists_db->get_lists_by_id( $list );
263
- $list_html = '';
264
- if ( ! empty( $lists ) ) {
265
- $list_hash = ! empty( $lists[0]['hash'] ) ? $lists[0]['hash'] : '';
266
- if ( ! empty( $list_hash ) ) {
267
- $list_html = '<input type="hidden" name="esfpx_lists[]" value="' . $list_hash . '" />';
268
- }
269
- }
270
- } else {
271
- $list_data = ES()->lists_db->get_list_by_name( $list );
272
- if ( empty( $list_data ) ) {
273
- $list_id = ES()->lists_db->add_list( $list );
274
- } else {
275
- $list_id = $list_data['id'];
276
- }
277
-
278
- $lists = ES()->lists_db->get_lists_by_id( $list_id );
279
- $list_html = '';
280
- if ( ! empty( $lists ) ) {
281
- $list_hash = ! empty( $lists[0]['hash'] ) ? $lists[0]['hash'] : '';
282
- if ( ! empty( $list_hash ) ) {
283
- $list_html = '<input type="hidden" name="esfpx_lists[]" value="' . $list_hash . '" />';
284
- }
285
- }
286
- }
287
 
288
  // Form html
289
  $form_html = '<input type="hidden" name="esfpx_form_id" value="' . $form_id . '" />';
290
-
291
- $email_html = '<div class="es-field-wrap"><label>';
292
- if ( ! empty( $email_label ) ) {
293
- $email_html .= $email_label . '*<br/>';
294
- }
295
- $email_html .= '<input class="es_required_field es_txt_email ig_es_form_field_email" type="email" name="esfpx_email" value="' . $submitted_email . '" placeholder="' . $email_place_holder . '" required="required"/></label></div>';
296
-
297
 
298
  $form_header_html = '<div class="emaillist" id="es_form_' . self::$form_identifier . '">';
299
  $form_data_html = '';
122
  return ob_get_clean();
123
  }
124
 
125
+ /**
126
+ * Get the name field to render inside the form
127
+ *
128
+ * @param $show_name
129
+ * @param $name_label
130
+ * @param $name_required
131
+ * @param $name_placeholder
132
+ * @param $submitted_name
133
+ *
134
+ * @return string
135
+ */
136
+ public static function get_name_field_html( $show_name, $name_label, $name_required, $name_placeholder, $submitted_name = '' ) {
137
+ $required = '';
138
+ if ( ! empty( $show_name ) && 'no' !== $show_name ) {
139
+ if ( 'yes' === $name_required ) {
140
+ $required = 'required';
141
+ if ( ! empty( $name_label ) ) {
142
+ $name_label .= '*';
143
+ }
144
+ }
145
+ $name_html = '<div class="es-field-wrap"><label>' . $name_label . '<br/><input type="text" name="esfpx_name" class="ig_es_form_field_name" placeholder="' . $name_placeholder . '" value="' . $submitted_name . '" ';
146
+
147
+ /* Adding required="required" as attribute name, value pair because wp_kses will strip off the attribute if only 'required' attribute is provided. */
148
+ $name_html .= 'required' === $required ? 'required = "' . $required . '"' : '';
149
+ $name_html .= '/></label></div>';
150
+ return $name_html;
151
+ }
152
+
153
+ return '';
154
+ }
155
+
156
+ /**
157
+ * Get the E-Mail field to render inside the form
158
+ *
159
+ * @param $email_label
160
+ * @param $email_placeholder
161
+ * @param $submitted_email
162
+ *
163
+ * @return string
164
+ */
165
+ public static function get_email_field_html( $email_label, $email_placeholder, $submitted_email = '' ) {
166
+ $email_html = '<div class="es-field-wrap"><label>';
167
+ if ( ! empty( $email_label ) ) {
168
+ $email_html .= $email_label . '*<br/>';
169
+ }
170
+ $email_html .= '<input class="es_required_field es_txt_email ig_es_form_field_email" type="email" name="esfpx_email" value="' . $submitted_email . '" placeholder="' . $email_placeholder . '" required="required"/></label></div>';
171
+
172
+ return $email_html;
173
+ }
174
+
175
+ /**
176
+ *
177
+ * Get the List field to render inside the form
178
+ * @param $show_list
179
+ * @param $list_label
180
+ * @param $list_ids
181
+ * @param $list
182
+ * @param array $selected_list_ids
183
+ *
184
+ * @return string
185
+ */
186
+ public static function get_list_field_html( $show_list, $list_label, $list_ids, $list, $selected_list_ids = array() ) {
187
+ if ( ! empty( $list_ids ) && $show_list ) {
188
+ $lists_id_name_map = ES()->lists_db->get_list_id_name_map();
189
+ $lists_id_hash_map = ES()->lists_db->get_list_id_hash_map( $list_ids );
190
+ $list_html = self::prepare_lists_checkboxes( $lists_id_name_map, $list_ids, 1, $selected_list_ids, $list_label, 0, 'esfpx_lists[]', $lists_id_hash_map );
191
+ } elseif ( ! empty( $list_ids ) && ! $show_list ) {
192
+ $list_html = '';
193
+ $lists = ES()->lists_db->get_lists_by_id( $list_ids );
194
+ if ( ! empty( $lists ) ) {
195
+ foreach ( $lists as $list ) {
196
+ if ( ! empty( $list ) && ! empty( $list['hash'] ) ) {
197
+ $list_html .= '<input type="hidden" name="esfpx_lists[]" value="' . $list['hash'] . '" />';
198
+ }
199
+ }
200
+ }
201
+ } elseif ( is_numeric( $list ) ) {
202
+ $lists = ES()->lists_db->get_lists_by_id( $list );
203
+ $list_html = '';
204
+ if ( ! empty( $lists ) ) {
205
+ $list_hash = ! empty( $lists[0]['hash'] ) ? $lists[0]['hash'] : '';
206
+ if ( ! empty( $list_hash ) ) {
207
+ $list_html = '<input type="hidden" name="esfpx_lists[]" value="' . $list_hash . '" />';
208
+ }
209
+ }
210
+ } else {
211
+ $list_data = ES()->lists_db->get_list_by_name( $list );
212
+ if ( empty( $list_data ) ) {
213
+ $list_id = ES()->lists_db->add_list( $list );
214
+ } else {
215
+ $list_id = $list_data['id'];
216
+ }
217
+
218
+ $lists = ES()->lists_db->get_lists_by_id( $list_id );
219
+ $list_html = '';
220
+ if ( ! empty( $lists ) ) {
221
+ $list_hash = ! empty( $lists[0]['hash'] ) ? $lists[0]['hash'] : '';
222
+ if ( ! empty( $list_hash ) ) {
223
+ $list_html = '<input type="hidden" name="esfpx_lists[]" value="' . $list_hash . '" />';
224
+ }
225
+ }
226
+ }
227
+
228
+ return $list_html;
229
+ }
230
+
231
  public static function render_form( $data ) {
232
 
233
  /**
250
  $show_name = ! empty( $data['name_visible'] ) ? strtolower( $data['name_visible'] ) : false;
251
  $required_name = ! empty( $data['name_required'] ) ? $data['name_required'] : false;
252
  $name_label = ! empty( $data['name_label'] ) ? $data['name_label'] : '';
253
+ $name_placeholder = ! empty( $data['name_place_holder'] ) ? $data['name_place_holder'] : '';
254
  $email_label = ! empty( $data['email_label'] ) ? $data['email_label'] : '';
255
+ $email_placeholder = ! empty( $data['email_place_holder'] ) ? $data['email_place_holder'] : '';
256
  $button_label = ! empty( $data['button_label'] ) ? $data['button_label'] : __( 'Subscribe', 'email-subscribers' );
257
  $list_label = ! empty( $data['list_label'] ) ? $data['list_label'] : __( 'Select list(s)', 'email-subscribers' );
258
  $show_list = ! empty( $data['list_visible'] ) ? $data['list_visible'] : false;
263
  $form_version = ! empty( $data['form_version'] ) ? $data['form_version'] : '0.1';
264
  $gdpr_consent = ! empty( $data['gdpr_consent'] ) ? $data['gdpr_consent'] : 'no';
265
  $gdpr_consent_text = ! empty( $data['gdpr_consent_text'] ) ? $data['gdpr_consent_text'] : '';
266
+ $es_form_popup = isset( $data['show_in_popup'] ) ? $data['show_in_popup'] : 'no';
267
+ $es_popup_headline = isset( $data['popup_headline'] ) ? $data['popup_headline'] : '';
268
+ $show_in_popup_attr = isset( $data['show-in-popup-attr'] ) ? $data['show-in-popup-attr'] : '';
269
 
270
  $allowedtags = ig_es_allowed_html_tags_in_esc();
271
 
333
  $nonce = wp_create_nonce( 'es-subscribe' );
334
 
335
  // Name
336
+ $name_html = self::get_name_field_html($show_name, $name_label, $required_name, $name_placeholder, $submitted_name);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
 
338
  // Lists
339
+ $list_html = self::get_list_field_html($show_list, $list_label, $list_ids, $list, $selected_list_ids);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
 
341
  // Form html
342
  $form_html = '<input type="hidden" name="esfpx_form_id" value="' . $form_id . '" />';
343
+ $email_html = self::get_email_field_html($email_label, $email_placeholder, $submitted_email);
 
 
 
 
 
 
344
 
345
  $form_header_html = '<div class="emaillist" id="es_form_' . self::$form_identifier . '">';
346
  $form_data_html = '';
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: email marketing, subscription, autoresponder, post notification, welcome e
6
  Requires at least: 3.9
7
  Tested up to: 5.9.3
8
  Requires PHP: 5.6
9
- Stable tag: 5.3.10
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses
12
 
@@ -310,13 +310,20 @@ Refer [here](https://www.icegram.com/documentation/es-faq/).
310
 
311
  == Upgrade Notice ==
312
 
313
- = 5.3.10 =
314
 
 
 
315
  * Fix: Security related issues [Thanks to WP team]
316
- * Enhancement: Small UI improvements
317
 
318
  == Changelog ==
319
 
 
 
 
 
 
 
320
  **5.3.10 (07.04.2022)**
321
 
322
  * Fix: Security related issues [Thanks to WP team]
6
  Requires at least: 3.9
7
  Tested up to: 5.9.3
8
  Requires PHP: 5.6
9
+ Stable tag: 5.3.11
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses
12
 
310
 
311
  == Upgrade Notice ==
312
 
313
+ = 5.3.11 =
314
 
315
+ * New: Now ES forms can be added to remote sites/pages via HTML code
316
+ * Fix: Workflows are not getting saved in some cases
317
  * Fix: Security related issues [Thanks to WP team]
 
318
 
319
  == Changelog ==
320
 
321
+ **5.3.11 (12.04.2022)**
322
+
323
+ * New: Now ES forms can be added to remote sites/pages via HTML code
324
+ * Fix: Workflows are not getting saved in some cases
325
+ * Fix: Security related issues [Thanks to WP team]
326
+
327
  **5.3.10 (07.04.2022)**
328
 
329
  * Fix: Security related issues [Thanks to WP team]