Version Description
Current Version of Popup Builder is 3.68.3
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 3.68.3 |
Comparing to | |
See all releases |
Code changes from version 3.68.2 to 3.68.3
- com/classes/Actions.php +3 -2
- com/classes/ConditionBuilder.php +1 -1
- com/config/configPackage.php +1 -1
- popup-builder.php +1 -1
- public/js/PopupConfig.js +1 -1
- readme.txt +9 -4
com/classes/Actions.php
CHANGED
@@ -599,7 +599,7 @@ class Actions
|
|
599 |
wp_clear_scheduled_hook('sgpb_send_newsletter');
|
600 |
return false;
|
601 |
}
|
602 |
-
|
603 |
$selectionQuery = 'SELECT id FROM '.$wpdb->prefix.SGPB_SUBSCRIBERS_TABLE_NAME.' WHERE';
|
604 |
$selectionQuery = apply_filters('sgpbUserSelectionQuery', $selectionQuery);
|
605 |
$sql = $wpdb->prepare($selectionQuery .' and subscriptionType = %d limit 1', $subscriptionFormId);
|
@@ -630,7 +630,7 @@ class Actions
|
|
630 |
delete_option('SGPB_NEWSLETTER_'.$subscriptionFormId);
|
631 |
wp_clear_scheduled_hook('sgpb_send_newsletter');
|
632 |
return;
|
633 |
-
}
|
634 |
|
635 |
$getAllDataSql = 'SELECT id, firstName, lastName, email FROM '.$wpdb->prefix.SGPB_SUBSCRIBERS_TABLE_NAME.' WHERE';
|
636 |
$getAllDataSql = apply_filters('sgpbUserSelectionQuery', $getAllDataSql);
|
@@ -1117,6 +1117,7 @@ class Actions
|
|
1117 |
$metaValues = get_post_custom_values($metaKey, $post->ID);
|
1118 |
foreach ($metaValues as $metaValue) {
|
1119 |
$metaValue = maybe_unserialize($metaValue);
|
|
|
1120 |
add_post_meta($newId, $metaKey, $this->popupWpSlash($metaValue));
|
1121 |
}
|
1122 |
}
|
599 |
wp_clear_scheduled_hook('sgpb_send_newsletter');
|
600 |
return false;
|
601 |
}
|
602 |
+
|
603 |
$selectionQuery = 'SELECT id FROM '.$wpdb->prefix.SGPB_SUBSCRIBERS_TABLE_NAME.' WHERE';
|
604 |
$selectionQuery = apply_filters('sgpbUserSelectionQuery', $selectionQuery);
|
605 |
$sql = $wpdb->prepare($selectionQuery .' and subscriptionType = %d limit 1', $subscriptionFormId);
|
630 |
delete_option('SGPB_NEWSLETTER_'.$subscriptionFormId);
|
631 |
wp_clear_scheduled_hook('sgpb_send_newsletter');
|
632 |
return;
|
633 |
+
}
|
634 |
|
635 |
$getAllDataSql = 'SELECT id, firstName, lastName, email FROM '.$wpdb->prefix.SGPB_SUBSCRIBERS_TABLE_NAME.' WHERE';
|
636 |
$getAllDataSql = apply_filters('sgpbUserSelectionQuery', $getAllDataSql);
|
1117 |
$metaValues = get_post_custom_values($metaKey, $post->ID);
|
1118 |
foreach ($metaValues as $metaValue) {
|
1119 |
$metaValue = maybe_unserialize($metaValue);
|
1120 |
+
$metaValue['sgpb-post-id'] = $newId;
|
1121 |
add_post_meta($newId, $metaKey, $this->popupWpSlash($metaValue));
|
1122 |
}
|
1123 |
}
|
com/classes/ConditionBuilder.php
CHANGED
@@ -120,7 +120,7 @@ class ConditionBuilder
|
|
120 |
|
121 |
foreach($conditionData as $groupId => $groupData) {
|
122 |
|
123 |
-
if(empty($groupData)) {
|
124 |
continue;
|
125 |
}
|
126 |
global $SGPB_DATA_CONFIG_ARRAY;
|
120 |
|
121 |
foreach($conditionData as $groupId => $groupData) {
|
122 |
|
123 |
+
if(empty($groupData) || !is_array($groupData)) {
|
124 |
continue;
|
125 |
}
|
126 |
global $SGPB_DATA_CONFIG_ARRAY;
|
com/config/configPackage.php
CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
|
|
3 |
exit();
|
4 |
}
|
5 |
|
6 |
-
define('SG_POPUP_VERSION', '3.68.
|
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.68.3');
|
7 |
define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
|
8 |
define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
|
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.68.
|
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.68.3
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: https://sygnoos.com
|
9 |
* License: GPLv2
|
public/js/PopupConfig.js
CHANGED
@@ -9,7 +9,7 @@ else{var param=functionName.replace(/^set/g,"").firstToLowerCase();this[param]=a
|
|
9 |
{if(this.isIE()){var event=document.createEvent('CustomEvent');event.initCustomEvent(eventName,true,true,args);}
|
10 |
else{var event=new CustomEvent(eventName,{detail:args,bubbles:true,cancelable:true});}
|
11 |
window.dispatchEvent(event);};PopupConfig.prototype.combineConfigObj=function()
|
12 |
-
{var that=this;var eventSendArgs={'popupId':that.popupId,'popupData':that.popupData,'currentObj':that.currentObj};window.sgWindowOldWidth=window.innerWidth;window.sgWindowOldHeight=window.innerHeight;var config={popupId:that.popupId,openDelay:this.openDelay,popupTheme:this.popupTheme,popupType:this.popupType,closeBehavior:{allowed:this.allowed,showButton:this.showButton,buttonPosition:this.buttonPosition,buttonInside:this.buttonInside,autoclose:this.autoclose,overlayShouldClose:this.overlayShouldClose,contentShouldClose:this.contentShouldClose,escShouldClose:this.escShouldClose,right:this.closeButtonPositionRight,top:this.closeButtonPositionTop,bottom:this.closeButtonPositionBottom,left:this.closeButtonPositionLeft},openAnimation:{type:this.openAnimationEffect,speed:this.openAnimationSpeed,status:this.openAnimationStatus},closeAnimation:{type:this.closeAnimationEffect,speed:this.closeAnimationSpeed,status:this.closeAnimationStatus},closeButton:{data:this.buttonImage,width:this.closeButtonWidth,height:this.closeButtonHeight,widthType:this.closeButtonWidthType,heightType:this.closeButtonHeightType,type:this.closeButtonType,text:this.closeButtonText},overlay:{visible:this.overlayVisible,color:this.overlayColor,opacity:this.overlayOpacity,addClass:this.overlayAddClass},contentBox:{padding:this.contentPadding,zIndex:this.zIndex,showBackground:this.contentShowBackground,backgroundColor:this.contentBackgroundColor,backgroundImage:this.contentBackgroundImage,backgroundMode:this.contentBackgroundMode,backgroundPosition:this.contentBackgroundPosition,borderStyle:this.contentBorderStyle,borderRadius:this.contentBorderRadius,borderRadiusType:this.contentBorderRadiusType,borderColor:this.contentBorderColor,borderWidth:this.contentBorderWidth,boxBorderWidth:this.boxBorderWidth,shadowColor:this.contentShadowColor,shadowBlur:this.contentShadowBlur,scrollingEnabled:this.scrollingEnabled,shadowSpread:this.shadowSpread,addClass:this.contentAddClass},contents:this.contents,inline:this.srcElement,iframe:false,position:{right:this.positionRight,top:this.positionTop,bottom:this.positionBottom,left:this.positionLeft},sizingRanges:[{screenFrom:{width:0,height:0},screenTo:{width:300,height:3000},width:'100%',height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight},{screenFrom:{width:300,height:0},screenTo:{width:
|
13 |
else{var finalArgs=Object.assign(args,eventSendArgs);}
|
14 |
that.addCustomEvent('sgpbDidOpen',finalArgs);},shouldClose:function(){return true;},willClose:function(){that.addCustomEvent('sgpbWillClose',eventSendArgs);},didClose:function(){that.addCustomEvent('sgpbDidClose',eventSendArgs);}};if(this.customShouldOpen){config.shouldOpen=this.customShouldOpen;}
|
15 |
if(this.customShouldClose){config.shouldClose=this.customShouldClose;}
|
9 |
{if(this.isIE()){var event=document.createEvent('CustomEvent');event.initCustomEvent(eventName,true,true,args);}
|
10 |
else{var event=new CustomEvent(eventName,{detail:args,bubbles:true,cancelable:true});}
|
11 |
window.dispatchEvent(event);};PopupConfig.prototype.combineConfigObj=function()
|
12 |
+
{var that=this;var eventSendArgs={'popupId':that.popupId,'popupData':that.popupData,'currentObj':that.currentObj};window.sgWindowOldWidth=window.innerWidth;window.sgWindowOldHeight=window.innerHeight;var config={popupId:that.popupId,openDelay:this.openDelay,popupTheme:this.popupTheme,popupType:this.popupType,closeBehavior:{allowed:this.allowed,showButton:this.showButton,buttonPosition:this.buttonPosition,buttonInside:this.buttonInside,autoclose:this.autoclose,overlayShouldClose:this.overlayShouldClose,contentShouldClose:this.contentShouldClose,escShouldClose:this.escShouldClose,right:this.closeButtonPositionRight,top:this.closeButtonPositionTop,bottom:this.closeButtonPositionBottom,left:this.closeButtonPositionLeft},openAnimation:{type:this.openAnimationEffect,speed:this.openAnimationSpeed,status:this.openAnimationStatus},closeAnimation:{type:this.closeAnimationEffect,speed:this.closeAnimationSpeed,status:this.closeAnimationStatus},closeButton:{data:this.buttonImage,width:this.closeButtonWidth,height:this.closeButtonHeight,widthType:this.closeButtonWidthType,heightType:this.closeButtonHeightType,type:this.closeButtonType,text:this.closeButtonText},overlay:{visible:this.overlayVisible,color:this.overlayColor,opacity:this.overlayOpacity,addClass:this.overlayAddClass},contentBox:{padding:this.contentPadding,zIndex:this.zIndex,showBackground:this.contentShowBackground,backgroundColor:this.contentBackgroundColor,backgroundImage:this.contentBackgroundImage,backgroundMode:this.contentBackgroundMode,backgroundPosition:this.contentBackgroundPosition,borderStyle:this.contentBorderStyle,borderRadius:this.contentBorderRadius,borderRadiusType:this.contentBorderRadiusType,borderColor:this.contentBorderColor,borderWidth:this.contentBorderWidth,boxBorderWidth:this.boxBorderWidth,shadowColor:this.contentShadowColor,shadowBlur:this.contentShadowBlur,scrollingEnabled:this.scrollingEnabled,shadowSpread:this.shadowSpread,addClass:this.contentAddClass},contents:this.contents,inline:this.srcElement,iframe:false,position:{right:this.positionRight,top:this.positionTop,bottom:this.positionBottom,left:this.positionLeft},sizingRanges:[{screenFrom:{width:0,height:0},screenTo:{width:300,height:3000},width:'100%',height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight},{screenFrom:{width:300,height:0},screenTo:{width:5000,height:3000},width:this.width,height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight}],shouldOpen:function(){return true;},willOpen:function(){that.addCustomEvent('sgpbWillOpen',eventSendArgs);},didOpen:function(args){if(that.isIE()){var finalArgs=[args,eventSendArgs],finalArgs=finalArgs.reduce(function(r,o){Object.keys(o).forEach(function(k){r[k]=o[k];});return r;},{});}
|
13 |
else{var finalArgs=Object.assign(args,eventSendArgs);}
|
14 |
that.addCustomEvent('sgpbDidOpen',finalArgs);},shouldClose:function(){return true;},willClose:function(){that.addCustomEvent('sgpbWillClose',eventSendArgs);},didClose:function(){that.addCustomEvent('sgpbDidClose',eventSendArgs);}};if(this.customShouldOpen){config.shouldOpen=this.customShouldOpen;}
|
15 |
if(this.customShouldClose){config.shouldClose=this.customShouldClose;}
|
readme.txt
CHANGED
@@ -6,10 +6,10 @@ Author URI: https://popup-builder.com
|
|
6 |
Plugin URI: https://popup-builder.com
|
7 |
Donate link: https://popup-builder.com
|
8 |
Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wordpress popup plugin
|
9 |
-
Requires at least:
|
10 |
Tested up to: 5.4
|
11 |
Requires PHP: 5.3.3
|
12 |
-
Stable tag: 3.68.
|
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.68.2 =
|
189 |
* Popup Builder custom post type renamed to be more recognizable
|
190 |
* Image upload issue
|
@@ -199,7 +204,7 @@ Go to the Popup Builder settings and set your desired options.
|
|
199 |
* Conflict fixed related to Beaver builder plugin in page/post creation page.
|
200 |
|
201 |
= Version 3.67 =
|
202 |
-
* The Popup Builder posts were removed from sitemaps which is being generated by WordPress SEO Plugin
|
203 |
* The design of Subscription popup field issues (when some themes overwrite the colors) are fixed now.
|
204 |
* Compatibility issues in the PHP version are fixed.
|
205 |
|
@@ -1189,7 +1194,7 @@ Leave us a good review :)
|
|
1189 |
|
1190 |
== Upgrade Notice ==
|
1191 |
|
1192 |
-
Current Version of Popup Builder is 3.68.
|
1193 |
|
1194 |
== Other Notes ==
|
1195 |
|
6 |
Plugin URI: https://popup-builder.com
|
7 |
Donate link: https://popup-builder.com
|
8 |
Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wordpress popup plugin
|
9 |
+
Requires at least: 4.2
|
10 |
Tested up to: 5.4
|
11 |
Requires PHP: 5.3.3
|
12 |
+
Stable tag: 3.68.3
|
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.68.3 =
|
189 |
+
* Bug fixed related to the error message while uploading image for close button.
|
190 |
+
* Bug fixed related to the popup cloning.
|
191 |
+
* Popup opening size improvement related to wide screens.
|
192 |
+
|
193 |
= Version 3.68.2 =
|
194 |
* Popup Builder custom post type renamed to be more recognizable
|
195 |
* Image upload issue
|
204 |
* Conflict fixed related to Beaver builder plugin in page/post creation page.
|
205 |
|
206 |
= Version 3.67 =
|
207 |
+
* The Popup Builder posts were removed from sitemaps which is being generated by WordPress SEO Plugin – Rank Math.
|
208 |
* The design of Subscription popup field issues (when some themes overwrite the colors) are fixed now.
|
209 |
* Compatibility issues in the PHP version are fixed.
|
210 |
|
1194 |
|
1195 |
== Upgrade Notice ==
|
1196 |
|
1197 |
+
Current Version of Popup Builder is 3.68.3
|
1198 |
|
1199 |
== Other Notes ==
|
1200 |
|