Popup Builder – Responsive WordPress Pop up - Version 3.53

Version Description

Current Version of Popup Builder is 3.52

Download this release

Release Info

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

Code changes from version 3.52 to 3.53

com/classes/NotificationCenter.php CHANGED
@@ -62,7 +62,6 @@ class SGPBNotificationCenter
62
  $content = apply_filters('sgpbExtraNotifications', $content);
63
  $content = json_encode($content);
64
  update_option('sgpb-all-notifications-data', $content);
65
- update_option('sgpb-notifications-request-sent', 1);
66
  }
67
 
68
  public function sortNotifications($allNotifications)
@@ -185,6 +184,7 @@ class SGPBNotificationCenter
185
  {
186
  if (!get_option('sgpb-notifications-request-sent')) {
187
  wp_schedule_event(time(), 'daily', 'sgpbGetNotifications');
 
188
  }
189
  }
190
  }
62
  $content = apply_filters('sgpbExtraNotifications', $content);
63
  $content = json_encode($content);
64
  update_option('sgpb-all-notifications-data', $content);
 
65
  }
66
 
67
  public function sortNotifications($allNotifications)
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
  }
com/classes/popups/SGPopup.php CHANGED
@@ -1512,10 +1512,7 @@ abstract class SGPopup
1512
  }
1513
 
1514
  $popup = self::find($postData->ID, $args);
1515
- if (empty($popup)) {
1516
- continue;
1517
- }
1518
- if (!($popup instanceof SGPopup)) {
1519
  continue;
1520
  }
1521
  $type = @$popup->getType();
1512
  }
1513
 
1514
  $popup = self::find($postData->ID, $args);
1515
+ if (empty($popup) || !($popup instanceof SGPopup)) {
 
 
 
1516
  continue;
1517
  }
1518
  $type = @$popup->getType();
com/config/configPackage.php CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
 
6
- define('SG_POPUP_VERSION', '3.51');
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.53');
7
  define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
8
  define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
popup-builder.php CHANGED
@@ -3,11 +3,11 @@
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.52
7
  * Author: Sygnoos
8
  * Author URI: https://sygnoos.com
9
  * License: GPLv2
10
- * Text Domain: popupBuilder
11
  * Domain Path: /languages/
12
  */
13
 
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.53
7
  * Author: Sygnoos
8
  * Author URI: https://sygnoos.com
9
  * License: GPLv2
10
+ * Text Domain: popup-builder
11
  * Domain Path: /languages/
12
  */
13
 
public/js/PopupBuilder.js CHANGED
@@ -2797,6 +2797,8 @@ SgpbEventListener.processCF7MailSent = function(popupId, options)
2797
  };
2798
 
2799
  jQuery(document).ready(function(e) {
2800
- SgpbEventListener.init();
2801
- SGPBPopup.listeners();
 
 
2802
  });
2797
  };
2798
 
2799
  jQuery(document).ready(function(e) {
2800
+ setTimeout(function(){
2801
+ SgpbEventListener.init();
2802
+ SGPBPopup.listeners();
2803
+ }, 1);
2804
  });
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.52
13
  License: GPLv2 or later
14
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
 
@@ -185,6 +185,11 @@ Go to the Popup Builder settings and set your desired options.
185
 
186
  == Changelog ==
187
 
 
 
 
 
 
188
  = Version 3.52 =
189
  * Popup notifications section improvements.
190
  * Translation .pot file updated.
9
  Requires at least: 3.8
10
  Tested up to: 5.3
11
  Requires PHP: 5.3.3
12
+ Stable tag: 3.53
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.53 =
189
+ * Added missing text domain.
190
+ * Fixes regarding cron tasks.
191
+ * Code improvements.
192
+
193
  = Version 3.52 =
194
  * Popup notifications section improvements.
195
  * Translation .pot file updated.