Version Description
Current Version of Popup Builder is 3.1.7
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 3.1.7.1 |
Comparing to | |
See all releases |
Code changes from version 3.1.7 to 3.1.7.1
- com/classes/Actions.php +4 -6
- com/classes/ConditionBuilder.php +0 -0
- com/classes/ConvertToNewVersion.php +0 -0
- com/classes/Installer.php +0 -0
- com/classes/Javascript.php +0 -0
- com/classes/MediaButton.php +0 -0
- com/classes/PopupChecker.php +0 -0
- com/classes/RegisterPostType.php +0 -0
- com/classes/ScriptsLoader.php +0 -0
- com/classes/Style.php +0 -0
- com/classes/dataTable/Subscribers.php +0 -0
- com/classes/extension/SgpbPopupExtension.php +0 -0
- com/classes/extension/SgpbPopupExtensionRegister.php +0 -0
- com/classes/popups/HtmlPopup.php +0 -0
- com/classes/popups/SGPopup.php +0 -0
- com/classes/popups/SubscriptionPopup.php +0 -0
- com/config/config.php +0 -0
- com/config/configPackage.php +1 -1
- com/config/dataConfig.php +0 -0
- com/helpers/AdminHelper.php +0 -0
- com/helpers/ConfigDataHelper.php +0 -0
- com/helpers/Functions.php +0 -0
- popup-builder.php +1 -1
- public/css/popupAdminStyles.css +0 -0
- public/js/Backend.js +0 -0
- public/js/MediaButton.js +0 -0
- public/js/Popup.js +0 -0
- public/js/PopupBuilder.js +0 -0
- public/views/dimensionsView.php +0 -0
- public/views/mediaButton.php +0 -0
- readme.txt +4 -1
com/classes/Actions.php
CHANGED
@@ -41,6 +41,7 @@ class Actions
|
|
41 |
add_filter('cron_schedules', array($this, 'cronAddMinutes'), 10, 1);
|
42 |
add_action('sgpb_send_newsletter', array($this, 'newsletterSendEmail'), 10, 1);
|
43 |
add_action('sgpbGetBannerContent', array($this, 'getBannerContent'), 10, 1);
|
|
|
44 |
add_action('admin_post_sgpbSaveSettings', array($this, 'saveSettings'), 10, 1);
|
45 |
add_action('admin_init', array($this, 'disableAutosave'));
|
46 |
add_action('admin_init', array($this, 'userRolesCaps'));
|
@@ -66,9 +67,6 @@ class Actions
|
|
66 |
update_option('sgpb-banner-remote-get', $bannerContent);
|
67 |
// right metabox banner content
|
68 |
$metaboxBannerContent = AdminHelper::getFileFromURL(SGPB_METABOX_BANNER_CRON_TEXT_URL);
|
69 |
-
|
70 |
-
$metaboxBannerContent = apply_filters('sgpbGetBannerContent', $metaboxBannerContent);
|
71 |
-
|
72 |
update_option('sgpb-metabox-banner-remote-get', $metaboxBannerContent);
|
73 |
|
74 |
return true;
|
@@ -76,9 +74,9 @@ class Actions
|
|
76 |
|
77 |
public function wpInit()
|
78 |
{
|
79 |
-
if (!get_option('sgpb-banner-cron-once')) {
|
80 |
-
update_option('sgpb-banner-cron-once', 1);
|
81 |
-
wp_schedule_event(time(), 'daily', '
|
82 |
}
|
83 |
new Updates();
|
84 |
}
|
41 |
add_filter('cron_schedules', array($this, 'cronAddMinutes'), 10, 1);
|
42 |
add_action('sgpb_send_newsletter', array($this, 'newsletterSendEmail'), 10, 1);
|
43 |
add_action('sgpbGetBannerContent', array($this, 'getBannerContent'), 10, 1);
|
44 |
+
add_action('sgpbGetBannerContentOnce', array($this, 'getBannerContent'), 10, 1);
|
45 |
add_action('admin_post_sgpbSaveSettings', array($this, 'saveSettings'), 10, 1);
|
46 |
add_action('admin_init', array($this, 'disableAutosave'));
|
47 |
add_action('admin_init', array($this, 'userRolesCaps'));
|
67 |
update_option('sgpb-banner-remote-get', $bannerContent);
|
68 |
// right metabox banner content
|
69 |
$metaboxBannerContent = AdminHelper::getFileFromURL(SGPB_METABOX_BANNER_CRON_TEXT_URL);
|
|
|
|
|
|
|
70 |
update_option('sgpb-metabox-banner-remote-get', $metaboxBannerContent);
|
71 |
|
72 |
return true;
|
74 |
|
75 |
public function wpInit()
|
76 |
{
|
77 |
+
if (!get_option('sgpb-banner-cron-only-once')) {
|
78 |
+
update_option('sgpb-banner-cron-only-once', 1);
|
79 |
+
wp_schedule_event(time(), 'daily', 'sgpbGetBannerContentOnce');
|
80 |
}
|
81 |
new Updates();
|
82 |
}
|
com/classes/ConditionBuilder.php
CHANGED
File without changes
|
com/classes/ConvertToNewVersion.php
CHANGED
File without changes
|
com/classes/Installer.php
CHANGED
File without changes
|
com/classes/Javascript.php
CHANGED
File without changes
|
com/classes/MediaButton.php
CHANGED
File without changes
|
com/classes/PopupChecker.php
CHANGED
File without changes
|
com/classes/RegisterPostType.php
CHANGED
File without changes
|
com/classes/ScriptsLoader.php
CHANGED
File without changes
|
com/classes/Style.php
CHANGED
File without changes
|
com/classes/dataTable/Subscribers.php
CHANGED
File without changes
|
com/classes/extension/SgpbPopupExtension.php
CHANGED
File without changes
|
com/classes/extension/SgpbPopupExtensionRegister.php
CHANGED
File without changes
|
com/classes/popups/HtmlPopup.php
CHANGED
File without changes
|
com/classes/popups/SGPopup.php
CHANGED
File without changes
|
com/classes/popups/SubscriptionPopup.php
CHANGED
File without changes
|
com/config/config.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.1.7');
|
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.1.7.1');
|
7 |
define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
|
8 |
define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
|
com/config/dataConfig.php
CHANGED
File without changes
|
com/helpers/AdminHelper.php
CHANGED
File without changes
|
com/helpers/ConfigDataHelper.php
CHANGED
File without changes
|
com/helpers/Functions.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.1.7
|
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.1.7.1
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: https://sygnoos.com
|
9 |
* License: GPLv2
|
public/css/popupAdminStyles.css
CHANGED
File without changes
|
public/js/Backend.js
CHANGED
File without changes
|
public/js/MediaButton.js
CHANGED
File without changes
|
public/js/Popup.js
CHANGED
File without changes
|
public/js/PopupBuilder.js
CHANGED
File without changes
|
public/views/dimensionsView.php
CHANGED
File without changes
|
public/views/mediaButton.php
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.1
|
11 |
Requires PHP: 5.3.3
|
12 |
-
Stable tag: 3.1.7
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
|
@@ -182,6 +182,9 @@ Go to the Popup Builder settings and set your desired options.
|
|
182 |
|
183 |
== Changelog ==
|
184 |
|
|
|
|
|
|
|
185 |
= Version 3.1.7 =
|
186 |
* Added Popup Builder button inside the TinyMCE editor, which will allow adding the popup shortcode inside the page/post content.
|
187 |
* Added compatability with page builders.
|
9 |
Requires at least: 3.8
|
10 |
Tested up to: 5.1
|
11 |
Requires PHP: 5.3.3
|
12 |
+
Stable tag: 3.1.7.1
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
|
182 |
|
183 |
== Changelog ==
|
184 |
|
185 |
+
= Version 3.1.7.1 =
|
186 |
+
* Bug fixes related to banner.
|
187 |
+
|
188 |
= Version 3.1.7 =
|
189 |
* Added Popup Builder button inside the TinyMCE editor, which will allow adding the popup shortcode inside the page/post content.
|
190 |
* Added compatability with page builders.
|