Version Description
Current Version of Popup Builder is 3.1.5
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 3.1.5.1 |
Comparing to | |
See all releases |
Code changes from version 3.1.5 to 3.1.5.1
- com/classes/Installer.php +4 -3
- com/classes/extension/SgpbPopupExtensionActivator.php +9 -2
- com/config/configPackage.php +1 -1
- popup-builder.php +1 -1
- readme.txt +4 -1
com/classes/Installer.php
CHANGED
@@ -98,9 +98,10 @@ class Installer
|
|
98 |
}
|
99 |
}
|
100 |
|
101 |
-
|
102 |
-
|
103 |
-
|
|
|
104 |
}
|
105 |
|
106 |
public static function setupInstallationsDateConfig()
|
98 |
}
|
99 |
}
|
100 |
|
101 |
+
if (SGPB_POPUP_PKG != SGPB_POPUP_PKG_FREE) {
|
102 |
+
$obj = new PopupExtensionActivator();
|
103 |
+
$obj->install();
|
104 |
+
}
|
105 |
}
|
106 |
|
107 |
public static function setupInstallationsDateConfig()
|
com/classes/extension/SgpbPopupExtensionActivator.php
CHANGED
@@ -32,16 +32,23 @@ class PopupExtensionActivator
|
|
32 |
|
33 |
activate_plugin($key);
|
34 |
}
|
35 |
-
|
36 |
return true;
|
37 |
}
|
38 |
|
39 |
private function getExtensionsInfo()
|
40 |
{
|
41 |
$extensionsInfo = array();
|
|
|
|
|
|
|
42 |
$it = new \RecursiveDirectoryIterator(SG_POPUP_BUILDER_PATH.'extensions', \RecursiveDirectoryIterator::SKIP_DOTS);
|
43 |
|
|
|
44 |
foreach ($it as $path => $fileInfo) {
|
|
|
|
|
|
|
45 |
$extensionFolderName = $fileInfo->getFilename();
|
46 |
$extensionMainFile = $this->getExtensionMainFile($extensionFolderName);
|
47 |
$extensionKey = $extensionFolderName.'/'.$extensionMainFile;
|
@@ -98,4 +105,4 @@ class PopupExtensionActivator
|
|
98 |
|
99 |
return $element;
|
100 |
}
|
101 |
-
}
|
32 |
|
33 |
activate_plugin($key);
|
34 |
}
|
35 |
+
|
36 |
return true;
|
37 |
}
|
38 |
|
39 |
private function getExtensionsInfo()
|
40 |
{
|
41 |
$extensionsInfo = array();
|
42 |
+
if (!file_exists(SG_POPUP_BUILDER_PATH.'extensions')) {
|
43 |
+
return $extensionsInfo;
|
44 |
+
}
|
45 |
$it = new \RecursiveDirectoryIterator(SG_POPUP_BUILDER_PATH.'extensions', \RecursiveDirectoryIterator::SKIP_DOTS);
|
46 |
|
47 |
+
|
48 |
foreach ($it as $path => $fileInfo) {
|
49 |
+
if (empty($fileInfo)) {
|
50 |
+
continue;
|
51 |
+
}
|
52 |
$extensionFolderName = $fileInfo->getFilename();
|
53 |
$extensionMainFile = $this->getExtensionMainFile($extensionFolderName);
|
54 |
$extensionKey = $extensionFolderName.'/'.$extensionMainFile;
|
105 |
|
106 |
return $element;
|
107 |
}
|
108 |
+
}
|
com/config/configPackage.php
CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
|
|
3 |
exit();
|
4 |
}
|
5 |
|
6 |
-
define('SG_POPUP_VERSION', '3.1.5');
|
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.5.1');
|
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.1.5
|
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.5.1
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: https://sygnoos.com
|
9 |
* License: GPLv2
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wo
|
|
7 |
Requires at least: 3.8
|
8 |
Tested up to: 5.0
|
9 |
Requires PHP: 5.3.3
|
10 |
-
Stable tag: 3.1.5
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -180,6 +180,9 @@ Go to the Popup Builder settings and set your desired options.
|
|
180 |
|
181 |
== Changelog ==
|
182 |
|
|
|
|
|
|
|
183 |
= Version 3.1.5 =
|
184 |
* Improvements related to popup analytics.
|
185 |
* Bug fixed related to onclick with 'set popup by css class' option.
|
7 |
Requires at least: 3.8
|
8 |
Tested up to: 5.0
|
9 |
Requires PHP: 5.3.3
|
10 |
+
Stable tag: 3.1.5.1
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
180 |
|
181 |
== Changelog ==
|
182 |
|
183 |
+
= Version 3.1.5.1 =
|
184 |
+
* Bug fixes and improvements.
|
185 |
+
|
186 |
= Version 3.1.5 =
|
187 |
* Improvements related to popup analytics.
|
188 |
* Bug fixed related to onclick with 'set popup by css class' option.
|