Email Subscribers & Newsletters - Version 4.5.5

Version Description

Download this release

Release Info

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

Code changes from version 4.5.4 to 4.5.5

email-subscribers.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: Email Subscribers & Newsletters
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
6
- * Version: 4.5.4
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
10
- * Tested up to: 5.5
11
  * Requires PHP: 5.6
12
  * Text Domain: email-subscribers
13
  * Domain Path: /lite/languages/
@@ -163,7 +163,7 @@ if ( $is_premium ) {
163
  /* ***************************** Initial Compatibility Work (End) ******************* */
164
 
165
  if ( ! defined( 'ES_PLUGIN_VERSION' ) ) {
166
- define( 'ES_PLUGIN_VERSION', '4.5.4' );
167
  }
168
 
169
  // 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: 4.5.5
7
  * Author: Icegram
8
  * Author URI: https://www.icegram.com/
9
  * Requires at least: 3.9
10
+ * Tested up to: 5.5.1
11
  * Requires PHP: 5.6
12
  * Text Domain: email-subscribers
13
  * Domain Path: /lite/languages/
163
  /* ***************************** Initial Compatibility Work (End) ******************* */
164
 
165
  if ( ! defined( 'ES_PLUGIN_VERSION' ) ) {
166
+ define( 'ES_PLUGIN_VERSION', '4.5.5' );
167
  }
168
 
169
  // Plugin Folder Path.
lite/admin/css/email-subscribers-admin.css CHANGED
@@ -962,7 +962,7 @@ h5.es-badge {
962
  /*onboarding css */
963
  #slider-wrapper {
964
  background: #fff;
965
- border-radius: 7px;
966
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
967
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
968
  -webkit-box-sizing: border-box;
@@ -974,11 +974,9 @@ h5.es-badge {
974
  overflow: hidden;
975
  padding: 2em 3em;
976
  height: 50em;
977
- /*-webkit-transform: translate(0%,45%);*/
978
  -webkit-transform: translate(0%, 7vw);
979
  transform: translate(0%, 7vw);
980
- /*top: 50%;
981
- left: 50%;*/
982
  }
983
 
984
  .sp {
@@ -1001,18 +999,21 @@ h5.es-badge {
1001
 
1002
  a.button-send, .es-error-actions .es-dashboard-btn {
1003
  text-decoration: none !important;
1004
- color: #387bff;
1005
- /* font-size: 1.1em; */
1006
  font-weight: 500;
1007
  padding: 0.50em 0.55em;
1008
- border-radius: 3px;
1009
- transition: background-color 0.5s;
 
 
 
 
1010
  cursor: pointer;
1011
  }
1012
 
1013
- a.button-send:hover, .es-error-actions .es-dashboard-btn:hover {
1014
- background-color: #387bff !important;
1015
- color: white !important;
1016
  }
1017
 
1018
  /*.es-send-email-screen img.es-loader {
@@ -1039,10 +1040,36 @@ a.button-send:hover, .es-error-actions .es-dashboard-btn:hover {
1039
  }
1040
 
1041
  .sp h1 {
 
 
 
 
 
 
 
 
1042
  text-align: center;
1043
- color: #387bff;
1044
- line-height: 1.3em;
 
1045
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1046
 
1047
  .sp .es-ltr {
1048
  padding: 1em;
@@ -1082,19 +1109,34 @@ a.button-send:hover, .es-error-actions .es-dashboard-btn:hover {
1082
  padding: 1.25em 1em;
1083
  }
1084
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1085
 
1086
  #es-send-email-form input[type="email"] {
1087
  width: 18em;
1088
  padding: 0.4em 0.5em;
1089
  border: none;
1090
- box-shadow: none;
1091
  border-bottom: 1px solid gray;
1092
  }
1093
 
1094
  .es-form-wrapper {
1095
  padding: 0.5em 0.8em;
1096
  background-color: #f9f9f9;
1097
- border-radius: 3px;
1098
  }
1099
 
1100
  .es-send-email-screen .es-form-wrapper form {
@@ -1107,7 +1149,7 @@ a.button-send:hover, .es-error-actions .es-dashboard-btn:hover {
1107
 
1108
  .es-email-sending-error {
1109
  line-height: 1em;
1110
- padding: 1em;
1111
  }
1112
 
1113
  .es-error form.es-onboarding {
@@ -1119,8 +1161,12 @@ a.button-send:hover, .es-error-actions .es-dashboard-btn:hover {
1119
  line-height: 1.75;
1120
  }
1121
 
1122
- .sp .es-skip {
1123
  cursor: pointer;
 
 
 
 
1124
  }
1125
 
1126
  /* onboarding :end */
962
  /*onboarding css */
963
  #slider-wrapper {
964
  background: #fff;
965
+ border-radius: 0.5rem;
966
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
967
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
968
  -webkit-box-sizing: border-box;
974
  overflow: hidden;
975
  padding: 2em 3em;
976
  height: 50em;
 
977
  -webkit-transform: translate(0%, 7vw);
978
  transform: translate(0%, 7vw);
979
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
 
980
  }
981
 
982
  .sp {
999
 
1000
  a.button-send, .es-error-actions .es-dashboard-btn {
1001
  text-decoration: none !important;
1002
+ color: #fff;
1003
+ font-size: 1.1em;
1004
  font-weight: 500;
1005
  padding: 0.50em 0.55em;
1006
+ border-radius: 6px;
1007
+ background-color: hsl(234,62%,60%) !important;
1008
+ padding: 0.7em 0.5em;
1009
+ margin-left:5px;
1010
+ transition: all .0.5s;
1011
+ /*transition: background-color 0.5s;*/
1012
  cursor: pointer;
1013
  }
1014
 
1015
+ a.button-send:hover, .es-error-actions .es-dashboard-btn {
1016
+ background-color: hsl(234,100%,68%) !important;
 
1017
  }
1018
 
1019
  /*.es-send-email-screen img.es-loader {
1040
  }
1041
 
1042
  .sp h1 {
1043
+ font-size: 1.25rem;
1044
+ font-weight: 700;
1045
+ color: #1a202c;
1046
+ line-height: 1.5rem;
1047
+ padding-bottom: 1rem;
1048
+ border-bottom-width: 1px;
1049
+ border-color: #edf2f7;
1050
+ color: #5a67d8;
1051
  text-align: center;
1052
+ letter-spacing: 0.025em;
1053
+ /*color: #387bff;
1054
+ line-height: 1.3em;*/
1055
  }
1056
+ .sp > p {
1057
+ padding: 1rem 0 0 0;
1058
+ font-size: 1rem;
1059
+ font-weight: 500;
1060
+ color: #4a5568;
1061
+ letter-spacing: 0.015em;
1062
+ }
1063
+
1064
+ .sp ol{
1065
+ padding: 1rem 0 1rem 0;
1066
+ list-style: disc;
1067
+ }
1068
+
1069
+ .sp ol li{
1070
+ margin: 0 3px 0 18px;
1071
+ color: #666666;
1072
+ }
1073
 
1074
  .sp .es-ltr {
1075
  padding: 1em;
1109
  padding: 1.25em 1em;
1110
  }
1111
 
1112
+ #es-send-email-form .es_from_name,#es-send-email-form .es_from_email,#es-send-email-form .es_email,.sp .es-ltr{
1113
+ appearance: none;
1114
+ border-radius: 0.375rem;
1115
+ font-size: 0.90rem;
1116
+ line-height: 1.5;
1117
+ color: inherit;
1118
+ }
1119
+
1120
+ #es-send-email-form .es_from_name:focus,#es-send-email-form .es_from_email:focus,#es-send-email-form .es_email:focus,.sp .es-ltr:focus{
1121
+ -webkit-box-shadow:0 0 0 3px rgba(164,202,254,.75);
1122
+ box-shadow:0 0 0 3px rgba(164,202,254,.75);
1123
+ }
1124
+
1125
+ #es-send-email-form .es_from_email{
1126
+ margin-left: 1.3rem;
1127
+ }
1128
 
1129
  #es-send-email-form input[type="email"] {
1130
  width: 18em;
1131
  padding: 0.4em 0.5em;
1132
  border: none;
 
1133
  border-bottom: 1px solid gray;
1134
  }
1135
 
1136
  .es-form-wrapper {
1137
  padding: 0.5em 0.8em;
1138
  background-color: #f9f9f9;
1139
+ border-radius: 0.35rem;
1140
  }
1141
 
1142
  .es-send-email-screen .es-form-wrapper form {
1149
 
1150
  .es-email-sending-error {
1151
  line-height: 1em;
1152
+ padding: 1em 1em 1em 0;
1153
  }
1154
 
1155
  .es-error form.es-onboarding {
1161
  line-height: 1.75;
1162
  }
1163
 
1164
+ .sp .es-skip, .es-receive-error-btn {
1165
  cursor: pointer;
1166
+ color: hsl(0, 0%, 55%);
1167
+ }
1168
+ .sp .es-skip:hover, .es-receive-error-btn:hover {
1169
+ color: hsl(0, 0%, 45%);
1170
  }
1171
 
1172
  /* onboarding :end */
lite/admin/partials/onboarding.php CHANGED
@@ -4,7 +4,7 @@
4
  <?php $from_name = get_option( 'ig_es_from_name'); ?>
5
  <?php $from_email = get_option( 'ig_es_from_email'); ?>
6
  <h1> 👍 <?php echo esc_html__( '80% done!', 'email-subscribers' ); ?></h1>
7
- <strong><?php echo esc_html__( 'We automatically:', 'email-subscribers' ); ?></strong>
8
  <ol>
9
  <li>
10
  <?php
@@ -12,7 +12,8 @@
12
  echo sprintf( esc_html__( 'Created two Lists - %1$sMain%2$s and %1$sTest%2$s', 'email-subscribers'), '<a href="' . esc_url( admin_url( 'admin.php?page=es_lists' ) ) . '" target="_blank">', '</a>' );
13
  ?>
14
  </li>
15
- <li><?php echo esc_html__( 'Added yourself', 'email-subscribers'); ?> <strong>(<?php echo esc_html( get_option('admin_email') ); ?>)</strong> <?php echo esc_html__( 'to both lists', 'email-subscribers' ); ?> </li>
 
16
  <li>
17
  <?php
18
  /* translators: 1: Starting anchor tag with forms URL 2: Closing anchor tag */
@@ -27,64 +28,69 @@
27
  </li>
28
  </ol>
29
  <div class="es-form-wrapper">
30
- <div class="es-form-next"style="padding: 0.5em 0.8em; border-radius: 3px;">
31
  <?php
32
  /* translators: 1: Starting strong tag 2: Closing strong tag 3: Line break tag */
33
- echo sprintf( esc_html__(' We will create "%1$sNewsletter Broadcast%2$s" and "%1$sNew Post Notification%2$s" campaigns. Next step is to test everything by %1$ssending test campaigns%2$s.%3$sWe\'ve already added you, but recommend adding another email to test.', 'email-subscribers'), '<strong>', '</strong>', '<br />');
34
  ?>
35
  <br/>
36
  <?php
37
  /* translators: 1: Starting strong tag 2: Closing strong tag */
38
- echo sprintf( esc_html__('But before test %1$sverify your sender details%2$s', 'email-subscribers'), '<strong>', '</strong>' );
39
  ?>
40
  </div>
41
- <form id="es-send-email-form">
42
- <label><strong><?php echo esc_html__('Sender', 'email-subscribers'); ?></strong></label><br/>
43
- <input type="text" name="es_from_name" class="es_from_name" value="<?php echo esc_attr( $from_name ); ?>" required style="padding: 0.6em 0.5em; border: 1px solid #dcdcdc; "/>
44
- <input type="email" name="es_from_email" class="es_from_email" value="<?php echo esc_attr( $from_email ); ?>" required style="padding: 0.6em 0.5em; border: 1px solid #dcdcdc; "/><br/>
45
- <label><strong><?php echo esc_html__('Add an email to send a test to:', 'email-subscribers'); ?></strong></label><br/>
46
- <input type="email" placeholder="abc@gmail.com" name="es_test_email[]" class="es_email" required style="padding: 0.6em 0.5em; border: 1px solid #dcdcdc; "/>
47
- <a id="button-send" class="button-send"><?php echo esc_html__('Create and Send test camapigns', 'email-subscribers'); ?></a>
48
- <img class="es-loader" src="<?php echo esc_url( ES_PLUGIN_URL . 'lite/public/images/spinner.gif' ); ?>" style="display:none;"/>
 
49
  </form>
50
  </div>
51
  </div>
52
  <div class="sp es-success" >
53
- <h1><?php echo esc_html__('Test emails sent, check your inbox'); ?></h1>
54
  <div class="es-sent-success">
55
- <div class="es-gray">
56
  <?php
57
  /* translators: %s: Site admin email */
58
- echo sprintf( esc_html__( 'We sent two campaigns to %s and email you have added.', 'email-subscribers' ), esc_html( get_option( 'admin_email' ) ) );
59
  ?>
 
60
  </div>
61
  <div class="es-gray"><?php echo esc_html__( 'They may take a few minutes to arrive. But do confirm you received them.', 'email-subscribers' ); ?></div>
62
  </div>
63
- <div class="emoji" style="text-align: center; font-size: 10em; opacity: 0.45"> 📨 </div>
64
  <div class="es-actions">
65
- <div class="button button-hero es-receive-success-btn" style="width: 100%; text-align: center;padding: 0"><?php echo esc_html__('Yes, I received the test emails', 'email-subscribers'); ?></div>
66
- <div style="margin-top: 0.7em;"><a href="#" style="text-decoration: none;color: #737373" class="es-secondary es-receive-error-btn""><?php echo esc_html__('No, I haven\'t received them yet', 'email-subscribers'); ?></a></div>
67
  </div>
68
  </div>
69
  <div class="sp es-receive-success">
70
  <h1> 👍 <?php echo esc_html__('We\'re done!'); ?></h1>
71
  <div>
72
- <div class="" style="color: #737373; line-height: 1.75;"><?php echo esc_html__('Everything is setup now. It\'s a perfect time to get better at email marketing now. Sign up below to get our highly acclaimed course for free.', 'email-subscribers'); ?> </div>
 
 
73
  <form name="klawoo_subscribe" action="#" method="POST" accept-charset="utf-8" class="es-onboarding" style="margin-right: 0; margin-top: 1em; /* text-align: center; */ ">
74
  <input class="es-ltr" type="text" name="name" id="name" placeholder="Your Name"/> <br />
75
  <input class="es-ltr" type="text" name="email" id="email" placeholder="Your Email" required/> <br />
76
  <input type="hidden" name="list" value="hN8OkYzujUlKgDgfCTEcIA"/>
77
  <input type="hidden" name="form-source" value="es_email_send_success"/>
78
- <input type="checkbox" name="es-gdpr-agree" id ="es-gdpr-agree" value="1" required="required">
79
- <label for="es-gdpr-agree" style="font-size: 0.9em; color: #777777; ">
 
80
  <?php
81
  /* translators: %s: Icegram Privacy Policy text with anchor tag */
82
- echo sprintf( esc_html__( 'I have read and agreed to your %s.', 'email-subscribers' ), '<a href="https://www.icegram.com/privacy-policy/" target="_blank">' . esc_html__( 'Privacy Policy', 'email-subscribers' ) . '</a>' );
83
  ?>
84
- </label>
85
- <br />
86
- <input type="submit" name="submit" id="submit" class="button button-hero" style="padding: 0; width: 320px; "value="<?php echo esc_html__( 'Signup and send me the course for free', 'email-subscribers' ); ?>">
87
- <div style="text-align: center; width: 56%; margin-top: 0.5em;"><a class="es-skip" href="<?php echo esc_url( admin_url( 'admin.php?page=es_dashboard&es_skip=1&option_name=email_send_success') ); ?>"><?php echo esc_html__('Skip and goto Dashboard', 'email-subscribers'); ?></a></div>
88
  <br>
89
  <p id="klawoo_response"></p>
90
  </form>
@@ -92,10 +98,11 @@
92
  </div>
93
  <div class="sp es-receive-error">
94
  <h1><?php echo esc_html__('Check these few things below'); ?></h1>
95
- <ul>
96
  <li>
97
  <?php
98
- echo esc_html__('1. Check your spam or junk folder', 'email-subscribers');
 
99
  ?>
100
  </li>
101
  <li>
@@ -107,56 +114,62 @@
107
  <li>
108
  <?php
109
  /* translators: 1: Starting strong tag 2: Closing strong tag */
110
- echo sprintf( esc_html__( '3. Is %1$s' . get_option('admin_email') . '%2$s email is free/disposable?', 'email-subscribers' ), '<strong>', '</strong>' );
111
  ?>
112
  </li>
113
- <li><a href="https://www.icegram.com/documentation/reasons-why-you-havent-received-the-test-email/?utm_source=es&utm_medium=es_onboarding&utm_campaign=view_docs_help_page" target="_blank" style="color: #387bff; font-weight: 500; "> <?php echo esc_html__('Explore more', 'email-subscribers'); ?></a></li>
114
  </ul>
115
  <div class="">
116
- <div class="es-gray"><?php echo esc_html__('Also, it\'s a perfect time to get better at email marketing now. Sign up below to get our highly acclaimed course for free.', 'email-subscribers'); ?></div>
117
- <form name="klawoo_subscribe" action="#" method="POST" accept-charset="utf-8" class="es-onboarding">
 
 
118
  <input class="es-ltr" type="text" name="name" id="name" placeholder="Your Name"/> <br />
119
  <input class="es-ltr" type="text" name="email" id="email" placeholder="Your Email" required/> <br />
120
  <input type="hidden" name="list" value="hN8OkYzujUlKgDgfCTEcIA"/>
121
  <input type="hidden" name="form-source" value="es_email_receive_error"/>
122
- <input type="checkbox" name="es-gdpr-agree" id ="es-gdpr-agree" value="1" required="required">
123
- <label for="es-gdpr-agree" style="font-size: 0.9em; color: #777777; ">
 
124
  <?php
125
  /* translators: %s: Icegram Privacy Policy text with anchor tag */
126
- echo sprintf(esc_html__( 'I have read and agreed to your %s.', 'email-subscribers' ), '<a href="https://www.icegram.com/privacy-policy/" target="_blank">' . esc_html__( 'Privacy Policy', 'email-subscribers' ) . '</a>' );
127
  ?>
128
- </label>
129
- <br />
130
- <input type="submit" name="submit" id="submit" class="button button-hero" value="<?php echo esc_html__('Signup and send me the course for free', 'email-subscribers' ); ?>">
131
- <div style="text-align: center; width: 56%; margin-top: 0.5em;"><a class="es-skip" href="<?php echo esc_url( admin_url('admin.php?page=es_dashboard&es_skip=1&option_name=email_receive_error') ); ?>" ><?php echo esc_html__('Skip and goto Dashboard', 'email-subscribers'); ?></a></div>
132
  <br>
133
  <p id="klawoo_response"></p>
134
  </form>
135
  </div>
136
  </div>
137
  <div class="sp es-error" >
138
- <h1>⚠️ <?php echo esc_html__('Problem sending emails - fix this first.'); ?></h1>
139
- <div style="font-weight: 500; font-size: 1.1em;"><?php echo esc_html__('We faced some problems sending test Campaigns.'); ?></div>
140
  <div class="es-email-sending-error"></div>
141
- <div><a href="https://www.icegram.com/documentation/common-email-sending-problems/?utm_source=es&utm_medium=es_onboarding&utm_campaign=view_docs_help_page" target="_blank" style="color: #387bff; font-weight: 500; "> <?php echo esc_html__('Explore more about problems', 'email-subscribers'); ?></a></div>
142
  <div class="es-gray"><?php echo esc_html__('Please solve these problems, without that email sending won\'t work.'); ?></div>
143
  <div style="margin-top: 1em;">
144
- <div class="es-gray"><?php echo esc_html__('Also, it\'s a perfect time to get better at email marketing now. Sign up below to get our highly acclaimed course for free.', 'email-subscribers'); ?></div>
 
 
145
  <form name="klawoo_subscribe" action="#" method="POST" accept-charset="utf-8" class="es-onboarding">
146
  <input class="es-ltr" type="text" name="name" id="name" placeholder="Your Name"/> <br />
147
  <input class="es-ltr" type="text" name="email" id="email" placeholder="Your Email" required/> <br />
148
  <input type="hidden" name="list" value="hN8OkYzujUlKgDgfCTEcIA"/>
149
  <input type="hidden" name="form-source" value="es_email_send_error"/>
150
- <input type="checkbox" name="es-gdpr-agree" id ="es-gdpr-agree" value="1" required="required">
151
- <label for="es-gdpr-agree" style="font-size: 0.9em; color: #777777; ">
 
152
  <?php
153
  /* translators: %s: Icegram Privacy Policy text with anchor tag */
154
- echo sprintf(esc_html__( 'I have read and agreed to your %s.', 'email-subscribers' ), '<a href="https://www.icegram.com/privacy-policy/" target="_blank">' . esc_html__( 'Privacy Policy', 'email-subscribers' ) . '</a>' );
155
  ?>
156
- </label>
157
- <br />
158
- <input type="submit" name="submit" id="submit" class="button button-hero" value="<?php echo esc_html__( 'Signup and send me the course for free', 'email-subscribers' ); ?>">
159
- <div style="text-align: center; width: 56%; margin-top: 0.5em;"><a class="es-skip" href="<?php echo esc_url( admin_url('admin.php?page=es_dashboard&es_skip=1&option_name=email_send_error') ); ?>"><?php echo esc_html__('Skip and goto Dashboard', 'email-subscribers'); ?></a></div>
160
  <br>
161
  <p id="klawoo_response"></p>
162
  </form>
4
  <?php $from_name = get_option( 'ig_es_from_name'); ?>
5
  <?php $from_email = get_option( 'ig_es_from_email'); ?>
6
  <h1> 👍 <?php echo esc_html__( '80% done!', 'email-subscribers' ); ?></h1>
7
+ <p><?php echo esc_html__( 'We have automatically :', 'email-subscribers' ); ?></p>
8
  <ol>
9
  <li>
10
  <?php
12
  echo sprintf( esc_html__( 'Created two Lists - %1$sMain%2$s and %1$sTest%2$s', 'email-subscribers'), '<a href="' . esc_url( admin_url( 'admin.php?page=es_lists' ) ) . '" target="_blank">', '</a>' );
13
  ?>
14
  </li>
15
+ <li><?php echo esc_html__( 'Added you', 'email-subscribers'); ?> <strong style="font-weight: 700;color: #4a5568;" >(<?php echo esc_html( get_option('admin_email') ); ?>)</strong> <?php echo esc_html__( 'to both lists', 'email-subscribers' ); ?>
16
+ </li>
17
  <li>
18
  <?php
19
  /* translators: 1: Starting anchor tag with forms URL 2: Closing anchor tag */
28
  </li>
29
  </ol>
30
  <div class="es-form-wrapper">
31
+ <div class="es-form-next" style="padding: 0.5em 0.8em; border-radius: 1.5rem;color: #737373;">
32
  <?php
33
  /* translators: 1: Starting strong tag 2: Closing strong tag 3: Line break tag */
34
+ echo sprintf( esc_html__(' We will create "%1$sNewsletter Broadcast%2$s" and "%1$sNew Post Notification%2$s" campaigns. Next step is to test everything by %1$ssending test campaigns%2$s.%3$sWe\'ve already added you, but recommend adding another email to test.', 'email-subscribers'), '<strong style="font-weight: 647;color: hsl(0, 0%, 30%);" >', '</strong>', '<br />');
35
  ?>
36
  <br/>
37
  <?php
38
  /* translators: 1: Starting strong tag 2: Closing strong tag */
39
+ echo sprintf( esc_html__('But before test %1$sverify your sender details%2$s', 'email-subscribers'), '<strong style="font-weight: 647;color: hsl(0, 0%, 30%);" >', '</strong>' );
40
  ?>
41
  </div>
42
+ <form id="es-send-email-form" style="padding: 0.5em 0.8em;">
43
+ <label><strong style="font-weight: 700;color: #4a5568;" ><?php echo esc_html__('Sender', 'email-subscribers'); ?></strong></label><br/>
44
+ <input type="text" name="es_from_name" class="es_from_name" value="<?php echo esc_attr( $from_name ); ?>" required style="padding: 0.5em 0.5em; border: 1px solid #dcdcdc; "/>
45
+ <input type="email" name="es_from_email" class="es_from_email" value="<?php echo esc_attr( $from_email ); ?>" required style="padding: 0.5em 0.5em; border: 1px solid #dcdcdc; "/><br/>
46
+ <p style="margin: 1em 0 0.8em 0;"><label><strong style="font-weight: 700;color: #4a5568;" ><?php echo esc_html__('Add an email to send a test to:', 'email-subscribers'); ?></strong></label><br/>
47
+ <input type="email" placeholder="abc@gmail.com" name="es_test_email[]" class="es_email" required style="padding: 0.5em 0.5em; border: 1px solid #dcdcdc; margin-top: 0.4em; "/>
48
+ <a id="button-send" class="button-send"><?php echo esc_html__('Create and Send test campaigns', 'email-subscribers'); ?></a>
49
+ <img class="es-loader" src="<?php echo esc_url( ES_PLUGIN_URL . 'lite/public/images/spinner.gif' ); ?>" style="display:none;margin-top:0.5rem"/>
50
+ </p>
51
  </form>
52
  </div>
53
  </div>
54
  <div class="sp es-success" >
55
+ <h1 style="color: #38a169;"><?php echo esc_html__('Test emails sent, check your inbox'); ?></h1>
56
  <div class="es-sent-success">
57
+ <div class="es-gray" style="padding: 1rem 0 0 0;">
58
  <?php
59
  /* translators: %s: Site admin email */
60
+ echo sprintf( esc_html__( 'We have sent two campaigns to %s and the email you have added.', 'email-subscribers' ), '<strong style="font-weight: 700;color: #4a5568;" >' . esc_html( get_option( 'admin_email' ) ) . '</strong>' );
61
  ?>
62
+
63
  </div>
64
  <div class="es-gray"><?php echo esc_html__( 'They may take a few minutes to arrive. But do confirm you received them.', 'email-subscribers' ); ?></div>
65
  </div>
66
+ <div class="emoji" style="text-align: center; font-size: 10em; opacity: 0.45;padding: 0.5rem 0 0 0;"> 📨 </div>
67
  <div class="es-actions">
68
+ <div class="button button-hero es-receive-success-btn" style="width: 100%; text-align: center;padding: 0;"><?php echo esc_html__('Yes, I received the test emails', 'email-subscribers'); ?></div>
69
+ <div style="margin-top: 0.7em;"><a href="#" class="es-secondary es-receive-error-btn"><u><?php echo esc_html__('No, I haven\'t received them yet', 'email-subscribers'); ?></u></a></div>
70
  </div>
71
  </div>
72
  <div class="sp es-receive-success">
73
  <h1> 👍 <?php echo esc_html__('We\'re done!'); ?></h1>
74
  <div>
75
+ <div class="" style="color: #737373; line-height: 1.75;padding: 1rem 0 0 0;"><?php echo esc_html__('Everything is setup now. It\'s a perfect time to get better at email marketing now.', 'email-subscribers'); ?>
76
+ <br/><span style="font-weight: 500;"><?php echo esc_html__('Sign up ', 'email-subscribers'); ?></span><?php echo esc_html__('below to get our highly acclaimed course for free.', 'email-subscribers'); ?>
77
+ </div>
78
  <form name="klawoo_subscribe" action="#" method="POST" accept-charset="utf-8" class="es-onboarding" style="margin-right: 0; margin-top: 1em; /* text-align: center; */ ">
79
  <input class="es-ltr" type="text" name="name" id="name" placeholder="Your Name"/> <br />
80
  <input class="es-ltr" type="text" name="email" id="email" placeholder="Your Email" required/> <br />
81
  <input type="hidden" name="list" value="hN8OkYzujUlKgDgfCTEcIA"/>
82
  <input type="hidden" name="form-source" value="es_email_send_success"/>
83
+ <div style="margin-top: 0.5rem;">
84
+ <input type="checkbox" name="es-gdpr-agree" id ="es-gdpr-agree" value="1" required="required">
85
+ <label for="es-gdpr-agree" style="font-size: 0.9em; color: #777777; ">
86
  <?php
87
  /* translators: %s: Icegram Privacy Policy text with anchor tag */
88
+ echo sprintf( esc_html__( 'I have read and agreed to your %s.', 'email-subscribers' ), '<a href="https://www.icegram.com/privacy-policy/" target="_blank" style="font-weight:500">' . esc_html__( 'Privacy Policy', 'email-subscribers' ) . '</a>' );
89
  ?>
90
+ </label>
91
+ </div>
92
+ <input type="submit" name="submit" id="submit" class="button button-hero" style="padding: 0; width: 320px;margin-top: 0.5rem;" value="<?php echo esc_html__( 'Signup and send me the course for free', 'email-subscribers' ); ?>">
93
+ <div style="text-align: center; width: 56%; margin-top: 0.5em;"><a class="es-skip" href="<?php echo esc_url( admin_url( 'admin.php?page=es_dashboard&es_skip=1&option_name=email_send_success') ); ?>"><u><?php echo esc_html__('Skip and goto Dashboard', 'email-subscribers'); ?></u></a></div>
94
  <br>
95
  <p id="klawoo_response"></p>
96
  </form>
98
  </div>
99
  <div class="sp es-receive-error">
100
  <h1><?php echo esc_html__('Check these few things below'); ?></h1>
101
+ <ul style="padding: 1rem 0 0 0;">
102
  <li>
103
  <?php
104
+ /* translators: 1: Starting bold tag 2: Closing bold tag */
105
+ echo sprintf( esc_html__( '1. Check your %1$sspam%2$s or %1$sjunk%2$s folder', 'email-subscribers'), '<b style="color:#737373;font-weight:500">', '</b>' );
106
  ?>
107
  </li>
108
  <li>
114
  <li>
115
  <?php
116
  /* translators: 1: Starting strong tag 2: Closing strong tag */
117
+ echo sprintf( esc_html__( '3. Is %1$s' . get_option('admin_email') . '%2$s email free/disposable?', 'email-subscribers' ), '<strong style="color: #4a5568;">', '</strong>' );
118
  ?>
119
  </li>
120
+ <li style="margin-top: 1rem"><a href="https://www.icegram.com/documentation/reasons-why-you-havent-received-the-test-email/?utm_source=es&utm_medium=es_onboarding&utm_campaign=view_docs_help_page" target="_blank" style="font-weight: 600; font-size:1.06em;"> <?php echo esc_html__('Explore more', 'email-subscribers'); ?></a></li>
121
  </ul>
122
  <div class="">
123
+ <div class="es-gray"><?php echo esc_html__('Also, it\'s a perfect time to get better at email marketing now.', 'email-subscribers'); ?>
124
+ <br/><span style="font-weight: 500;"><?php echo esc_html__('Sign up ', 'email-subscribers'); ?></span><?php echo esc_html__('below to get our highly acclaimed course for free.', 'email-subscribers'); ?>
125
+ </div>
126
+ <form name="klawoo_subscribe" action="#" method="POST" accept-charset="utf-8" class="es-onboarding" style="margin-top: 1em;">
127
  <input class="es-ltr" type="text" name="name" id="name" placeholder="Your Name"/> <br />
128
  <input class="es-ltr" type="text" name="email" id="email" placeholder="Your Email" required/> <br />
129
  <input type="hidden" name="list" value="hN8OkYzujUlKgDgfCTEcIA"/>
130
  <input type="hidden" name="form-source" value="es_email_receive_error"/>
131
+ <div style="margin-top: 0.5rem;">
132
+ <input type="checkbox" name="es-gdpr-agree" id ="es-gdpr-agree" value="1" required="required">
133
+ <label for="es-gdpr-agree" style="font-size: 0.9em; color: #777777;">
134
  <?php
135
  /* translators: %s: Icegram Privacy Policy text with anchor tag */
136
+ echo sprintf(esc_html__( 'I have read and agreed to your %s.', 'email-subscribers' ), '<a href="https://www.icegram.com/privacy-policy/" target="_blank" style="font-weight:500">' . esc_html__( 'Privacy Policy', 'email-subscribers' ) . '</a>' );
137
  ?>
138
+ </label>
139
+ </div>
140
+ <input type="submit" name="submit" id="submit" class="button button-hero" style="margin-top: 0.5em;" value="<?php echo esc_html__('Signup and send me the course for free', 'email-subscribers' ); ?>">
141
+ <div style="text-align: center; width: 56%; margin-top: 0.5em;"><a class="es-skip" href="<?php echo esc_url( admin_url('admin.php?page=es_dashboard&es_skip=1&option_name=email_receive_error') ); ?>" ><u><?php echo esc_html__('Skip and goto Dashboard', 'email-subscribers'); ?></u></a></div>
142
  <br>
143
  <p id="klawoo_response"></p>
144
  </form>
145
  </div>
146
  </div>
147
  <div class="sp es-error" >
148
+ <h1 style=" color: #e53e3e;">⚠️ <?php echo esc_html__('Problem sending emails - fix this first.'); ?></h1>
149
+ <p style="font-weight: 500"><?php echo esc_html__('We faced some problems sending Test Campaigns.'); ?></p>
150
  <div class="es-email-sending-error"></div>
151
+ <div style="margin-top: 1rem;"><a href="https://www.icegram.com/documentation/common-email-sending-problems/?utm_source=es&utm_medium=es_onboarding&utm_campaign=view_docs_help_page" target="_blank" style="font-weight: 600;font-size: 1.06em;line-height: 2em; "> <?php echo esc_html__('Explore more about problems', 'email-subscribers'); ?></a></div>
152
  <div class="es-gray"><?php echo esc_html__('Please solve these problems, without that email sending won\'t work.'); ?></div>
153
  <div style="margin-top: 1em;">
154
+ <div class="es-gray"><?php echo esc_html__('Also, it\'s a perfect time to get better at email marketing now.', 'email-subscribers'); ?>
155
+ <br/><span style="font-weight: 500;"><?php echo esc_html__('Sign up ', 'email-subscribers'); ?></span><?php echo esc_html__('below to get our highly acclaimed course for free.', 'email-subscribers'); ?>
156
+ </div>
157
  <form name="klawoo_subscribe" action="#" method="POST" accept-charset="utf-8" class="es-onboarding">
158
  <input class="es-ltr" type="text" name="name" id="name" placeholder="Your Name"/> <br />
159
  <input class="es-ltr" type="text" name="email" id="email" placeholder="Your Email" required/> <br />
160
  <input type="hidden" name="list" value="hN8OkYzujUlKgDgfCTEcIA"/>
161
  <input type="hidden" name="form-source" value="es_email_send_error"/>
162
+ <div style="margin-top: 0.5rem;">
163
+ <input type="checkbox" name="es-gdpr-agree" id ="es-gdpr-agree" value="1" required="required">
164
+ <label for="es-gdpr-agree" style="font-size: 0.9em; color: #777777; ">
165
  <?php
166
  /* translators: %s: Icegram Privacy Policy text with anchor tag */
167
+ echo sprintf(esc_html__( 'I have read and agreed to your %s.', 'email-subscribers' ), '<a href="https://www.icegram.com/privacy-policy/" target="_blank" style="font-weight:500">' . esc_html__( 'Privacy Policy', 'email-subscribers' ) . '</a>' );
168
  ?>
169
+ </label>
170
+ </div>
171
+ <input type="submit" name="submit" id="submit" class="button button-hero" style="margin-top: 0.5rem;" value="<?php echo esc_html__( 'Signup and send me the course for free', 'email-subscribers' ); ?>">
172
+ <div style="text-align: center; width: 56%; margin-top: 0.5em;"><a class="es-skip" href="<?php echo esc_url( admin_url('admin.php?page=es_dashboard&es_skip=1&option_name=email_send_error') ); ?>"><u><?php echo esc_html__('Skip and goto Dashboard', 'email-subscribers'); ?></u></a></div>
173
  <br>
174
  <p id="klawoo_response"></p>
175
  </form>
lite/includes/pro-features.php CHANGED
@@ -289,7 +289,7 @@ function ig_es_add_sync_users_tabs( $tabs ) {
289
 
290
  // Is WooCommmerce active? Show WooCommerce integration
291
  $active_plugins = $ig_es_tracker::get_active_plugins();
292
- if ( in_array( $woocommerce_plugin, $active_plugins ) ) {
293
  $tabs['woocommerce'] = array(
294
  'name' => __( 'WooCommerce', 'email-subscribers' ),
295
  'indicator_option' => 'ig_es_show_sync_woocommerce_users_indicator',
@@ -299,7 +299,7 @@ function ig_es_add_sync_users_tabs( $tabs ) {
299
 
300
  // Is Contact Form 7 active? Show CF7 integration.
301
  $contact_form_7 = 'contact-form-7/wp-contact-form-7.php';
302
- if ( in_array( $contact_form_7, $active_plugins ) ) {
303
  $tabs['cf7'] = array(
304
  'name' => __( 'Contact Form 7', 'email-subscribers' ),
305
  'indicator_option' => 'ig_es_show_sync_cf7_users_indicator',
@@ -307,8 +307,9 @@ function ig_es_add_sync_users_tabs( $tabs ) {
307
  );
308
  }
309
 
310
- $wpforms_plugin = 'wpforms-lite/wpforms.php';
311
- if ( in_array( $wpforms_plugin, $active_plugins ) ) {
 
312
  $tabs['wpforms'] = array(
313
  'name' => __( 'WPForms', 'email-subscribers' ),
314
  'indicator_option' => 'ig_es_show_sync_wpforms_users_indicator',
@@ -318,7 +319,7 @@ function ig_es_add_sync_users_tabs( $tabs ) {
318
 
319
  // Show only if Give is installed & activated
320
  $give_plugin = 'give/give.php';
321
- if ( in_array( $give_plugin, $active_plugins ) ) {
322
  $tabs['give'] = array(
323
  'name' => __( 'Give', 'email-subscribers' ),
324
  'indicator_option' => 'ig_es_show_sync_give_users_indicator',
@@ -328,7 +329,7 @@ function ig_es_add_sync_users_tabs( $tabs ) {
328
 
329
  // Show only if Ninja Forms is installed & activated
330
  $ninja_forms_plugin = 'ninja-forms/ninja-forms.php';
331
- if ( in_array( $ninja_forms_plugin, $active_plugins ) ) {
332
  $tabs['ninja_forms'] = array(
333
  'name' => __( 'Ninja Forms', 'email-subscribers' ),
334
  'indicator_option' => 'ig_es_show_sync_ninja_forms_users_indicator',
@@ -338,7 +339,7 @@ function ig_es_add_sync_users_tabs( $tabs ) {
338
 
339
  // Show only if EDD is installed & activated
340
  $edd_plugin = 'easy-digital-downloads/easy-digital-downloads.php';
341
- if ( in_array( $edd_plugin, $active_plugins ) ) {
342
  $tabs['edd'] = array(
343
  'name' => __( 'EDD', 'email-subscribers' ),
344
  'indicator_option' => 'ig_es_show_sync_edd_users_indicator',
289
 
290
  // Is WooCommmerce active? Show WooCommerce integration
291
  $active_plugins = $ig_es_tracker::get_active_plugins();
292
+ if ( in_array( $woocommerce_plugin, $active_plugins, true ) ) {
293
  $tabs['woocommerce'] = array(
294
  'name' => __( 'WooCommerce', 'email-subscribers' ),
295
  'indicator_option' => 'ig_es_show_sync_woocommerce_users_indicator',
299
 
300
  // Is Contact Form 7 active? Show CF7 integration.
301
  $contact_form_7 = 'contact-form-7/wp-contact-form-7.php';
302
+ if ( in_array( $contact_form_7, $active_plugins, true ) ) {
303
  $tabs['cf7'] = array(
304
  'name' => __( 'Contact Form 7', 'email-subscribers' ),
305
  'indicator_option' => 'ig_es_show_sync_cf7_users_indicator',
307
  );
308
  }
309
 
310
+ $wpforms_lite_plugin = 'wpforms-lite/wpforms.php';
311
+ $wpforms_plugin = 'wpforms/wpforms.php';
312
+ if ( in_array( $wpforms_lite_plugin, $active_plugins, true ) || in_array( $wpforms_plugin, $active_plugins, true ) ) {
313
  $tabs['wpforms'] = array(
314
  'name' => __( 'WPForms', 'email-subscribers' ),
315
  'indicator_option' => 'ig_es_show_sync_wpforms_users_indicator',
319
 
320
  // Show only if Give is installed & activated
321
  $give_plugin = 'give/give.php';
322
+ if ( in_array( $give_plugin, $active_plugins, true ) ) {
323
  $tabs['give'] = array(
324
  'name' => __( 'Give', 'email-subscribers' ),
325
  'indicator_option' => 'ig_es_show_sync_give_users_indicator',
329
 
330
  // Show only if Ninja Forms is installed & activated
331
  $ninja_forms_plugin = 'ninja-forms/ninja-forms.php';
332
+ if ( in_array( $ninja_forms_plugin, $active_plugins, true ) ) {
333
  $tabs['ninja_forms'] = array(
334
  'name' => __( 'Ninja Forms', 'email-subscribers' ),
335
  'indicator_option' => 'ig_es_show_sync_ninja_forms_users_indicator',
339
 
340
  // Show only if EDD is installed & activated
341
  $edd_plugin = 'easy-digital-downloads/easy-digital-downloads.php';
342
+ if ( in_array( $edd_plugin, $active_plugins, true ) ) {
343
  $tabs['edd'] = array(
344
  'name' => __( 'EDD', 'email-subscribers' ),
345
  'indicator_option' => 'ig_es_show_sync_edd_users_indicator',
readme.txt CHANGED
@@ -4,9 +4,9 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Author URI: https://www.icegram.com/
5
  Tags: email marketing, subscription, autoresponder, post notification, welcome email
6
  Requires at least: 3.9
7
- Tested up to: 5.5
8
  Requires PHP: 5.6
9
- Stable tag: 4.5.4
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses
12
 
@@ -304,6 +304,12 @@ Refer [here](https://www.icegram.com/documentation/es-faq/).
304
 
305
  == Changelog ==
306
 
 
 
 
 
 
 
307
  **4.5.4 (27.08.2020)**
308
 
309
  * Update: Compatible with WordPress 5.5
4
  Author URI: https://www.icegram.com/
5
  Tags: email marketing, subscription, autoresponder, post notification, welcome email
6
  Requires at least: 3.9
7
+ Tested up to: 5.5.1
8
  Requires PHP: 5.6
9
+ Stable tag: 4.5.5
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses
12
 
304
 
305
  == Changelog ==
306
 
307
+ **4.5.5 (02.09.2020)**
308
+
309
+ * Update: Improve onboarding
310
+ * New: Sync name field value from WP Form [PRO]
311
+ * Fix: WP Form workflow related issue [PRO]
312
+
313
  **4.5.4 (27.08.2020)**
314
 
315
  * Update: Compatible with WordPress 5.5