Version Description
Current Version of Popup Builder is 3.65
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 3.65 |
Comparing to | |
See all releases |
Code changes from version 3.64.1 to 3.65
- PopupBuilderInit.php +0 -0
- com/classes/Actions.php +2 -0
- com/classes/Ajax.php +0 -0
- com/classes/Feedback.php +0 -3
- com/classes/extension/SgpbPopupExtension.php +0 -0
- com/classes/popups/SGPopup.php +0 -0
- com/config/configPackage.php +1 -1
- com/helpers/AdminHelper.php +31 -0
- com/helpers/ConfigDataHelper.php +0 -0
- popup-builder.php +1 -1
- public/css/popupAdminStyles.css +0 -0
- public/css/sgbp-bootstrap.css +0 -0
- public/js/Banner.js +0 -0
- public/js/Popup.js +0 -0
- public/js/PopupBuilder.js +0 -0
- readme.txt +5 -2
PopupBuilderInit.php
CHANGED
File without changes
|
com/classes/Actions.php
CHANGED
@@ -737,6 +737,8 @@ class Actions
|
|
737 |
$this->unsubscribe($unsubscribeArgs);
|
738 |
}
|
739 |
|
|
|
|
|
740 |
$this->customPostTypeObj = new RegisterPostType();
|
741 |
}
|
742 |
|
737 |
$this->unsubscribe($unsubscribeArgs);
|
738 |
}
|
739 |
|
740 |
+
AdminHelper::removeUnnecessaryCodeFromPopups();
|
741 |
+
|
742 |
$this->customPostTypeObj = new RegisterPostType();
|
743 |
}
|
744 |
|
com/classes/Ajax.php
CHANGED
File without changes
|
com/classes/Feedback.php
CHANGED
@@ -45,10 +45,7 @@ class SGPBFeedback
|
|
45 |
$headers .= 'Content-type: text/html; charset=UTF-8'."\r\n"; //set UTF-8
|
46 |
|
47 |
$receiver = 'feedbackpopupbuilder@gmail.com';
|
48 |
-
$customerEmailAddres = get_bloginfo('admin_email');
|
49 |
$title = 'Popup Builder Deactivation Feedback From Customer';
|
50 |
-
$message = 'Customer site - '.get_site_url().'<br>'."\n";
|
51 |
-
$message = 'Customer email address - '.$customerEmailAddres.'<br>'."\n";
|
52 |
$message .= 'Feedback key - '.$feedbackKey.'<br>'."\n";
|
53 |
$message .= 'Feedback text - '.$feedbackText."\n";
|
54 |
|
45 |
$headers .= 'Content-type: text/html; charset=UTF-8'."\r\n"; //set UTF-8
|
46 |
|
47 |
$receiver = 'feedbackpopupbuilder@gmail.com';
|
|
|
48 |
$title = 'Popup Builder Deactivation Feedback From Customer';
|
|
|
|
|
49 |
$message .= 'Feedback key - '.$feedbackKey.'<br>'."\n";
|
50 |
$message .= 'Feedback text - '.$feedbackText."\n";
|
51 |
|
com/classes/extension/SgpbPopupExtension.php
CHANGED
File without changes
|
com/classes/popups/SGPopup.php
CHANGED
File without changes
|
com/config/configPackage.php
CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
|
|
3 |
exit();
|
4 |
}
|
5 |
|
6 |
-
define('SG_POPUP_VERSION', '3.
|
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.65');
|
7 |
define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
|
8 |
define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
|
com/helpers/AdminHelper.php
CHANGED
@@ -2126,4 +2126,35 @@ class AdminHelper
|
|
2126 |
}
|
2127 |
}
|
2128 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2129 |
}
|
2126 |
}
|
2127 |
}
|
2128 |
}
|
2129 |
+
|
2130 |
+
public static function removeUnnecessaryCodeFromPopups()
|
2131 |
+
{
|
2132 |
+
$alreadyClearded = self::getOption('sgpb-unnecessary-scripts-removed-1');
|
2133 |
+
if ($alreadyClearded) {
|
2134 |
+
return true;
|
2135 |
+
}
|
2136 |
+
|
2137 |
+
global $wpdb;
|
2138 |
+
$getAllDataSql = $wpdb->prepare('SELECT id FROM '.$wpdb->prefix.'posts WHERE post_type = %s', SG_POPUP_POST_TYPE);
|
2139 |
+
$popupsId = $wpdb->get_results($getAllDataSql, ARRAY_A);
|
2140 |
+
if (empty($popupsId)) {
|
2141 |
+
return true;
|
2142 |
+
}
|
2143 |
+
foreach ($popupsId as $popupId) {
|
2144 |
+
if (empty($popupId['id'])) {
|
2145 |
+
continue;
|
2146 |
+
}
|
2147 |
+
$id = $popupId['id'];
|
2148 |
+
$customScripts = get_post_meta($id, 'sg_popup_scripts', true);
|
2149 |
+
if (empty($customScripts)) {
|
2150 |
+
continue;
|
2151 |
+
}
|
2152 |
+
if (isset($customScripts['js'])) {
|
2153 |
+
unset($customScripts['js']);
|
2154 |
+
update_post_meta($id, 'sg_popup_scripts', $customScripts);
|
2155 |
+
}
|
2156 |
+
}
|
2157 |
+
|
2158 |
+
self::updateOption('sgpb-unnecessary-scripts-removed-1', 1);
|
2159 |
+
}
|
2160 |
}
|
com/helpers/ConfigDataHelper.php
CHANGED
File without changes
|
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.
|
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.65
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: https://sygnoos.com
|
9 |
* License: GPLv2
|
public/css/popupAdminStyles.css
CHANGED
File without changes
|
public/css/sgbp-bootstrap.css
CHANGED
File without changes
|
public/js/Banner.js
CHANGED
File without changes
|
public/js/Popup.js
CHANGED
File without changes
|
public/js/PopupBuilder.js
CHANGED
File without changes
|
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.
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
|
@@ -185,6 +185,9 @@ Go to the Popup Builder settings and set your desired options.
|
|
185 |
|
186 |
== Changelog ==
|
187 |
|
|
|
|
|
|
|
188 |
= Version 3.64 =
|
189 |
* Security fixes.
|
190 |
* Conflict resolved related to Duplicate Post plugin.
|
@@ -1154,7 +1157,7 @@ Leave us a good review :)
|
|
1154 |
|
1155 |
== Upgrade Notice ==
|
1156 |
|
1157 |
-
Current Version of Popup Builder is 3.
|
1158 |
|
1159 |
== Other Notes ==
|
1160 |
|
9 |
Requires at least: 3.8
|
10 |
Tested up to: 5.3
|
11 |
Requires PHP: 5.3.3
|
12 |
+
Stable tag: 3.65
|
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.65 =
|
189 |
+
* Reset the custom JS metabox to prevent code injection from versions < 3.64
|
190 |
+
|
191 |
= Version 3.64 =
|
192 |
* Security fixes.
|
193 |
* Conflict resolved related to Duplicate Post plugin.
|
1157 |
|
1158 |
== Upgrade Notice ==
|
1159 |
|
1160 |
+
Current Version of Popup Builder is 3.65
|
1161 |
|
1162 |
== Other Notes ==
|
1163 |
|