Email Subscribers & Newsletters - Version 4.0.12

Version Description

(01.04.2019) = * Fix : Parse error: syntax error, unexpected T_FUNCTION * Update: Remove old css * Update: POT file

Download this release

Release Info

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

Code changes from version 4.0.11 to 4.0.12

admin/class-email-subscribers-admin.php CHANGED
@@ -148,6 +148,16 @@ class Email_Subscribers_Admin {
148
  add_submenu_page( null, __( 'Template Preview', 'email-subscribers' ), __( 'Template Preview', 'email-subscribers' ), 'edit_posts', 'es_template_preview', array( $this, 'load_preview' ) );
149
  }
150
 
 
 
 
 
 
 
 
 
 
 
151
  // Function for Klawoo's Subscribe form on Help & Info page
152
  public static function klawoo_subscribe() {
153
  $url = 'http://app.klawoo.com/subscribe';
148
  add_submenu_page( null, __( 'Template Preview', 'email-subscribers' ), __( 'Template Preview', 'email-subscribers' ), 'edit_posts', 'es_template_preview', array( $this, 'load_preview' ) );
149
  }
150
 
151
+ public function plugins_loaded(){
152
+ ES_Templates_Table::get_instance();
153
+ new Export_Subscribers();
154
+ new ES_Handle_Post_Notification();
155
+ new ES_Handle_Sync_Wp_User();
156
+ new ES_Import_Subscribers();
157
+ ES_Info::get_instance();
158
+ ES_Newsletters::get_instance();
159
+ }
160
+
161
  // Function for Klawoo's Subscribe form on Help & Info page
162
  public static function klawoo_subscribe() {
163
  $url = 'http://app.klawoo.com/subscribe';
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.11
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.11' );
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.12
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.12' );
28
  define( 'ES_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
29
 
30
  if ( ! defined( 'ES_PLUGIN_FILE' ) ) {
includes/admin/class-es-export-subscribers.php CHANGED
@@ -255,7 +255,3 @@ class Export_Subscribers {
255
 
256
  }
257
 
258
- add_action( 'plugins_loaded', function () {
259
- new Export_Subscribers();
260
- } );
261
- // Instantiate a singleton of this plugin
255
 
256
  }
257
 
 
 
 
 
includes/admin/class-es-handle-post-notification.php CHANGED
@@ -239,7 +239,3 @@ class ES_Handle_Post_Notification {
239
 
240
  }
241
 
242
-
243
- add_action( 'plugins_loaded', function () {
244
- new ES_Handle_Post_Notification();
245
- } );
239
 
240
  }
241
 
 
 
 
 
includes/admin/class-es-handle-sync-wp-user.php CHANGED
@@ -143,8 +143,3 @@ class ES_Handle_Sync_Wp_User {
143
  }
144
 
145
  }
146
-
147
-
148
- add_action( 'plugins_loaded', function () {
149
- new ES_Handle_Sync_Wp_User();
150
- } );
143
  }
144
 
145
  }
 
 
 
 
 
includes/admin/class-es-import-subscribers.php CHANGED
@@ -224,6 +224,3 @@ class ES_Import_Subscribers {
224
  }
225
  }
226
 
227
- add_action( 'plugins_loaded', function () {
228
- new ES_Import_Subscribers();
229
- } );
224
  }
225
  }
226
 
 
 
 
includes/admin/class-es-info.php CHANGED
@@ -42,6 +42,3 @@ class ES_Info {
42
 
43
  }
44
 
45
- add_action( 'plugins_loaded', function () {
46
- ES_Info::get_instance();
47
- } );
42
 
43
  }
44
 
 
 
 
includes/admin/class-es-newsletters.php CHANGED
@@ -260,7 +260,3 @@ class ES_Newsletters {
260
  }
261
 
262
  }
263
-
264
- add_action( 'plugins_loaded', function () {
265
- ES_Newsletters::get_instance();
266
- } );
260
  }
261
 
262
  }
 
 
 
 
includes/admin/class-es-templates-table.php CHANGED
@@ -230,8 +230,3 @@ class ES_Templates_Table {
230
  }
231
 
232
  }
233
- function get_template_instance(){
234
- ES_Templates_Table::get_instance();
235
- }
236
-
237
- add_action( 'plugins_loaded', 'get_template_instance' );
230
  }
231
 
232
  }
 
 
 
 
 
includes/class-email-subscribers.php CHANGED
@@ -327,6 +327,8 @@ class Email_Subscribers {
327
 
328
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
329
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
 
 
330
  //$this->loader->add_action( 'in_admin_header', $plugin_admin, 'ig_es_admin_header',99 );
331
 
332
  //$this->loader->add_action( 'edit_form_after_editor', $plugin_admin, 'es_edit_form_after_editor_fn' );
327
 
328
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
329
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
330
+ $this->loader->add_action( 'plugins_loaded', $plugin_admin, 'plugins_loaded' );
331
+
332
  //$this->loader->add_action( 'in_admin_header', $plugin_admin, 'ig_es_admin_header',99 );
333
 
334
  //$this->loader->add_action( 'edit_form_after_editor', $plugin_admin, 'es_edit_form_after_editor_fn' );
public/css/email-subscribers-public.css CHANGED
@@ -27,10 +27,6 @@
27
  width: 200px;
28
  }
29
 
30
- .es_textbox_button {
31
- width: 130px;
32
- }
33
-
34
  .es_lablebox {
35
  padding-bottom: 3px;
36
  }
27
  width: 200px;
28
  }
29
 
 
 
 
 
30
  .es_lablebox {
31
  padding-bottom: 3px;
32
  }
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.11
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses
11
 
@@ -308,6 +308,11 @@ Use our free plugin [Email Subscribers - Group Selector](https://wordpress.org/p
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
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.12
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses
11
 
308
 
309
  == Changelog ==
310
 
311
+ = 4.0.12 (01.04.2019) =
312
+ * Fix : Parse error: syntax error, unexpected T_FUNCTION
313
+ * Update: Remove old css
314
+ * Update: POT file
315
+
316
  = 4.0.11 (26.03.2019) =
317
  * New : Added "Add to List" option to the bulk actions of contacts
318
  * New : Link contacts from list view