Version Description
(26.03.2019) = * New : Added "Add to List" option to the bulk actions of contacts * New : Link contacts from list view * Update: Additional security check while opt-in and unsubscription * Fix : PHP Fatal error: Cannot redeclare temp_filter_category()
Download this release
Release Info
Developer | Icegram |
Plugin | Email Subscribers & Newsletters |
Version | 4.0.11 |
Comparing to | |
See all releases |
Code changes from version 4.0.10 to 4.0.11
- admin/js/email-subscribers-admin.js +1 -1
- email-subscribers.php +2 -2
- includes/admin/class-es-lists-table.php +15 -4
- includes/admin/class-es-reports-table.php +12 -6
- includes/admin/class-es-subscribers-table.php +25 -3
- includes/admin/class-es-templates-table.php +10 -8
- includes/admin/class-es-tools.php +12 -12
- includes/class-es-common.php +4 -0
- includes/class-es-install.php +10 -26
- includes/class-es-mailer.php +10 -6
- includes/db/class-es-db-campaigns.php +40 -7
- includes/db/class-es-db-contacts.php +81 -10
- includes/db/class-es-db-notifications.php +10 -0
- includes/upgrade/es-update-functions.php +17 -3
- languages/email-subscribers.pot +268 -248
- public/class-email-subscribers-public.php +36 -31
- public/partials/class-es-shortcode.php +2 -2
- readme.txt +8 -2
admin/js/email-subscribers-admin.js
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
// jQuery(".es-audience-view .bulkactions #bulk-action-selector-bottom").after(groupselect);
|
39 |
|
40 |
jQuery("#bulk-action-selector-top").change(function () {
|
41 |
-
if (jQuery('option:selected', this).attr('value') == 'bulk_list_update') {
|
42 |
jQuery('.groupsselect').eq(1).show();
|
43 |
jQuery('.statusesselect').eq(1).hide();
|
44 |
} else if (jQuery('option:selected', this).attr('value') == 'bulk_status_update') {
|
38 |
// jQuery(".es-audience-view .bulkactions #bulk-action-selector-bottom").after(groupselect);
|
39 |
|
40 |
jQuery("#bulk-action-selector-top").change(function () {
|
41 |
+
if (jQuery('option:selected', this).attr('value') == 'bulk_list_update' || jQuery('option:selected', this).attr('value') == 'bulk_list_add' ) {
|
42 |
jQuery('.groupsselect').eq(1).show();
|
43 |
jQuery('.statusesselect').eq(1).hide();
|
44 |
} else if (jQuery('option:selected', this).attr('value') == 'bulk_status_update') {
|
email-subscribers.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Email Subscribers & Newsletters
|
4 |
* Plugin URI: https://www.icegram.com/
|
5 |
* Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
|
6 |
-
* Version: 4.0.
|
7 |
* Author: Icegram
|
8 |
* Author URI: https://www.icegram.com/
|
9 |
* Requires at least: 3.9
|
@@ -24,7 +24,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
24 |
* Define constants
|
25 |
*/
|
26 |
define( 'ES_PLUGIN_DIR', dirname( __FILE__ ) );
|
27 |
-
define( 'ES_PLUGIN_VERSION', '4.0.
|
28 |
define( 'ES_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
|
29 |
|
30 |
if ( ! defined( 'ES_PLUGIN_FILE' ) ) {
|
3 |
* Plugin Name: Email Subscribers & Newsletters
|
4 |
* Plugin URI: https://www.icegram.com/
|
5 |
* Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
|
6 |
+
* Version: 4.0.11
|
7 |
* Author: Icegram
|
8 |
* Author URI: https://www.icegram.com/
|
9 |
* Requires at least: 3.9
|
24 |
* Define constants
|
25 |
*/
|
26 |
define( 'ES_PLUGIN_DIR', dirname( __FILE__ ) );
|
27 |
+
define( 'ES_PLUGIN_VERSION', '4.0.11' );
|
28 |
define( 'ES_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
|
29 |
|
30 |
if ( ! defined( 'ES_PLUGIN_FILE' ) ) {
|
includes/admin/class-es-lists-table.php
CHANGED
@@ -360,14 +360,25 @@ class ES_Lists_Table extends WP_List_Table {
|
|
360 |
* @return mixed
|
361 |
*/
|
362 |
public function column_default( $item, $column_name ) {
|
363 |
-
switch ( $column_name ) {
|
364 |
-
|
365 |
|
|
|
366 |
case 'active_contacts':
|
367 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
break;
|
369 |
case 'all_contacts':
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
break;
|
372 |
case 'created_at':
|
373 |
return ig_es_format_date_time( $item[ $column_name ] );
|
360 |
* @return mixed
|
361 |
*/
|
362 |
public function column_default( $item, $column_name ) {
|
|
|
|
|
363 |
|
364 |
+
switch ( $column_name ) {
|
365 |
case 'active_contacts':
|
366 |
+
$count = ES_DB_Lists_Contacts::get_total_count_by_list( $item['id'], 'active' );
|
367 |
+
if($count > 0) {
|
368 |
+
$url = admin_url('admin.php?page=es_subscribers&filter_by_status=subscribed&filter_by_list_id=' . $item['id']);
|
369 |
+
$count = sprintf(__('<a href="%s" target="_blank">%d</a>', 'email-subscribers'), $url, $count);
|
370 |
+
}
|
371 |
+
|
372 |
+
return $count;
|
373 |
break;
|
374 |
case 'all_contacts':
|
375 |
+
$count = ES_DB_Lists_Contacts::get_total_count_by_list( $item['id'], 'all' );
|
376 |
+
if($count > 0) {
|
377 |
+
$url = admin_url('admin.php?page=es_subscribers&filter_by_list_id=' . $item['id']);
|
378 |
+
$count = sprintf(__('<a href="%s" target="_blank">%d</a>', 'email-subscribers'), $url, $count);
|
379 |
+
}
|
380 |
+
|
381 |
+
return $count;
|
382 |
break;
|
383 |
case 'created_at':
|
384 |
return ig_es_format_date_time( $item[ $column_name ] );
|
includes/admin/class-es-reports-table.php
CHANGED
@@ -42,13 +42,13 @@ class ES_Reports_Table extends WP_List_Table {
|
|
42 |
<div class="wrap">
|
43 |
<h1 class="wp-heading-inline"><?php _e( 'Reports', 'email-subscribers' ); ?></h1>
|
44 |
<?php
|
45 |
-
|
46 |
if ( $emails_to_be_sent > 0 ) {
|
47 |
$cron_url = ES_Common::get_cron_url( true );
|
48 |
$content = sprintf( __( "<a href='%s' target='_blank' class='page-title-action es-imp-button'>Send Queued Emails Now</a>", 'email-subscribers' ), $cron_url );
|
49 |
} else {
|
50 |
-
$content
|
51 |
-
$content
|
52 |
}
|
53 |
?>
|
54 |
|
@@ -183,8 +183,14 @@ class ES_Reports_Table extends WP_List_Table {
|
|
183 |
case 'finish_at':
|
184 |
return ig_es_format_date_time( $item[ $column_name ] );
|
185 |
case 'type':
|
186 |
-
|
187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
$type = ucwords( str_replace( '_', ' ', $type ) );
|
189 |
|
190 |
return $type;
|
@@ -338,7 +344,7 @@ class ES_Reports_Table extends WP_List_Table {
|
|
338 |
/** Process bulk action */
|
339 |
$this->process_bulk_action();
|
340 |
|
341 |
-
$per_page = $this->get_items_per_page( 'reports_per_page',
|
342 |
$current_page = $this->get_pagenum();
|
343 |
$total_items = ES_DB_Mailing_Queue::get_notifications_count();
|
344 |
|
42 |
<div class="wrap">
|
43 |
<h1 class="wp-heading-inline"><?php _e( 'Reports', 'email-subscribers' ); ?></h1>
|
44 |
<?php
|
45 |
+
$emails_to_be_sent = ES_DB_Sending_Queue::get_total_emails_to_be_sent();
|
46 |
if ( $emails_to_be_sent > 0 ) {
|
47 |
$cron_url = ES_Common::get_cron_url( true );
|
48 |
$content = sprintf( __( "<a href='%s' target='_blank' class='page-title-action es-imp-button'>Send Queued Emails Now</a>", 'email-subscribers' ), $cron_url );
|
49 |
} else {
|
50 |
+
$content = sprintf( __( "<span class='page-title-action button-disabled'>Send Queued Emails Now</span>", 'email-subscribers' ) );
|
51 |
+
$content .= sprintf( __( "<br /><span class='es-helper'>No emails found in queue</span>", 'email-subscribers' ) );
|
52 |
}
|
53 |
?>
|
54 |
|
183 |
case 'finish_at':
|
184 |
return ig_es_format_date_time( $item[ $column_name ] );
|
185 |
case 'type':
|
186 |
+
if ( empty( $item['campaign_id'] ) ) {
|
187 |
+
$type = __('Post Notification', 'email-subscribers');
|
188 |
+
} else {
|
189 |
+
$type = ES_DB_Campaigns::get_campaign_type_by_id( $item['campaign_id'] );
|
190 |
+
$type = strtolower( $type );
|
191 |
+
$type = ( 'newsletter' === $type ) ? __( 'Broadcast', 'email-subscribers' ) : $type;
|
192 |
+
}
|
193 |
+
|
194 |
$type = ucwords( str_replace( '_', ' ', $type ) );
|
195 |
|
196 |
return $type;
|
344 |
/** Process bulk action */
|
345 |
$this->process_bulk_action();
|
346 |
|
347 |
+
$per_page = $this->get_items_per_page( 'reports_per_page', 20 );
|
348 |
$current_page = $this->get_pagenum();
|
349 |
$total_items = ES_DB_Mailing_Queue::get_notifications_count();
|
350 |
|
includes/admin/class-es-subscribers-table.php
CHANGED
@@ -581,6 +581,7 @@ class ES_Subscribers_Table extends WP_List_Table {
|
|
581 |
$actions = array(
|
582 |
'bulk_delete' => __( 'Delete', 'email-subscribers' ),
|
583 |
'bulk_list_update' => __( 'Move To List', 'email-subscribers' ),
|
|
|
584 |
'bulk_status_update' => __( 'Change Status', 'email-subscribers' )
|
585 |
);
|
586 |
|
@@ -623,7 +624,7 @@ class ES_Subscribers_Table extends WP_List_Table {
|
|
623 |
$this->edit_group();
|
624 |
$this->edit_status();
|
625 |
|
626 |
-
$per_page = $this->get_items_per_page( '
|
627 |
$current_page = $this->get_pagenum();
|
628 |
$total_items = $this->get_subscribers( 0, 0, true );
|
629 |
|
@@ -632,6 +633,7 @@ class ES_Subscribers_Table extends WP_List_Table {
|
|
632 |
'per_page' => $per_page //WE have to determine how many items to show on a page
|
633 |
) );
|
634 |
|
|
|
635 |
$this->items = $this->get_subscribers( $per_page, $current_page );
|
636 |
}
|
637 |
|
@@ -724,7 +726,7 @@ class ES_Subscribers_Table extends WP_List_Table {
|
|
724 |
$action = Email_Subscribers::get_request( 'action' );
|
725 |
$action2 = Email_Subscribers::get_request( 'action2' );
|
726 |
|
727 |
-
$actions = array( 'bulk_delete', 'bulk_status_update', 'bulk_list_update' );
|
728 |
if ( in_array( $action, $actions ) || in_array( $action2, $actions ) ) {
|
729 |
|
730 |
$subscriber_ids = esc_sql( Email_Subscribers::get_request( 'subscribers' ) );
|
@@ -779,7 +781,7 @@ class ES_Subscribers_Table extends WP_List_Table {
|
|
779 |
return;
|
780 |
}
|
781 |
|
782 |
-
$edited = ES_DB_Contacts::
|
783 |
|
784 |
if ( $edited ) {
|
785 |
$message = __( 'Contact(s) have been moved to list successfully!', 'email-subscribers' );
|
@@ -788,6 +790,26 @@ class ES_Subscribers_Table extends WP_List_Table {
|
|
788 |
|
789 |
return;
|
790 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
791 |
}
|
792 |
}
|
793 |
|
581 |
$actions = array(
|
582 |
'bulk_delete' => __( 'Delete', 'email-subscribers' ),
|
583 |
'bulk_list_update' => __( 'Move To List', 'email-subscribers' ),
|
584 |
+
'bulk_list_add' => __( 'Add To List', 'email-subscribers' ),
|
585 |
'bulk_status_update' => __( 'Change Status', 'email-subscribers' )
|
586 |
);
|
587 |
|
624 |
$this->edit_group();
|
625 |
$this->edit_status();
|
626 |
|
627 |
+
$per_page = $this->get_items_per_page( 'contacts_per_page', 200 );
|
628 |
$current_page = $this->get_pagenum();
|
629 |
$total_items = $this->get_subscribers( 0, 0, true );
|
630 |
|
633 |
'per_page' => $per_page //WE have to determine how many items to show on a page
|
634 |
) );
|
635 |
|
636 |
+
|
637 |
$this->items = $this->get_subscribers( $per_page, $current_page );
|
638 |
}
|
639 |
|
726 |
$action = Email_Subscribers::get_request( 'action' );
|
727 |
$action2 = Email_Subscribers::get_request( 'action2' );
|
728 |
|
729 |
+
$actions = array( 'bulk_delete', 'bulk_status_update', 'bulk_list_update', 'bulk_list_add' );
|
730 |
if ( in_array( $action, $actions ) || in_array( $action2, $actions ) ) {
|
731 |
|
732 |
$subscriber_ids = esc_sql( Email_Subscribers::get_request( 'subscribers' ) );
|
781 |
return;
|
782 |
}
|
783 |
|
784 |
+
$edited = ES_DB_Contacts::update_contacts_list( $subscriber_ids, $list_id );
|
785 |
|
786 |
if ( $edited ) {
|
787 |
$message = __( 'Contact(s) have been moved to list successfully!', 'email-subscribers' );
|
790 |
|
791 |
return;
|
792 |
}
|
793 |
+
|
794 |
+
if ( ( 'bulk_list_add' === $action ) || ( 'bulk_list_add' === $action2 ) ) {
|
795 |
+
|
796 |
+
$list_id = Email_Subscribers::get_request( 'list_id' );
|
797 |
+
if ( empty( $list_id ) ) {
|
798 |
+
$message = __( 'Please select list.', 'email-subscribers' );
|
799 |
+
$this->show_message( $message, 'error' );
|
800 |
+
|
801 |
+
return;
|
802 |
+
}
|
803 |
+
|
804 |
+
$edited = ES_DB_Contacts::add_contacts_to_list( $subscriber_ids, $list_id );
|
805 |
+
|
806 |
+
if ( $edited ) {
|
807 |
+
$message = __( 'Contact(s) have been added to list successfully!', 'email-subscribers' );
|
808 |
+
$this->show_message( $message, 'success' );
|
809 |
+
}
|
810 |
+
|
811 |
+
return;
|
812 |
+
}
|
813 |
}
|
814 |
}
|
815 |
|
includes/admin/class-es-templates-table.php
CHANGED
@@ -15,7 +15,7 @@ class ES_Templates_Table {
|
|
15 |
add_action( 'post_submitbox_misc_actions', array( $this, 'preview_button' ) );
|
16 |
add_filter( 'manage_edit-es_template_columns', array( $this, 'add_new_columns' ), 10, 1 );
|
17 |
add_action( 'manage_posts_custom_column', array( $this, 'custom_columns' ) );
|
18 |
-
add_action('admin_footer', array( $this, 'add_custom_button' ) );
|
19 |
}
|
20 |
|
21 |
public function es_template_meta_box_add() {
|
@@ -36,8 +36,8 @@ class ES_Templates_Table {
|
|
36 |
<p>
|
37 |
<label for="es_template_type"><? _e( 'Select your Email Template Type', 'email-subscirbers' ); ?></label>
|
38 |
<select name="es_template_type" id="es_template_type">
|
39 |
-
<option value="newsletter" <?php selected( $selected, 'newsletter' ); ?>><?php _e('Broadcast'
|
40 |
-
<option value="post_notification" <?php selected( $selected, 'post_notification' ); ?>><?php _e('Post Notification'
|
41 |
</select>
|
42 |
</p>
|
43 |
|
@@ -170,7 +170,7 @@ class ES_Templates_Table {
|
|
170 |
<p>
|
171 |
This is how your email may look.<br><br>Note: Different email services (like gmail, yahoo etc) display email content differently. So there could be a slight variation on how your customer will view the email content. </p>
|
172 |
</div>
|
173 |
-
<div class="es-preview">'. $es_template_body . '</div>
|
174 |
<div style="clear:both;"></div>
|
175 |
</div>
|
176 |
<div style="clear:both;"></div>
|
@@ -207,7 +207,8 @@ class ES_Templates_Table {
|
|
207 |
switch ( $column ) {
|
208 |
case 'es_template_type':
|
209 |
$type = get_post_meta( $post->ID, 'es_template_type', true );
|
210 |
-
$type = ( $type
|
|
|
211 |
echo $type = ucwords( str_replace( '_', ' ', $type ) );
|
212 |
break;
|
213 |
case 'es_template_thumbnail' :
|
@@ -229,7 +230,8 @@ class ES_Templates_Table {
|
|
229 |
}
|
230 |
|
231 |
}
|
232 |
-
|
233 |
-
add_action( 'plugins_loaded', function () {
|
234 |
ES_Templates_Table::get_instance();
|
235 |
-
}
|
|
|
|
15 |
add_action( 'post_submitbox_misc_actions', array( $this, 'preview_button' ) );
|
16 |
add_filter( 'manage_edit-es_template_columns', array( $this, 'add_new_columns' ), 10, 1 );
|
17 |
add_action( 'manage_posts_custom_column', array( $this, 'custom_columns' ) );
|
18 |
+
add_action( 'admin_footer', array( $this, 'add_custom_button' ) );
|
19 |
}
|
20 |
|
21 |
public function es_template_meta_box_add() {
|
36 |
<p>
|
37 |
<label for="es_template_type"><? _e( 'Select your Email Template Type', 'email-subscirbers' ); ?></label>
|
38 |
<select name="es_template_type" id="es_template_type">
|
39 |
+
<option value="newsletter" <?php selected( $selected, 'newsletter' ); ?>><?php _e( 'Broadcast', 'email-subscribers' ) ?></option>
|
40 |
+
<option value="post_notification" <?php selected( $selected, 'post_notification' ); ?>><?php _e( 'Post Notification', 'email-subscribers' ) ?></option>
|
41 |
</select>
|
42 |
</p>
|
43 |
|
170 |
<p>
|
171 |
This is how your email may look.<br><br>Note: Different email services (like gmail, yahoo etc) display email content differently. So there could be a slight variation on how your customer will view the email content. </p>
|
172 |
</div>
|
173 |
+
<div class="es-preview">' . $es_template_body . '</div>
|
174 |
<div style="clear:both;"></div>
|
175 |
</div>
|
176 |
<div style="clear:both;"></div>
|
207 |
switch ( $column ) {
|
208 |
case 'es_template_type':
|
209 |
$type = get_post_meta( $post->ID, 'es_template_type', true );
|
210 |
+
$type = strtolower( $type );
|
211 |
+
$type = ( 'newsletter' === $type ) ? __( 'Broadcast', 'email-subscribers' ) : $type;
|
212 |
echo $type = ucwords( str_replace( '_', ' ', $type ) );
|
213 |
break;
|
214 |
case 'es_template_thumbnail' :
|
230 |
}
|
231 |
|
232 |
}
|
233 |
+
function get_template_instance(){
|
|
|
234 |
ES_Templates_Table::get_instance();
|
235 |
+
}
|
236 |
+
|
237 |
+
add_action( 'plugins_loaded', 'get_template_instance' );
|
includes/admin/class-es-tools.php
CHANGED
@@ -14,7 +14,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @subpackage Email_Subscribers/admin
|
15 |
* @author Your Name <email@example.com>
|
16 |
*/
|
17 |
-
|
18 |
class ES_Tools {
|
19 |
// class instance
|
20 |
static $instance;
|
@@ -51,16 +50,16 @@ class ES_Tools {
|
|
51 |
|
52 |
if ( empty( $es_test_email ) ) {
|
53 |
$message = __( 'Please add email', 'email-subscribers' );
|
54 |
-
$status
|
55 |
} else {
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
$status
|
63 |
-
|
64 |
|
65 |
$this->show_message( $message, $status );
|
66 |
}
|
@@ -155,7 +154,9 @@ class ES_Tools {
|
|
155 |
|
156 |
public static function es_send_test_email_callback( $data ) {
|
157 |
|
158 |
-
$email
|
|
|
|
|
159 |
if ( ! empty( $email ) ) {
|
160 |
$subject = 'Email Subscribers: ' . sprintf( esc_html__( 'Test email to %s', 'email-subscribers' ), $email );
|
161 |
$content = "This email was generated by the Email Subscribers WordPress plugin.";
|
@@ -163,7 +164,6 @@ class ES_Tools {
|
|
163 |
}
|
164 |
|
165 |
return $email_response;
|
166 |
-
|
167 |
}
|
168 |
|
169 |
public function show_message( $message = '', $status = 'success' ) {
|
14 |
* @subpackage Email_Subscribers/admin
|
15 |
* @author Your Name <email@example.com>
|
16 |
*/
|
|
|
17 |
class ES_Tools {
|
18 |
// class instance
|
19 |
static $instance;
|
50 |
|
51 |
if ( empty( $es_test_email ) ) {
|
52 |
$message = __( 'Please add email', 'email-subscribers' );
|
53 |
+
$status = 'error';
|
54 |
} else {
|
55 |
+
$data = array(
|
56 |
+
'es_test_email' => $es_test_email,
|
57 |
+
);
|
58 |
+
//Todo:: handle errors;
|
59 |
+
$email_response = self::es_send_test_email_callback( $data );
|
60 |
+
$message = __( 'Email has been sent. Please check your inbox' );
|
61 |
+
$status = 'success';
|
62 |
+
}
|
63 |
|
64 |
$this->show_message( $message, $status );
|
65 |
}
|
154 |
|
155 |
public static function es_send_test_email_callback( $data ) {
|
156 |
|
157 |
+
$email = ! empty( $data['es_test_email'] ) ? $data['es_test_email'] : '';
|
158 |
+
$email_response = '';
|
159 |
+
|
160 |
if ( ! empty( $email ) ) {
|
161 |
$subject = 'Email Subscribers: ' . sprintf( esc_html__( 'Test email to %s', 'email-subscribers' ), $email );
|
162 |
$content = "This email was generated by the Email Subscribers WordPress plugin.";
|
164 |
}
|
165 |
|
166 |
return $email_response;
|
|
|
167 |
}
|
168 |
|
169 |
public function show_message( $message = '', $status = 'success' ) {
|
includes/class-es-common.php
CHANGED
@@ -774,5 +774,9 @@ Class ES_Common {
|
|
774 |
|
775 |
}
|
776 |
|
|
|
|
|
|
|
|
|
777 |
|
778 |
}
|
774 |
|
775 |
}
|
776 |
|
777 |
+
public static function temp_filter_category( $category ) {
|
778 |
+
return trim( trim( $category, '##' ), '' );
|
779 |
+
}
|
780 |
+
|
781 |
|
782 |
}
|
includes/class-es-install.php
CHANGED
@@ -95,6 +95,12 @@ class ES_Install {
|
|
95 |
'4.0.10' => array(
|
96 |
'ig_es_update_4010_update_sending_status',
|
97 |
'ig_es_update_4010_db_version'
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
)
|
99 |
);
|
100 |
|
@@ -208,38 +214,16 @@ class ES_Install {
|
|
208 |
return is_null( get_option( 'ig_es_db_version', null ) ) && is_null( get_option( 'current_sa_email_subscribers_db_version', null ) );
|
209 |
}
|
210 |
|
211 |
-
private static function get_max_available_version() {
|
212 |
-
|
213 |
-
$updates = self::get_db_update_callbacks();
|
214 |
-
|
215 |
-
$max_version = 0;
|
216 |
-
if ( is_array( $updates ) && count( $updates ) > 0 ) {
|
217 |
-
$versions = array_keys( $updates );
|
218 |
-
foreach ( $versions as $key => $version ) {
|
219 |
-
|
220 |
-
if ( ! ( empty( $versions[ $key ] ) || empty( $versions[ $key + 1 ] ) ) ) {
|
221 |
-
|
222 |
-
if ( version_compare( $versions[ $key ], $versions[ $key + 1 ], '>' ) ) {
|
223 |
-
$max_version = $versions[ $key ];
|
224 |
-
} else {
|
225 |
-
$max_version = $versions[ $key + 1 ];
|
226 |
-
}
|
227 |
-
}
|
228 |
-
}
|
229 |
-
}
|
230 |
-
|
231 |
-
return $max_version;
|
232 |
-
}
|
233 |
-
|
234 |
private static function needs_db_update() {
|
235 |
-
|
236 |
self::$logger->info( 'Needs DB Update?......' );
|
237 |
$current_db_version = get_option( 'ig_es_db_version', '1.0.0' );
|
|
|
|
|
|
|
238 |
|
239 |
self::$logger->info( 'Current DB VERSION-------------------' . $current_db_version );
|
240 |
-
self::$logger->info( 'Max Available Version-------------------' . self::get_max_available_version() );
|
241 |
|
242 |
-
return ! is_null( $current_db_version ) && version_compare( $current_db_version,
|
243 |
}
|
244 |
|
245 |
private static function maybe_update_db_version() {
|
95 |
'4.0.10' => array(
|
96 |
'ig_es_update_4010_update_sending_status',
|
97 |
'ig_es_update_4010_db_version'
|
98 |
+
),
|
99 |
+
|
100 |
+
'4.0.11' => array(
|
101 |
+
'ig_es_update_4011_migrate_newsletter_es_template_type',
|
102 |
+
'ig_es_update_4011_update_campaign_id_in_mailing_queue',
|
103 |
+
'ig_es_update_4011_db_version'
|
104 |
)
|
105 |
);
|
106 |
|
214 |
return is_null( get_option( 'ig_es_db_version', null ) ) && is_null( get_option( 'current_sa_email_subscribers_db_version', null ) );
|
215 |
}
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
private static function needs_db_update() {
|
|
|
218 |
self::$logger->info( 'Needs DB Update?......' );
|
219 |
$current_db_version = get_option( 'ig_es_db_version', '1.0.0' );
|
220 |
+
$updates = self::get_db_update_callbacks();
|
221 |
+
$update_versions = array_keys( $updates );
|
222 |
+
usort( $update_versions, 'version_compare' );
|
223 |
|
224 |
self::$logger->info( 'Current DB VERSION-------------------' . $current_db_version );
|
|
|
225 |
|
226 |
+
return ! is_null( $current_db_version ) && version_compare( $current_db_version, end( $update_versions ), '<' );
|
227 |
}
|
228 |
|
229 |
private static function maybe_update_db_version() {
|
includes/class-es-mailer.php
CHANGED
@@ -114,7 +114,9 @@ class ES_Mailer {
|
|
114 |
$email = isset( $data['email'] ) ? $data['email'] : '';
|
115 |
$list_name = isset( $data['list_name'] ) ? $data['list_name'] : '';
|
116 |
$db_id = isset( $data['db_id'] ) ? $data['db_id'] : '';
|
117 |
-
$guid
|
|
|
|
|
118 |
|
119 |
$unsubscribe_link = self::get_unsubscribe_link( $db_id, $email, $guid );
|
120 |
|
@@ -138,7 +140,9 @@ class ES_Mailer {
|
|
138 |
$subscribe_link = get_option( 'ig_es_optin_link', true );
|
139 |
|
140 |
$db_id = isset( $data['db_id'] ) ? $data['db_id'] : '';
|
141 |
-
$guid
|
|
|
|
|
142 |
$email = isset( $data['email'] ) ? $data['email'] : '';
|
143 |
$name = isset( $data['name'] ) ? $data['name'] : '';
|
144 |
|
@@ -179,12 +183,12 @@ class ES_Mailer {
|
|
179 |
$template_content = $data['content'];
|
180 |
|
181 |
$dbid = $keywords['dbid'];
|
182 |
-
$
|
|
|
183 |
$email = $keywords['email'];
|
184 |
|
185 |
-
$unsubscribe_link = self::get_unsubscribe_link( $dbid, $email, $
|
186 |
$unsubtext = self::get_unsubscribe_text( $unsubscribe_link );
|
187 |
-
|
188 |
$viewstslink = self::get_view_tracking_image( $guid, $email );
|
189 |
|
190 |
$template_content = $template_content . $unsubtext . $viewstslink;
|
@@ -259,10 +263,10 @@ class ES_Mailer {
|
|
259 |
|
260 |
public static function send( $to_email, $subject, $email_template ) {
|
261 |
|
|
|
262 |
$get_email_type = get_option( 'ig_es_email_type', true );
|
263 |
$site_title = get_bloginfo();
|
264 |
$admin_email = get_option( 'admin_email' );
|
265 |
-
|
266 |
//adding missing header
|
267 |
$from_name = get_option( 'ig_es_from_name', true );
|
268 |
$from_email = get_option( 'ig_es_from_email', true );
|
114 |
$email = isset( $data['email'] ) ? $data['email'] : '';
|
115 |
$list_name = isset( $data['list_name'] ) ? $data['list_name'] : '';
|
116 |
$db_id = isset( $data['db_id'] ) ? $data['db_id'] : '';
|
117 |
+
$guid = ES_DB_Contacts::get_contact_hash_by_id( $db_id );
|
118 |
+
// $guid = isset( $data['guid'] ) ? $data['guid'] : '';
|
119 |
+
$guid = !empty( $guid ) ? $guid : '';
|
120 |
|
121 |
$unsubscribe_link = self::get_unsubscribe_link( $db_id, $email, $guid );
|
122 |
|
140 |
$subscribe_link = get_option( 'ig_es_optin_link', true );
|
141 |
|
142 |
$db_id = isset( $data['db_id'] ) ? $data['db_id'] : '';
|
143 |
+
$guid = ES_DB_Contacts::get_contact_hash_by_id( $db_id );
|
144 |
+
// $guid = isset( $data['guid'] ) ? $data['guid'] : '';
|
145 |
+
$guid = !empty( $guid ) ? $guid : '';
|
146 |
$email = isset( $data['email'] ) ? $data['email'] : '';
|
147 |
$name = isset( $data['name'] ) ? $data['name'] : '';
|
148 |
|
183 |
$template_content = $data['content'];
|
184 |
|
185 |
$dbid = $keywords['dbid'];
|
186 |
+
$contact_guid = ES_DB_Contacts::get_contact_hash_by_id( $dbid );
|
187 |
+
$guid = $keywords['guid'];
|
188 |
$email = $keywords['email'];
|
189 |
|
190 |
+
$unsubscribe_link = self::get_unsubscribe_link( $dbid, $email, $contact_guid );
|
191 |
$unsubtext = self::get_unsubscribe_text( $unsubscribe_link );
|
|
|
192 |
$viewstslink = self::get_view_tracking_image( $guid, $email );
|
193 |
|
194 |
$template_content = $template_content . $unsubtext . $viewstslink;
|
263 |
|
264 |
public static function send( $to_email, $subject, $email_template ) {
|
265 |
|
266 |
+
$subject = html_entity_decode( $subject, ENT_COMPAT, get_bloginfo( 'charset' ) );
|
267 |
$get_email_type = get_option( 'ig_es_email_type', true );
|
268 |
$site_title = get_bloginfo();
|
269 |
$admin_email = get_option( 'admin_email' );
|
|
|
270 |
//adding missing header
|
271 |
$from_name = get_option( 'ig_es_from_name', true );
|
272 |
$from_email = get_option( 'ig_es_from_email', true );
|
includes/db/class-es-db-campaigns.php
CHANGED
@@ -160,16 +160,10 @@ class ES_DB_Campaigns {
|
|
160 |
$notifications = $wpdb->get_results( $query, ARRAY_A );
|
161 |
if ( count( $notifications ) > 0 ) {
|
162 |
foreach ( $notifications as $key => $notification ) {
|
163 |
-
|
164 |
$categories = ! empty( $notification['es_note_cat'] ) ? $notification['es_note_cat'] : '';
|
165 |
if ( ! empty( $categories ) ) {
|
166 |
$categories = explode( '--', $categories );
|
167 |
-
|
168 |
-
return trim( trim( $category, '##' ), '' );
|
169 |
-
}
|
170 |
-
|
171 |
-
$categories = array_filter( $categories, 'temp_filter_category' );
|
172 |
-
|
173 |
$categories = ES_Common::convert_categories_array_to_string( $categories );
|
174 |
}
|
175 |
|
@@ -291,7 +285,46 @@ class ES_DB_Campaigns {
|
|
291 |
}
|
292 |
}
|
293 |
}
|
|
|
294 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
}
|
296 |
|
297 |
}
|
160 |
$notifications = $wpdb->get_results( $query, ARRAY_A );
|
161 |
if ( count( $notifications ) > 0 ) {
|
162 |
foreach ( $notifications as $key => $notification ) {
|
|
|
163 |
$categories = ! empty( $notification['es_note_cat'] ) ? $notification['es_note_cat'] : '';
|
164 |
if ( ! empty( $categories ) ) {
|
165 |
$categories = explode( '--', $categories );
|
166 |
+
$categories = array_filter( $categories, array( 'ES_Common', 'temp_filter_category' ) );
|
|
|
|
|
|
|
|
|
|
|
167 |
$categories = ES_Common::convert_categories_array_to_string( $categories );
|
168 |
}
|
169 |
|
285 |
}
|
286 |
}
|
287 |
}
|
288 |
+
}
|
289 |
|
290 |
+
/**
|
291 |
+
* After migration we are not able to get the campaign_id in mailing queue
|
292 |
+
* table. So, we are fetching it now and set campaign_id based on subject match.
|
293 |
+
* If not match, set as 0.
|
294 |
+
*/
|
295 |
+
public static function update_campaign_id_in_mailing_queue() {
|
296 |
+
global $wpdb;
|
297 |
+
|
298 |
+
$sql = "SELECT id, name FROM {$wpdb->prefix}ig_campaigns";
|
299 |
+
$campaigns = $wpdb->get_results( $sql, ARRAY_A );
|
300 |
+
|
301 |
+
$data_to_update = array();
|
302 |
+
if ( count( $campaigns ) > 0 ) {
|
303 |
+
$sql = "SELECT * FROM {$wpdb->prefix}ig_mailing_queue";
|
304 |
+
$mailing_queue_results = $wpdb->get_results( $sql, ARRAY_A );
|
305 |
+
if ( count( $mailing_queue_results ) > 0 ) {
|
306 |
+
foreach ( $mailing_queue_results as $result ) {
|
307 |
+
$subject = trim( $result['subject'] );
|
308 |
+
foreach ( $campaigns as $campaign ) {
|
309 |
+
$campaign_name = trim( $campaign['name'] );
|
310 |
+
if ( $campaign_name == $subject ) {
|
311 |
+
$data_to_update[ $result['id'] ] = $campaign['id'];
|
312 |
+
break;
|
313 |
+
}
|
314 |
+
}
|
315 |
+
|
316 |
+
}
|
317 |
+
}
|
318 |
+
|
319 |
+
}
|
320 |
+
|
321 |
+
if ( ! empty( $data_to_update ) ) {
|
322 |
+
foreach ( $data_to_update as $mailing_queue_id => $campaign_id ) {
|
323 |
+
$sql = "UPDATE {$wpdb->prefix}ig_mailing_queue SET campaign_id = %d WHERE id = %d";
|
324 |
+
$query = $wpdb->prepare( $sql, array( $campaign_id, $mailing_queue_id ) );
|
325 |
+
$wpdb->query( $query );
|
326 |
+
}
|
327 |
+
}
|
328 |
}
|
329 |
|
330 |
}
|
includes/db/class-es-db-contacts.php
CHANGED
@@ -99,8 +99,24 @@ class ES_DB_Contacts {
|
|
99 |
|
100 |
}
|
101 |
|
102 |
-
public static function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
|
106 |
public static function search_subscriber( $id = '', $email = '' ) {
|
@@ -165,15 +181,65 @@ class ES_DB_Contacts {
|
|
165 |
return $wpdb->query( $query_2 );
|
166 |
}
|
167 |
|
168 |
-
public static function
|
169 |
global $wpdb;
|
170 |
|
171 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
-
|
174 |
-
|
175 |
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
|
179 |
public static function edit_subscriber_status( $ids, $status ) {
|
@@ -184,11 +250,15 @@ class ES_DB_Contacts {
|
|
184 |
$current_date = ig_get_current_date_time();
|
185 |
|
186 |
if ( 'subscribed' === $status ) {
|
187 |
-
$sql
|
|
|
188 |
} elseif ( 'unsubscribed' === $status ) {
|
189 |
-
$sql
|
|
|
|
|
|
|
|
|
190 |
}
|
191 |
-
$query = $wpdb->prepare( $sql, array( $status, $current_date ) );
|
192 |
|
193 |
return $wpdb->query( $query );
|
194 |
|
@@ -373,6 +443,7 @@ class ES_DB_Contacts {
|
|
373 |
if ( ! is_array( $emails ) ) {
|
374 |
$emails = array();
|
375 |
}
|
|
|
376 |
// Import subscribers into batch of 100
|
377 |
$batch_size = IG_DEFAULT_BATCH_SIZE;
|
378 |
$total_bataches = ( $total > IG_DEFAULT_BATCH_SIZE ) ? ceil( $total / $batch_size ) : 1;
|
@@ -400,7 +471,7 @@ class ES_DB_Contacts {
|
|
400 |
$names = ES_Common::prepare_first_name_last_name( $result['es_email_name'] );
|
401 |
} else {
|
402 |
$name = ES_Common::get_name_from_email( $email );
|
403 |
-
|
404 |
$names['first_name'] = $name;
|
405 |
}
|
406 |
|
99 |
|
100 |
}
|
101 |
|
102 |
+
public static function get_contact_hash_by_id( $id ) {
|
103 |
+
global $wpdb;
|
104 |
+
|
105 |
+
$query = "SELECT hash FROM " . IG_CONTACTS_TABLE . " WHERE id = %d";
|
106 |
+
$sql = $wpdb->prepare( $query, $id );
|
107 |
+
$contact_hash = $wpdb->get_col( $sql );
|
108 |
+
|
109 |
+
return $contact_hash[0];
|
110 |
+
}
|
111 |
|
112 |
+
public static function check_contact( $id = '', $email = '' ) {
|
113 |
+
global $wpdb;
|
114 |
+
|
115 |
+
$query = "SELECT count(*) FROM " . IG_CONTACTS_TABLE . " WHERE id = %d AND email = %s";
|
116 |
+
$sql = $wpdb->prepare( $query, $id, $email );
|
117 |
+
$contact_count = $wpdb->get_var( $sql );
|
118 |
+
|
119 |
+
return $contact_count;
|
120 |
}
|
121 |
|
122 |
public static function search_subscriber( $id = '', $email = '' ) {
|
181 |
return $wpdb->query( $query_2 );
|
182 |
}
|
183 |
|
184 |
+
public static function update_contacts_list( $ids, $list_id ) {
|
185 |
global $wpdb;
|
186 |
|
187 |
+
$ids_str = implode( ',', array_map( 'absint', $ids ) );
|
188 |
+
//delete all list contact entry
|
189 |
+
$del_query = "DELETE FROM " . IG_LISTS_CONTACTS_TABLE . " WHERE contact_id IN ($ids_str) ";
|
190 |
+
$wpdb->query( $del_query );
|
191 |
+
|
192 |
+
$values = array();
|
193 |
+
$optin_type_option = get_option( 'ig_es_optin_type', true );
|
194 |
+
$optin_type = 1;
|
195 |
+
if ( in_array( $optin_type_option, array( 'double_opt_in', 'double_optin' ) ) ) {
|
196 |
+
$optin_type = 2;
|
197 |
+
}
|
198 |
+
$subscribed_at = ig_get_current_date_time();
|
199 |
+
$subscribed_ip = '';
|
200 |
+
foreach ( $ids as $contact_id ) {
|
201 |
+
array_push( $values, $list_id, $contact_id, 'subscribed', $optin_type, $subscribed_at, $subscribed_ip );
|
202 |
+
$place_holders[] = "( %d, %d, %s, %s, %s, %s )"; /* In my case, i know they will always be integers */
|
203 |
+
}
|
204 |
+
$query = "INSERT INTO " . IG_LISTS_CONTACTS_TABLE . " (`list_id`, `contact_id`, `status`, `optin_type`, `subscribed_at`, `subscribed_ip` ) VALUES ";
|
205 |
+
$query .= implode( ', ', $place_holders );
|
206 |
+
$sql = $wpdb->prepare( "$query ", $values );
|
207 |
+
if ( $wpdb->query( $sql ) ) {
|
208 |
+
return true;
|
209 |
+
} else {
|
210 |
+
return false;
|
211 |
+
}
|
212 |
+
}
|
213 |
|
214 |
+
public static function add_contacts_to_list( $ids, $list_id ) {
|
215 |
+
global $wpdb;
|
216 |
|
217 |
+
$ids_str = implode( ',', array_map( 'absint', $ids ) );
|
218 |
+
|
219 |
+
$delete_list_contact = "DELETE FROM " . IG_LISTS_CONTACTS_TABLE . " WHERE contact_id IN ($ids_str) AND list_id = %s";
|
220 |
+
$del_query = $wpdb->prepare( $delete_list_contact, array( $list_id ) );
|
221 |
+
$wpdb->query( $del_query );
|
222 |
+
|
223 |
+
$values = array();
|
224 |
+
$optin_type_option = get_option( 'ig_es_optin_type', true );
|
225 |
+
$optin_type = 1;
|
226 |
+
if ( in_array( $optin_type_option, array( 'double_opt_in', 'double_optin' ) ) ) {
|
227 |
+
$optin_type = 2;
|
228 |
+
}
|
229 |
+
$subscribed_at = ig_get_current_date_time();
|
230 |
+
$subscribed_ip = '';
|
231 |
+
foreach ( $ids as $contact_id ) {
|
232 |
+
array_push( $values, $list_id, $contact_id, 'subscribed', $optin_type, $subscribed_at, $subscribed_ip );
|
233 |
+
$place_holders[] = "( %d, %d, %s, %s, %s, %s )"; /* In my case, i know they will always be integers */
|
234 |
+
}
|
235 |
+
$query = "INSERT INTO " . IG_LISTS_CONTACTS_TABLE . " (`list_id`, `contact_id`, `status`, `optin_type`, `subscribed_at`, `subscribed_ip` ) VALUES ";
|
236 |
+
$query .= implode( ', ', $place_holders );
|
237 |
+
$sql = $wpdb->prepare( "$query ", $values );
|
238 |
+
if ( $wpdb->query( $sql ) ) {
|
239 |
+
return true;
|
240 |
+
} else {
|
241 |
+
return false;
|
242 |
+
}
|
243 |
}
|
244 |
|
245 |
public static function edit_subscriber_status( $ids, $status ) {
|
250 |
$current_date = ig_get_current_date_time();
|
251 |
|
252 |
if ( 'subscribed' === $status ) {
|
253 |
+
$sql = "UPDATE " . IG_LISTS_CONTACTS_TABLE . " SET status = %s, subscribed_at = %s WHERE contact_id IN ($ids)";
|
254 |
+
$query = $wpdb->prepare( $sql, array( $status, $current_date ) );
|
255 |
} elseif ( 'unsubscribed' === $status ) {
|
256 |
+
$sql = "UPDATE " . IG_LISTS_CONTACTS_TABLE . " SET status = %s, unsubscribed_at = %s WHERE contact_id IN ($ids)";
|
257 |
+
$query = $wpdb->prepare( $sql, array( $status, $current_date ) );
|
258 |
+
} elseif ( 'unconfirmed' === $status ) {
|
259 |
+
$sql = "UPDATE " . IG_LISTS_CONTACTS_TABLE . " SET status = %s, optin_type = %d, subscribed_at = NULL, unsubscribed_at = NULL WHERE contact_id IN ($ids)";
|
260 |
+
$query = $wpdb->prepare( $sql, array( $status, IG_DOUBLE_OPTIN ) );
|
261 |
}
|
|
|
262 |
|
263 |
return $wpdb->query( $query );
|
264 |
|
443 |
if ( ! is_array( $emails ) ) {
|
444 |
$emails = array();
|
445 |
}
|
446 |
+
|
447 |
// Import subscribers into batch of 100
|
448 |
$batch_size = IG_DEFAULT_BATCH_SIZE;
|
449 |
$total_bataches = ( $total > IG_DEFAULT_BATCH_SIZE ) ? ceil( $total / $batch_size ) : 1;
|
471 |
$names = ES_Common::prepare_first_name_last_name( $result['es_email_name'] );
|
472 |
} else {
|
473 |
$name = ES_Common::get_name_from_email( $email );
|
474 |
+
|
475 |
$names['first_name'] = $name;
|
476 |
}
|
477 |
|
includes/db/class-es-db-notifications.php
CHANGED
@@ -69,4 +69,14 @@ class ES_DB_Notifications {
|
|
69 |
return $update;
|
70 |
}
|
71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
69 |
return $update;
|
70 |
}
|
71 |
|
72 |
+
public static function migratate_newsletter_es_template_type() {
|
73 |
+
global $wpdb;
|
74 |
+
|
75 |
+
$sql = "UPDATE {$wpdb->prefix}postmeta SET meta_value = %s WHERE meta_key = %s AND meta_value = %s";
|
76 |
+
$query = $wpdb->prepare( $sql, array( 'newsletter', 'es_template_type', 'Newsletter' ) );
|
77 |
+
$update = $wpdb->query( $query );
|
78 |
+
|
79 |
+
return $update;
|
80 |
+
}
|
81 |
+
|
82 |
}
|
includes/upgrade/es-update-functions.php
CHANGED
@@ -472,9 +472,7 @@ function ig_es_update_400_migrate_subscribers() {
|
|
472 |
}
|
473 |
|
474 |
function ig_es_update_400_migrate_post_notifications() {
|
475 |
-
|
476 |
ES_DB_Campaigns::migrate_post_notifications();
|
477 |
-
|
478 |
}
|
479 |
|
480 |
|
@@ -608,4 +606,20 @@ function ig_es_update_4010_db_version() {
|
|
608 |
$db_update_option = '4010_db_updated_at';
|
609 |
ES_Common::set_ig_option( $db_update_option, ig_get_current_date_time() );
|
610 |
}
|
611 |
-
/* --------------------- ES 4.0.10(End)--------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
472 |
}
|
473 |
|
474 |
function ig_es_update_400_migrate_post_notifications() {
|
|
|
475 |
ES_DB_Campaigns::migrate_post_notifications();
|
|
|
476 |
}
|
477 |
|
478 |
|
606 |
$db_update_option = '4010_db_updated_at';
|
607 |
ES_Common::set_ig_option( $db_update_option, ig_get_current_date_time() );
|
608 |
}
|
609 |
+
/* --------------------- ES 4.0.10(End)--------------------------- */
|
610 |
+
|
611 |
+
function ig_es_update_4011_migrate_newsletter_es_template_type() {
|
612 |
+
ES_DB_Notifications::migratate_newsletter_es_template_type();
|
613 |
+
}
|
614 |
+
|
615 |
+
function ig_es_update_4011_update_campaign_id_in_mailing_queue() {
|
616 |
+
ES_DB_Campaigns::update_campaign_id_in_mailing_queue();
|
617 |
+
}
|
618 |
+
|
619 |
+
function ig_es_update_4011_db_version() {
|
620 |
+
ES_Install::update_db_version( '4.0.11' );
|
621 |
+
$db_update_option = '4011_db_updated_at';
|
622 |
+
ES_Common::set_ig_option( $db_update_option, ig_get_current_date_time() );
|
623 |
+
}
|
624 |
+
|
625 |
+
/* --------------------- ES 4.0.11(End)--------------------------- */
|
languages/email-subscribers.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Email Subscribers & Newsletters\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -29,8 +29,8 @@ msgstr ""
|
|
29 |
|
30 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:139
|
31 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/dashboard.php:84
|
32 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:66
|
33 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:290
|
|
|
34 |
msgid "Lists"
|
35 |
msgstr ""
|
36 |
|
@@ -41,9 +41,9 @@ msgstr ""
|
|
41 |
|
42 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:141
|
43 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:39
|
44 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:
|
45 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:187
|
46 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:186
|
|
|
47 |
msgid "Broadcast"
|
48 |
msgstr ""
|
49 |
|
@@ -89,9 +89,41 @@ msgstr ""
|
|
89 |
msgid "Template Preview"
|
90 |
msgstr ""
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:89
|
93 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:234
|
94 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:484
|
|
|
95 |
msgid "Subscribed"
|
96 |
msgstr ""
|
97 |
|
@@ -101,8 +133,8 @@ msgid "Unconfirmed"
|
|
101 |
msgstr ""
|
102 |
|
103 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:91
|
104 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:234
|
105 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:486
|
|
|
106 |
msgid "Unsubscribed"
|
107 |
msgstr ""
|
108 |
|
@@ -124,14 +156,14 @@ msgid "Select Status"
|
|
124 |
msgstr ""
|
125 |
|
126 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:252
|
127 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:561
|
128 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:754
|
|
|
129 |
msgid "Enable"
|
130 |
msgstr ""
|
131 |
|
132 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:253
|
133 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:562
|
134 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:755
|
|
|
135 |
msgid "Disable"
|
136 |
msgstr ""
|
137 |
|
@@ -175,38 +207,6 @@ msgstr ""
|
|
175 |
msgid "Thumbnail"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-mailer.php:101
|
179 |
-
msgid "Welcome !"
|
180 |
-
msgstr ""
|
181 |
-
|
182 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/es-backward.php:101
|
183 |
-
msgid "Confirm Your Subscription!"
|
184 |
-
msgstr ""
|
185 |
-
|
186 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:122
|
187 |
-
#, php-format
|
188 |
-
msgid ""
|
189 |
-
"WordPress Cron is disable on your site. Email notifications from Email "
|
190 |
-
"Subscribers plugin will not be sent automatically. <a href=\"%s\" "
|
191 |
-
"target=\"_blank\" >Here's how you can enable it.</a>"
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:123
|
195 |
-
#, php-format
|
196 |
-
msgid "Or schedule Cron in <a href=\"%s\" target=\"_blank\">cPanel</a>"
|
197 |
-
msgstr ""
|
198 |
-
|
199 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:124
|
200 |
-
#, php-format
|
201 |
-
msgid ""
|
202 |
-
"Or use <strong><a href=\"%s\" target=\"_blank\">Email Subscribners Pro</a>"
|
203 |
-
"</strong> for automatic Cron support"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:125
|
207 |
-
msgid "OK, I Got it!"
|
208 |
-
msgstr ""
|
209 |
-
|
210 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/class-email-subscribers-public.php:109
|
211 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:377
|
212 |
msgid "Please enter email address"
|
@@ -250,6 +250,10 @@ msgstr ""
|
|
250 |
msgid "Please try after some time"
|
251 |
msgstr ""
|
252 |
|
|
|
|
|
|
|
|
|
253 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/help.php:10
|
254 |
msgid "Help & Info"
|
255 |
msgstr ""
|
@@ -838,26 +842,26 @@ msgid "Audience > Import Contacts"
|
|
838 |
msgstr ""
|
839 |
|
840 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:207
|
841 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:103
|
842 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:70
|
843 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:54
|
844 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:120
|
|
|
|
|
845 |
msgid "Add New Contact"
|
846 |
msgstr ""
|
847 |
|
848 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:208
|
|
|
849 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:50
|
850 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:71
|
851 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:55
|
852 |
msgid "Export Contacts"
|
853 |
msgstr ""
|
854 |
|
855 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:209
|
856 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:105
|
857 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:212
|
858 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:72
|
859 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:58
|
860 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:121
|
|
|
|
|
|
|
861 |
msgid "Manage Lists"
|
862 |
msgstr ""
|
863 |
|
@@ -867,8 +871,9 @@ msgid "Please select template."
|
|
867 |
msgstr ""
|
868 |
|
869 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-newsletters.php:49
|
|
|
|
|
870 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-post-notifications.php:43
|
871 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:776
|
872 |
msgid "Please select list."
|
873 |
msgstr ""
|
874 |
|
@@ -896,6 +901,7 @@ msgid "Contacts from the selected list will be notified."
|
|
896 |
msgstr ""
|
897 |
|
898 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:40
|
|
|
899 |
msgid "Post Notification"
|
900 |
msgstr ""
|
901 |
|
@@ -916,186 +922,222 @@ msgstr ""
|
|
916 |
msgid "Template Type"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
920 |
-
msgid "
|
921 |
-
msgstr ""
|
922 |
-
|
923 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
|
924 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:110
|
925 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:315
|
926 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:357
|
927 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:393
|
928 |
-
msgid "Yes"
|
929 |
-
msgstr ""
|
930 |
-
|
931 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
|
932 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:58
|
933 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:109
|
934 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:319
|
935 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:358
|
936 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:394
|
937 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:96
|
938 |
-
msgid "No"
|
939 |
-
msgstr ""
|
940 |
-
|
941 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:27
|
942 |
-
msgid "No data available"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:59
|
946 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:21
|
947 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:107
|
|
|
948 |
msgid "Contacts"
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
952 |
-
|
953 |
-
msgid "Total Contacts"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
957 |
-
|
|
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
961 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
962 |
-
msgid "
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
966 |
-
msgid "
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
970 |
-
msgid "
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
974 |
-
msgid "
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
978 |
-
msgid "
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
982 |
-
|
983 |
-
msgid "Import Contacts"
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
987 |
-
msgid "
|
988 |
msgstr ""
|
989 |
|
|
|
|
|
990 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:222
|
991 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:223
|
992 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:425
|
993 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:276
|
994 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:634
|
995 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:131
|
996 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:134
|
997 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
998 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
999 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
|
1000 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
|
1001 |
msgid "Name"
|
1002 |
msgstr ""
|
1003 |
|
|
|
|
|
1004 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:223
|
1005 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:271
|
1006 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:140
|
1007 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:97
|
1008 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:369
|
1009 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:550
|
1010 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:169
|
1011 |
msgid "Email"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1015 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1016 |
-
|
1017 |
-
msgid "Status"
|
1018 |
-
msgstr ""
|
1019 |
-
|
1020 |
-
#. __( 'List', 'email-subscribers' ),
|
1021 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:225
|
1022 |
-
msgid "Created On"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1026 |
-
|
|
|
|
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1030 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1031 |
-
|
|
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1035 |
-
msgid "
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1039 |
-
msgid "
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1043 |
-
|
1044 |
-
msgid "List has been updated successfully!"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1048 |
-
msgid "
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1052 |
-
|
|
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1056 |
-
msgid "
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1060 |
-
|
1061 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:552
|
1062 |
-
msgid "Created"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1066 |
-
|
1067 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:582
|
1068 |
-
msgid "Delete"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1072 |
-
msgid "
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1076 |
-
msgid "
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1080 |
-
msgid "
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1084 |
-
msgid "
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-tools.php:
|
1088 |
msgid "Please add email"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-tools.php:
|
1092 |
#, php-format
|
1093 |
msgid "Test email to %s"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1097 |
-
|
1098 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1099 |
msgstr ""
|
1100 |
|
1101 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:69
|
@@ -1384,7 +1426,7 @@ msgstr ""
|
|
1384 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:329
|
1385 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:367
|
1386 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:406
|
1387 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1388 |
msgid "Subject"
|
1389 |
msgstr ""
|
1390 |
|
@@ -1517,6 +1559,43 @@ msgstr ""
|
|
1517 |
msgid "Invalid Captcha"
|
1518 |
msgstr ""
|
1519 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1520 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:19
|
1521 |
msgid "Report"
|
1522 |
msgstr ""
|
@@ -1561,166 +1640,107 @@ msgstr ""
|
|
1561 |
msgid "No Reports avaliable."
|
1562 |
msgstr ""
|
1563 |
|
1564 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1565 |
msgid "Completed"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1569 |
msgid "Type"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1573 |
msgid "Start Date"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1577 |
msgid "End Date"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1581 |
msgid "You do not have permission to view notification"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1585 |
msgid "You do not have permission to delete notification"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1589 |
msgid "Report has been deleted successfully!"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1593 |
msgid "You do not have permission to preview notification"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1597 |
msgid "Reports have been deleted successfully!"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1601 |
msgid "Preview Email"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:
|
1605 |
msgid ""
|
1606 |
"This is how the email you sent may look. <br>Note: Different email services "
|
1607 |
"(like gmail, yahoo etc) display email content differently. So there could be "
|
1608 |
"a slight variation on how your customer will view the email content."
|
1609 |
msgstr ""
|
1610 |
|
1611 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1612 |
-
|
1613 |
-
msgid "Campaign"
|
1614 |
-
msgstr ""
|
1615 |
-
|
1616 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:50
|
1617 |
-
msgid "Create Post Notification"
|
1618 |
-
msgstr ""
|
1619 |
-
|
1620 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:51
|
1621 |
-
msgid "Send Broadcast"
|
1622 |
-
msgstr ""
|
1623 |
-
|
1624 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:158
|
1625 |
-
msgid "No Campaigns Found."
|
1626 |
-
msgstr ""
|
1627 |
-
|
1628 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:296
|
1629 |
-
msgid "Search Campaigns"
|
1630 |
-
msgstr ""
|
1631 |
-
|
1632 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:333
|
1633 |
-
msgid "You are not allowed to delete campaign."
|
1634 |
-
msgstr ""
|
1635 |
-
|
1636 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:337
|
1637 |
-
msgid "Campaign has been deleted successfully!"
|
1638 |
-
msgstr ""
|
1639 |
-
|
1640 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:356
|
1641 |
-
msgid "Campaign(s) have been deleted successfully!"
|
1642 |
-
msgstr ""
|
1643 |
-
|
1644 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:361
|
1645 |
-
msgid "Please check campaign(s) to delete."
|
1646 |
-
msgstr ""
|
1647 |
-
|
1648 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:20
|
1649 |
-
msgid "Contact"
|
1650 |
-
msgstr ""
|
1651 |
-
|
1652 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:53
|
1653 |
-
msgid "Audience > Contacts"
|
1654 |
-
msgstr ""
|
1655 |
-
|
1656 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:145
|
1657 |
-
msgid "Please Select List"
|
1658 |
-
msgstr ""
|
1659 |
-
|
1660 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:184
|
1661 |
-
msgid "Contact has been added successfully!"
|
1662 |
-
msgstr ""
|
1663 |
-
|
1664 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:188
|
1665 |
-
msgid "Contact already exist."
|
1666 |
-
msgstr ""
|
1667 |
-
|
1668 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:322
|
1669 |
-
msgid "Contact updated successfully!"
|
1670 |
-
msgstr ""
|
1671 |
-
|
1672 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:327
|
1673 |
-
msgid "Edit Contact"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1677 |
-
|
|
|
1678 |
msgstr ""
|
1679 |
|
1680 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1681 |
-
|
1682 |
-
msgid "List(s)"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1686 |
-
msgid "
|
1687 |
msgstr ""
|
1688 |
|
1689 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1690 |
-
|
|
|
1691 |
msgstr ""
|
1692 |
|
1693 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1694 |
-
msgid "
|
1695 |
msgstr ""
|
1696 |
|
1697 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1698 |
-
|
1699 |
-
msgid "Contact(s) have been deleted successfully!"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1703 |
-
|
|
|
|
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1707 |
-
msgid "
|
1708 |
msgstr ""
|
1709 |
|
1710 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1711 |
-
msgid "
|
1712 |
msgstr ""
|
1713 |
|
1714 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1715 |
-
msgid "
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1719 |
-
msgid "
|
1720 |
msgstr ""
|
1721 |
|
1722 |
-
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-
|
1723 |
-
msgid "
|
1724 |
msgstr ""
|
1725 |
|
1726 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/notices/class-es-admin-notices.php:97
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Email Subscribers & Newsletters\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2019-03-26 12:04+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
29 |
|
30 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:139
|
31 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/dashboard.php:84
|
|
|
32 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:290
|
33 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:66
|
34 |
msgid "Lists"
|
35 |
msgstr ""
|
36 |
|
41 |
|
42 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/class-email-subscribers-admin.php:141
|
43 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:39
|
44 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:211
|
|
|
45 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:186
|
46 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:191
|
47 |
msgid "Broadcast"
|
48 |
msgstr ""
|
49 |
|
89 |
msgid "Template Preview"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-mailer.php:101
|
93 |
+
msgid "Welcome !"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/es-backward.php:101
|
97 |
+
msgid "Confirm Your Subscription!"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:122
|
101 |
+
#, php-format
|
102 |
+
msgid ""
|
103 |
+
"WordPress Cron is disable on your site. Email notifications from Email "
|
104 |
+
"Subscribers plugin will not be sent automatically. <a href=\"%s\" "
|
105 |
+
"target=\"_blank\" >Here's how you can enable it.</a>"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:123
|
109 |
+
#, php-format
|
110 |
+
msgid "Or schedule Cron in <a href=\"%s\" target=\"_blank\">cPanel</a>"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:124
|
114 |
+
#, php-format
|
115 |
+
msgid ""
|
116 |
+
"Or use <strong><a href=\"%s\" target=\"_blank\">Email Subscribners Pro</a>"
|
117 |
+
"</strong> for automatic Cron support"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-email-subscribers.php:125
|
121 |
+
msgid "OK, I Got it!"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:89
|
|
|
125 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:484
|
126 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:234
|
127 |
msgid "Subscribed"
|
128 |
msgstr ""
|
129 |
|
133 |
msgstr ""
|
134 |
|
135 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:91
|
|
|
136 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:486
|
137 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:234
|
138 |
msgid "Unsubscribed"
|
139 |
msgstr ""
|
140 |
|
156 |
msgstr ""
|
157 |
|
158 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:252
|
|
|
159 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:754
|
160 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:572
|
161 |
msgid "Enable"
|
162 |
msgstr ""
|
163 |
|
164 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/class-es-common.php:253
|
|
|
165 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:755
|
166 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:573
|
167 |
msgid "Disable"
|
168 |
msgstr ""
|
169 |
|
207 |
msgid "Thumbnail"
|
208 |
msgstr ""
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/class-email-subscribers-public.php:109
|
211 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-subscription.php:377
|
212 |
msgid "Please enter email address"
|
250 |
msgid "Please try after some time"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/public/class-email-subscribers-public.php:180
|
254 |
+
msgid "Sorry, we couldn't find you. Please contact admin."
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
#: ../../../../wpRepos/gitlab/email-subscribers/admin/partials/help.php:10
|
258 |
msgid "Help & Info"
|
259 |
msgstr ""
|
842 |
msgstr ""
|
843 |
|
844 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:207
|
|
|
|
|
845 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:54
|
846 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:120
|
847 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:103
|
848 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:70
|
849 |
msgid "Add New Contact"
|
850 |
msgstr ""
|
851 |
|
852 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:208
|
853 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:55
|
854 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:50
|
855 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:71
|
|
|
856 |
msgid "Export Contacts"
|
857 |
msgstr ""
|
858 |
|
859 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-import-subscribers.php:209
|
|
|
|
|
|
|
860 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:58
|
861 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:121
|
862 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:105
|
863 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:72
|
864 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:212
|
865 |
msgid "Manage Lists"
|
866 |
msgstr ""
|
867 |
|
871 |
msgstr ""
|
872 |
|
873 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-newsletters.php:49
|
874 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:778
|
875 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:798
|
876 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-post-notifications.php:43
|
|
|
877 |
msgid "Please select list."
|
878 |
msgstr ""
|
879 |
|
901 |
msgstr ""
|
902 |
|
903 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-templates-table.php:40
|
904 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:187
|
905 |
msgid "Post Notification"
|
906 |
msgstr ""
|
907 |
|
922 |
msgid "Template Type"
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:20
|
926 |
+
msgid "Contact"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
927 |
msgstr ""
|
928 |
|
|
|
929 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:21
|
930 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:107
|
931 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:59
|
932 |
msgid "Contacts"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:53
|
936 |
+
msgid "Audience > Contacts"
|
|
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:56
|
940 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:104
|
941 |
+
msgid "Import Contacts"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:57
|
945 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:12
|
946 |
+
msgid "Sync"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:145
|
950 |
+
msgid "Please Select List"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:184
|
954 |
+
msgid "Contact has been added successfully!"
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:188
|
958 |
+
msgid "Contact already exist."
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:322
|
962 |
+
msgid "Contact updated successfully!"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:327
|
966 |
+
msgid "Edit Contact"
|
|
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:358
|
970 |
+
msgid "No list found"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:365
|
974 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:549
|
975 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:222
|
|
|
|
|
976 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:276
|
977 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:634
|
978 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:131
|
979 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:134
|
980 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:223
|
981 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:436
|
982 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
|
983 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:138
|
984 |
msgid "Name"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:369
|
988 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:550
|
989 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:223
|
990 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:271
|
991 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:140
|
992 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:97
|
|
|
|
|
993 |
#: ../../../../wpRepos/gitlab/email-subscribers/public/partials/class-es-shortcode.php:169
|
994 |
msgid "Email"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:373
|
998 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:551
|
999 |
+
msgid "List(s)"
|
|
|
|
|
|
|
|
|
|
|
|
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:552
|
1003 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:636
|
1004 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:439
|
1005 |
+
msgid "Created"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:582
|
1009 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:663
|
1010 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:466
|
1011 |
+
msgid "Delete"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:583
|
1015 |
+
msgid "Move To List"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:584
|
1019 |
+
msgid "Add To List"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:585
|
1023 |
+
msgid "Change Status"
|
|
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:669
|
1027 |
+
msgid "Contact have been updated successfully!"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:686
|
1031 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:746
|
1032 |
+
msgid "Contact(s) have been deleted successfully!"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:716
|
1036 |
+
msgid "Confirmation email has been sent successfully!"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:734
|
1040 |
+
msgid "Please select subscribers to update."
|
|
|
|
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:757
|
1044 |
+
msgid "Please select status."
|
|
|
|
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:767
|
1048 |
+
msgid "Status has been changed successfully!"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:787
|
1052 |
+
msgid "Contact(s) have been moved to list successfully!"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:807
|
1056 |
+
msgid "Contact(s) have been added to list successfully!"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-subscribers-table.php:817
|
1060 |
+
msgid "No contacts avaliable."
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-tools.php:52
|
1064 |
msgid "Please add email"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-tools.php:161
|
1068 |
#, php-format
|
1069 |
msgid "Test email to %s"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:11
|
1073 |
+
msgid "Email Subscribers Widget"
|
1074 |
+
msgstr ""
|
1075 |
+
|
1076 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
|
1077 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:110
|
1078 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:315
|
1079 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:357
|
1080 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:393
|
1081 |
+
msgid "Yes"
|
1082 |
+
msgstr ""
|
1083 |
+
|
1084 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-widget.php:49
|
1085 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:58
|
1086 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:109
|
1087 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-forms-table.php:319
|
1088 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:358
|
1089 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:394
|
1090 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:96
|
1091 |
+
msgid "No"
|
1092 |
+
msgstr ""
|
1093 |
+
|
1094 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:27
|
1095 |
+
msgid "No data available"
|
1096 |
+
msgstr ""
|
1097 |
+
|
1098 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:60
|
1099 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:270
|
1100 |
+
msgid "Total Contacts"
|
1101 |
+
msgstr ""
|
1102 |
+
|
1103 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:61
|
1104 |
+
msgid "Export"
|
1105 |
+
msgstr ""
|
1106 |
+
|
1107 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:70
|
1108 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:438
|
1109 |
+
msgid "All Contacts"
|
1110 |
+
msgstr ""
|
1111 |
+
|
1112 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:71
|
1113 |
+
msgid "Subscribed Contacts"
|
1114 |
+
msgstr ""
|
1115 |
+
|
1116 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:72
|
1117 |
+
msgid "Unsubscribed Contacts"
|
1118 |
+
msgstr ""
|
1119 |
+
|
1120 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:89
|
1121 |
+
msgid "Download"
|
1122 |
+
msgstr ""
|
1123 |
+
|
1124 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:102
|
1125 |
+
msgid "Audience > Export Contacts"
|
1126 |
+
msgstr ""
|
1127 |
+
|
1128 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:192
|
1129 |
+
msgid "Export the Subscribers"
|
1130 |
+
msgstr ""
|
1131 |
+
|
1132 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:224
|
1133 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:98
|
1134 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:267
|
1135 |
+
msgid "Status"
|
1136 |
+
msgstr ""
|
1137 |
+
|
1138 |
+
#. __( 'List', 'email-subscribers' ),
|
1139 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-export-subscribers.php:225
|
1140 |
+
msgid "Created On"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-handle-sync-wp-user.php:69
|
1426 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:329
|
1427 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:367
|
1428 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-admin-settings.php:406
|
1429 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:265
|
1430 |
msgid "Subject"
|
1431 |
msgstr ""
|
1432 |
|
1559 |
msgid "Invalid Captcha"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:19
|
1563 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:20
|
1564 |
+
msgid "Campaign"
|
1565 |
+
msgstr ""
|
1566 |
+
|
1567 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:50
|
1568 |
+
msgid "Create Post Notification"
|
1569 |
+
msgstr ""
|
1570 |
+
|
1571 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:51
|
1572 |
+
msgid "Send Broadcast"
|
1573 |
+
msgstr ""
|
1574 |
+
|
1575 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:158
|
1576 |
+
msgid "No Campaigns Found."
|
1577 |
+
msgstr ""
|
1578 |
+
|
1579 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:296
|
1580 |
+
msgid "Search Campaigns"
|
1581 |
+
msgstr ""
|
1582 |
+
|
1583 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:333
|
1584 |
+
msgid "You are not allowed to delete campaign."
|
1585 |
+
msgstr ""
|
1586 |
+
|
1587 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:337
|
1588 |
+
msgid "Campaign has been deleted successfully!"
|
1589 |
+
msgstr ""
|
1590 |
+
|
1591 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:356
|
1592 |
+
msgid "Campaign(s) have been deleted successfully!"
|
1593 |
+
msgstr ""
|
1594 |
+
|
1595 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-campaigns-table.php:361
|
1596 |
+
msgid "Please check campaign(s) to delete."
|
1597 |
+
msgstr ""
|
1598 |
+
|
1599 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:19
|
1600 |
msgid "Report"
|
1601 |
msgstr ""
|
1640 |
msgid "No Reports avaliable."
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:209
|
1644 |
msgid "Completed"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:266
|
1648 |
msgid "Type"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:268
|
1652 |
msgid "Start Date"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:269
|
1656 |
msgid "End Date"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:368
|
1660 |
msgid "You do not have permission to view notification"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:380
|
1664 |
msgid "You do not have permission to delete notification"
|
1665 |
msgstr ""
|
1666 |
|
1667 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:385
|
1668 |
msgid "Report has been deleted successfully!"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:394
|
1672 |
msgid "You do not have permission to preview notification"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:412
|
1676 |
msgid "Reports have been deleted successfully!"
|
1677 |
msgstr ""
|
1678 |
|
1679 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:433
|
1680 |
msgid "Preview Email"
|
1681 |
msgstr ""
|
1682 |
|
1683 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-reports-table.php:436
|
1684 |
msgid ""
|
1685 |
"This is how the email you sent may look. <br>Note: Different email services "
|
1686 |
"(like gmail, yahoo etc) display email content differently. So there could be "
|
1687 |
"a slight variation on how your customer will view the email content."
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:42
|
1691 |
+
msgid "Audience > Lists"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1692 |
msgstr ""
|
1693 |
|
1694 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:83
|
1695 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:513
|
1696 |
+
msgid "You do not have permission to edit list"
|
1697 |
msgstr ""
|
1698 |
|
1699 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:85
|
1700 |
+
msgid "Please add list name"
|
|
|
1701 |
msgstr ""
|
1702 |
|
1703 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:128
|
1704 |
+
msgid "List has been added successfully!"
|
1705 |
msgstr ""
|
1706 |
|
1707 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:169
|
1708 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:517
|
1709 |
+
msgid "List has been updated successfully!"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:206
|
1713 |
+
msgid "Add New"
|
1714 |
msgstr ""
|
1715 |
|
1716 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:208
|
1717 |
+
msgid "Edit List"
|
|
|
1718 |
msgstr ""
|
1719 |
|
1720 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:369
|
1721 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:378
|
1722 |
+
#, php-format
|
1723 |
+
msgid "<a href=\"%s\" target=\"_blank\">%d</a>"
|
1724 |
msgstr ""
|
1725 |
|
1726 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:437
|
1727 |
+
msgid "Active Contacts"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:529
|
1731 |
+
msgid "You do not have permission to delete list"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:534
|
1735 |
+
msgid "List has been deleted successfully!"
|
1736 |
msgstr ""
|
1737 |
|
1738 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:549
|
1739 |
+
msgid "List(s) have been deleted successfully"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
+
#: ../../../../wpRepos/gitlab/email-subscribers/includes/admin/class-es-lists-table.php:552
|
1743 |
+
msgid "Please select list"
|
1744 |
msgstr ""
|
1745 |
|
1746 |
#: ../../../../wpRepos/gitlab/email-subscribers/includes/notices/class-es-admin-notices.php:97
|
public/class-email-subscribers-public.php
CHANGED
@@ -136,44 +136,49 @@ class Email_Subscribers_Public {
|
|
136 |
|
137 |
if ( ! empty( $option ) ) {
|
138 |
if ( ( 'optin' === $option || 'unsubscribe' === $option ) && ! empty( $db_id ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
-
|
141 |
-
|
142 |
-
$unsubscribed = 0;
|
143 |
-
if ( $option === 'optin' ) {
|
144 |
-
$status = 'subscribed';
|
145 |
-
$message = get_option( 'ig_es_subscription_success_message' );
|
146 |
-
//$message = get_option( 'ig_es_subscription_error_messsage' );
|
147 |
-
} elseif ( $option === 'unsubscribe' ) {
|
148 |
-
$status = 'unsubscribed';
|
149 |
-
$unsubscribed = 1;
|
150 |
-
$message = get_option( 'ig_es_unsubscribe_success_message' );
|
151 |
-
//$message = get_option( 'ig_es_unsubscribe_error_message' );
|
152 |
-
}
|
153 |
-
|
154 |
-
ES_DB_Contacts::edit_subscriber_status( $ids, $status );
|
155 |
-
ES_DB_Contacts::edit_subscriber_status_global( $ids, $unsubscribed );
|
156 |
|
157 |
-
|
158 |
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
|
167 |
-
|
168 |
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
|
|
173 |
}
|
174 |
-
}
|
175 |
|
176 |
-
|
|
|
|
|
|
|
177 |
|
178 |
include 'partials/subscription-successfull.php';
|
179 |
|
136 |
|
137 |
if ( ! empty( $option ) ) {
|
138 |
if ( ( 'optin' === $option || 'unsubscribe' === $option ) && ! empty( $db_id ) ) {
|
139 |
+
//check if contact exist with id and email
|
140 |
+
$check = ES_DB_Contacts::check_contact( $db_id, $email );
|
141 |
+
if ( $check ) {
|
142 |
+
$ids = array( $db_id );
|
143 |
+
$status = $subject = $content = '';
|
144 |
+
$unsubscribed = 0;
|
145 |
+
if ( $option === 'optin' ) {
|
146 |
+
$status = 'subscribed';
|
147 |
+
$message = get_option( 'ig_es_subscription_success_message' );
|
148 |
+
//$message = get_option( 'ig_es_subscription_error_messsage' );
|
149 |
+
} elseif ( $option === 'unsubscribe' ) {
|
150 |
+
$status = 'unsubscribed';
|
151 |
+
$unsubscribed = 1;
|
152 |
+
$message = get_option( 'ig_es_unsubscribe_success_message' );
|
153 |
+
//$message = get_option( 'ig_es_unsubscribe_error_message' );
|
154 |
+
}
|
155 |
|
156 |
+
ES_DB_Contacts::edit_subscriber_status( $ids, $status );
|
157 |
+
ES_DB_Contacts::edit_subscriber_status_global( $ids, $unsubscribed );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
+
if ( 'optin' === $option ) {
|
160 |
|
161 |
+
$contact = ES_DB_Contacts::get_subsribers_email_name_map( array( $email ) );
|
162 |
+
$data = array(
|
163 |
+
'name' => $contact[ $email ],
|
164 |
+
'email' => $email,
|
165 |
+
'db_id' => $db_id,
|
166 |
+
'guid' => $guid
|
167 |
+
);
|
168 |
|
169 |
+
$enable_welcome_email = get_option( 'ig_es_enable_welcome_email', 'no' );
|
170 |
|
171 |
+
if ( $enable_welcome_email === 'yes' ) {
|
172 |
+
$content = ES_Mailer::prepare_welcome_email( $data );
|
173 |
+
$subject = ES_Mailer::prepare_welcome_email_subject( $data );
|
174 |
+
ES_Mailer::send( $email, $subject, $content );
|
175 |
+
}
|
176 |
}
|
|
|
177 |
|
178 |
+
do_action( 'es_redirect_to_optin_page', $option );
|
179 |
+
} else {
|
180 |
+
$message = __( 'Sorry, we couldn\'t find you. Please contact admin.', 'email-subscribers' );
|
181 |
+
}
|
182 |
|
183 |
include 'partials/subscription-successfull.php';
|
184 |
|
public/partials/class-es-shortcode.php
CHANGED
@@ -166,7 +166,7 @@ class ES_Shortcode {
|
|
166 |
$form_html = '<input type="hidden" name="form_id" value="' . $form_id . '" />';
|
167 |
|
168 |
$email_place_holder = __('Enter Email Address', 'email-subscribers');
|
169 |
-
$email_html = '<div class="es-field-wrap"><label>' . __( 'Email', 'email-subscribers' ) . '*'. '<br/><input class="es_required_field" type="email" name="email" value="" placeholder="' . $email_place_holder .'" required/></label></div>';
|
170 |
?>
|
171 |
|
172 |
<div class="emaillist">
|
@@ -188,7 +188,7 @@ class ES_Shortcode {
|
|
188 |
<?php if ( ( in_array( 'gdpr/gdpr.php', $active_plugins ) || array_key_exists( 'gdpr/gdpr.php', $active_plugins ) ) ) {
|
189 |
echo GDPR::consent_checkboxes();
|
190 |
} ?>
|
191 |
-
<input type="submit" name="submit" class="es_subscription_form_submit es_submit_button" id="es_subscription_form_submit_<?php echo $unique_id; ?>" value="<?php _e( 'Subscribe', 'email-subscribers' ) ?>"/>
|
192 |
|
193 |
|
194 |
<?php $spinner_image_path = plugin_dir_url( ES_PLUGIN_BASE_NAME ) . 'public/images/spinner.gif'; ?>
|
166 |
$form_html = '<input type="hidden" name="form_id" value="' . $form_id . '" />';
|
167 |
|
168 |
$email_place_holder = __('Enter Email Address', 'email-subscribers');
|
169 |
+
$email_html = '<div class="es-field-wrap"><label>' . __( 'Email', 'email-subscribers' ) . '*'. '<br/><input class="es_required_field es_txt_email" type="email" name="email" value="" placeholder="' . $email_place_holder .'" required/></label></div>';
|
170 |
?>
|
171 |
|
172 |
<div class="emaillist">
|
188 |
<?php if ( ( in_array( 'gdpr/gdpr.php', $active_plugins ) || array_key_exists( 'gdpr/gdpr.php', $active_plugins ) ) ) {
|
189 |
echo GDPR::consent_checkboxes();
|
190 |
} ?>
|
191 |
+
<input type="submit" name="submit" class="es_subscription_form_submit es_submit_button es_textbox_button" id="es_subscription_form_submit_<?php echo $unique_id; ?>" value="<?php _e( 'Subscribe', 'email-subscribers' ) ?>"/>
|
192 |
|
193 |
|
194 |
<?php $spinner_image_path = plugin_dir_url( ES_PLUGIN_BASE_NAME ) . 'public/images/spinner.gif'; ?>
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Author URI: https://www.icegram.com/
|
|
5 |
Tags: subscription, newsletter, email marketing, post notification, email newsletter form, email signup, email widget, newsletter signup, subscribe, subscription form, bulk emails, signup form, list builder, lead generation, welcome email, contacts
|
6 |
Requires at least: 3.9
|
7 |
Tested up to: 5.1.1
|
8 |
-
Stable tag: 4.0.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses
|
11 |
|
@@ -308,11 +308,17 @@ Use our free plugin [Email Subscribers - Group Selector](https://wordpress.org/p
|
|
308 |
|
309 |
== Changelog ==
|
310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
= 4.0.10 (20.03.2019) =
|
312 |
* Update: Added resent confirmation message
|
313 |
* Fix: Duplicate contacts via Rainmaker form
|
314 |
* Fix: Parse error: syntax error, unexpected '['
|
315 |
-
* Fix: New strings will be
|
316 |
|
317 |
= 4.0.9 (15.03.2019) =
|
318 |
* Fix: Post Notification doesn't work with WP 5.0+ and 'Classic Editor'
|
5 |
Tags: subscription, newsletter, email marketing, post notification, email newsletter form, email signup, email widget, newsletter signup, subscribe, subscription form, bulk emails, signup form, list builder, lead generation, welcome email, contacts
|
6 |
Requires at least: 3.9
|
7 |
Tested up to: 5.1.1
|
8 |
+
Stable tag: 4.0.11
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses
|
11 |
|
308 |
|
309 |
== Changelog ==
|
310 |
|
311 |
+
= 4.0.11 (26.03.2019) =
|
312 |
+
* New : Added "Add to List" option to the bulk actions of contacts
|
313 |
+
* New : Link contacts from list view
|
314 |
+
* Update: Additional security check while opt-in and unsubscription
|
315 |
+
* Fix : PHP Fatal error: Cannot redeclare temp_filter_category()
|
316 |
+
|
317 |
= 4.0.10 (20.03.2019) =
|
318 |
* Update: Added resent confirmation message
|
319 |
* Fix: Duplicate contacts via Rainmaker form
|
320 |
* Fix: Parse error: syntax error, unexpected '['
|
321 |
+
* Fix: New strings will be available for translations on [WordPress](https://translate.wordpress.org/) (Thanks to [@otto42](https://profiles.wordpress.org/otto42/) and [@dd32](https://profiles.wordpress.org/dd32/))
|
322 |
|
323 |
= 4.0.9 (15.03.2019) =
|
324 |
* Fix: Post Notification doesn't work with WP 5.0+ and 'Classic Editor'
|