Popup Builder – Responsive WordPress Pop up - Version 3.55

Version Description

Current Version of Popup Builder is 3.55

Download this release

Release Info

Developer Sygnoos
Plugin Icon 128x128 Popup Builder – Responsive WordPress Pop up
Version 3.55
Comparing to
See all releases

Code changes from version 3.54 to 3.55

com/classes/NotificationCenter.php CHANGED
@@ -182,9 +182,8 @@ class SGPBNotificationCenter
182
 
183
  public function activateCron()
184
  {
185
- if (!get_option('sgpb-notifications-request-sent')) {
186
  wp_schedule_event(time(), 'daily', 'sgpbGetNotifications');
187
- update_option('sgpb-notifications-request-sent', 1);
188
  }
189
  }
190
  }
182
 
183
  public function activateCron()
184
  {
185
+ if (!wp_next_scheduled('sgpbGetNotifications')) {
186
  wp_schedule_event(time(), 'daily', 'sgpbGetNotifications');
 
187
  }
188
  }
189
  }
com/config/configPackage.php CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
 
6
- define('SG_POPUP_VERSION', '3.54');
7
  define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
8
  define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
3
  exit();
4
  }
5
 
6
+ define('SG_POPUP_VERSION', '3.55');
7
  define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
8
  define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
com/helpers/ConfigDataHelper.php CHANGED
@@ -17,21 +17,17 @@ class ConfigDataHelper
17
 
18
  public static function getQueryDataByArgs($args = array())
19
  {
20
- $query = get_transient('getQueryDataByArgs');
21
- if (($query = get_transient('getQueryDataByArgs')) === false) {
22
- $defaultArgs = array(
23
- 'offset' => '',
24
- 'orderby' => 'date',
25
- 'order' => 'DESC',
26
- 'post_status' => 'publish',
27
- 'suppress_filters' => true,
28
- 'post_type' => 'post',
29
- 'posts_per_page' => 1000
30
- );
31
- $args = wp_parse_args($args, $defaultArgs);
32
- $query = new WP_Query($args);
33
- set_transient('getQueryDataByArgs', $query, SGPB_TRANSIENT_TIMEOUT_HOUR);
34
- }
35
 
36
  return $query;
37
  }
17
 
18
  public static function getQueryDataByArgs($args = array())
19
  {
20
+ $defaultArgs = array(
21
+ 'offset' => '',
22
+ 'orderby' => 'date',
23
+ 'order' => 'DESC',
24
+ 'post_status' => 'publish',
25
+ 'suppress_filters' => true,
26
+ 'post_type' => 'post',
27
+ 'posts_per_page' => 1000
28
+ );
29
+ $args = wp_parse_args($args, $defaultArgs);
30
+ $query = new WP_Query($args);
 
 
 
 
31
 
32
  return $query;
33
  }
popup-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: https://popup-builder.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
- * Version: 3.54
7
  * Author: Sygnoos
8
  * Author URI: https://sygnoos.com
9
  * License: GPLv2
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: https://popup-builder.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
+ * Version: 3.55
7
  * Author: Sygnoos
8
  * Author URI: https://sygnoos.com
9
  * License: GPLv2
readme.txt CHANGED
@@ -9,7 +9,7 @@ Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wo
9
  Requires at least: 3.8
10
  Tested up to: 5.3
11
  Requires PHP: 5.3.3
12
- Stable tag: 3.54
13
  License: GPLv2 or later
14
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
 
@@ -185,6 +185,10 @@ Go to the Popup Builder settings and set your desired options.
185
 
186
  == Changelog ==
187
 
 
 
 
 
188
  = Version 3.54 =
189
  * Custom js issue related to code symbols (not encoded as expected).
190
  * Internet explorer compatibility issue fixed.
@@ -1095,7 +1099,7 @@ Leave us a good review :)
1095
 
1096
  == Upgrade Notice ==
1097
 
1098
- Current Version of Popup Builder is 3.54
1099
 
1100
  == Other Notes ==
1101
 
9
  Requires at least: 3.8
10
  Tested up to: 5.3
11
  Requires PHP: 5.3.3
12
+ Stable tag: 3.55
13
  License: GPLv2 or later
14
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
 
185
 
186
  == Changelog ==
187
 
188
+ = Version 3.55 =
189
+ * Bug fixed related to cron jobs.
190
+ * Code improvements.
191
+
192
  = Version 3.54 =
193
  * Custom js issue related to code symbols (not encoded as expected).
194
  * Internet explorer compatibility issue fixed.
1099
 
1100
  == Upgrade Notice ==
1101
 
1102
+ Current Version of Popup Builder is 3.55
1103
 
1104
  == Other Notes ==
1105