Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram - Version 2.1.9

Version Description

  • Update: WordPress 6.0 compatibility check

=

Download this release

Release Info

Developer Icegram
Plugin Icon 128x128 Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram
Version 2.1.9
Comparing to
See all releases

Code changes from version 2.1.8 to 2.1.9

icegram.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
- * Version: 2.1.8
7
  * Tested up to: 6.0
8
  * Author: icegram
9
  * Author URI: https://www.icegram.com/
@@ -122,7 +122,7 @@ if ( ! defined( 'IG_PLUGIN_FILE' ) ) {
122
  }
123
 
124
  if ( ! defined( 'IG_PLUGIN_VERSION' ) ) {
125
- define( 'IG_PLUGIN_VERSION', '2.1.8' );
126
  }
127
 
128
  if ( ! defined( 'IG_PRODUCT_ID' ) ) {
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
+ * Version: 2.1.9
7
  * Tested up to: 6.0
8
  * Author: icegram
9
  * Author URI: https://www.icegram.com/
122
  }
123
 
124
  if ( ! defined( 'IG_PLUGIN_VERSION' ) ) {
125
+ define( 'IG_PLUGIN_VERSION', '2.1.9' );
126
  }
127
 
128
  if ( ! defined( 'IG_PRODUCT_ID' ) ) {
lite/classes/feedback/class-ig-plugin-data-tracker.php CHANGED
@@ -106,7 +106,7 @@ if ( ! class_exists( 'Icegram_Plugin_Usage_Tracker_V_1_2_2' ) ) {
106
  $this->tracker_class = $tracker_class;
107
  $this->allowed_by_default = $allowed_by_default;
108
 
109
- // Don't run usage tracker on dev environment if not enabled.
110
  if ( ! $enable_on_dev ) {
111
  return;
112
  }
@@ -180,14 +180,14 @@ if ( ! class_exists( 'Icegram_Plugin_Usage_Tracker_V_1_2_2' ) ) {
180
  */
181
  public function do_activation_setup() {
182
 
183
- $tracker_activated_option = get_option( $this->plugin_abbr.'_tracker_activated', 'no' );
184
 
185
- if( 'no' === $tracker_activated_option ) {
186
  add_option( $this->plugin_abbr . '_installed_on', gmdate( 'Y-m-d H:i:s' ), '', false );
187
  $this->schedule_cron();
188
 
189
  $this->send_tracking_data( true );
190
- update_option( $this->plugin_abbr.'_tracker_activated', 'yes', 'no' );
191
  }
192
  }
193
 
@@ -207,7 +207,7 @@ if ( ! class_exists( 'Icegram_Plugin_Usage_Tracker_V_1_2_2' ) ) {
207
  $this->send_tracking_data( true, $extra_params );
208
 
209
  }
210
- delete_option( $this->plugin_abbr.'_tracker_activated');
211
  }
212
 
213
  /**
@@ -531,6 +531,7 @@ if ( ! class_exists( 'Icegram_Plugin_Usage_Tracker_V_1_2_2' ) ) {
531
  'current_theme' => $tracker_class::get_current_theme_info(),
532
  'wp_info' => $tracker_class::get_wp_info(),
533
  'server_info' => $tracker_class::get_server_info(),
 
534
  );
535
 
536
  /**
106
  $this->tracker_class = $tracker_class;
107
  $this->allowed_by_default = $allowed_by_default;
108
 
109
+ // Don't run usage tracker on dev environment if not enabled.
110
  if ( ! $enable_on_dev ) {
111
  return;
112
  }
180
  */
181
  public function do_activation_setup() {
182
 
183
+ $tracker_activated_option = get_option( $this->plugin_abbr . '_tracker_activated', 'no' );
184
 
185
+ if ( 'no' === $tracker_activated_option ) {
186
  add_option( $this->plugin_abbr . '_installed_on', gmdate( 'Y-m-d H:i:s' ), '', false );
187
  $this->schedule_cron();
188
 
189
  $this->send_tracking_data( true );
190
+ update_option( $this->plugin_abbr . '_tracker_activated', 'yes', 'no' );
191
  }
192
  }
193
 
207
  $this->send_tracking_data( true, $extra_params );
208
 
209
  }
210
+ delete_option( $this->plugin_abbr . '_tracker_activated');
211
  }
212
 
213
  /**
531
  'current_theme' => $tracker_class::get_current_theme_info(),
532
  'wp_info' => $tracker_class::get_wp_info(),
533
  'server_info' => $tracker_class::get_server_info(),
534
+ 'plugin_meta_info' => $tracker_class::get_plugin_meta_info(),
535
  );
536
 
537
  /**
lite/classes/feedback/class-ig-tracker.php CHANGED
@@ -293,5 +293,33 @@ if ( ! class_exists( 'IG_Tracker_V_1_2_2' ) ) {
293
 
294
  return $user_info;
295
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  }
297
  }
293
 
294
  return $user_info;
295
  }
296
+
297
+ /**
298
+ * Get Plugin Meta information
299
+ *
300
+ * @return array
301
+ *
302
+ *
303
+ */
304
+ public static function get_plugin_meta_info() {
305
+
306
+ $ig = new Icegram();
307
+ $is_premium_plan = $ig->is_premium();
308
+
309
+ $plugin_meta_info = array(
310
+ 'version' => IG_PLUGIN_VERSION,
311
+ 'installed_on' => get_option('ig_installed_on', ''),
312
+ 'is_premium' => ( $is_premium_plan ) ? 'yes' : 'no',
313
+ 'plan' => ( $is_premium_plan ) ? get_option('ig_engage_plan') : 'lite',
314
+ 'gallery_item_usage' => maybe_unserialize( get_option('ig_imported_gallery_items')),
315
+ 'settings' => array(
316
+ 'ig_allow_tracking' => get_option('ig_allow_tracking', 'no'),
317
+ 'ig_is_onboarding_completed' => get_option('ig_is_onboarding_completed', 'no'),
318
+ )
319
+ );
320
+
321
+ return $plugin_meta_info;
322
+ }
323
+
324
  }
325
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: icegram, storeapps, niravmehta, sandhyam, malayladu, putler, kisha
3
  Donate link: https://www.icegram.com/
4
  Tags: popup, optin, hellobar, lead capture, form
5
  Requires at least: 3.9
6
- Tested up to: 5.9.3
7
- Stable tag: 2.1.8
8
  License: GPLv3
9
 
10
  The best WordPress popup plugin that lets you create popups and action bars within seconds. Customize exit-intent popup campaigns, action bars, badges, stickies, inline optin, fullscreen overlay, ribbons, sidebar panel and more in no time.
@@ -458,16 +458,18 @@ Contact Us, provide as much detail of the problem as you can. We will try to sol
458
 
459
  == Upgrade Notice ==
460
 
461
- = 2.1.8 =
462
 
463
  * Update: WordPress 6.0 compatibility check
464
- * Fix: Improved security related to XSS [Thanks to WPScan team]
465
 
466
  == Changelog ==
467
 
468
- **2.1.8 (30.05.2022)**
469
 
470
  * Update: WordPress 6.0 compatibility check
 
 
 
471
  * Fix: Improved security related to XSS [Thanks to WPScan team]
472
 
473
  **2.1.7 (18.05.2022)**
3
  Donate link: https://www.icegram.com/
4
  Tags: popup, optin, hellobar, lead capture, form
5
  Requires at least: 3.9
6
+ Tested up to: 6.0
7
+ Stable tag: 2.1.9
8
  License: GPLv3
9
 
10
  The best WordPress popup plugin that lets you create popups and action bars within seconds. Customize exit-intent popup campaigns, action bars, badges, stickies, inline optin, fullscreen overlay, ribbons, sidebar panel and more in no time.
458
 
459
  == Upgrade Notice ==
460
 
461
+ = 2.1.9 =
462
 
463
  * Update: WordPress 6.0 compatibility check
 
464
 
465
  == Changelog ==
466
 
467
+ **2.1.9 (01.06.2022)**
468
 
469
  * Update: WordPress 6.0 compatibility check
470
+
471
+ **2.1.8 (30.05.2022)**
472
+
473
  * Fix: Improved security related to XSS [Thanks to WPScan team]
474
 
475
  **2.1.7 (18.05.2022)**