Popup Builder – Responsive WordPress Pop up - Version 2.5.6

Version Description

Current Version of Popup Builder is 2.5.4

Download this release

Release Info

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

Code changes from version 2.5.5 to 2.5.6

Files changed (4) hide show
  1. config.php +2 -2
  2. files/sg_functions.php +3 -9
  3. popup-builder.php +1 -1
  4. readme.txt +17 -14
config.php CHANGED
@@ -24,8 +24,8 @@ if(!class_exists('SgPopupBuilderConfig')) {
24
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
25
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
26
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
27
- define('SG_POPUP_VERSION', 2.55);
28
- define('SG_POPUP_PRO_VERSION', 3.25);
29
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
31
  define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
24
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
25
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
26
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
27
+ define('SG_POPUP_VERSION', 2.56);
28
+ define('SG_POPUP_PRO_VERSION', 3.26);
29
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
31
  define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
files/sg_functions.php CHANGED
@@ -13,15 +13,9 @@ class SGFunctions
13
 
14
  public static function sgPopupDataSanitize($sgPopupData)
15
  {
16
-
17
- $allowedHtmltags = wp_kses_allowed_html('post');
18
- $allowedHtmltags['input'] = array('name'=>true, 'class'=>true, 'id'=>true, 'placeholder'=>true, 'title'=>true, 'value'=>true, 'type'=>true, 'src'=>true);
19
- $allowedHtmltags['select'] = array('name'=>true, 'class'=>true, 'id'=>true, 'placeholder'=>true, 'title'=>true, 'size'=>true, 'multiple'=>true, 'disabled'=>true,'autofocus'=>true);
20
- $allowedHtmltags['option'] = array('value'=>true, 'class'=>true, 'id'=>true, 'placeholder'=>true, 'selected'=>true, 'label'=>true, 'disabled'=>true);
21
- $allowedHtmltags['link'] = array('href'=>true, 'charset'=>true, 'hreflang'=>true, 'media'=>true, 'rel'=>true, 'rev'=>true, 'sizes'=>true,'type'=>true);
22
- $allowedHtmltags['script'] = array('src'=>true, 'type'=>true, 'async'=>true, 'charset'=>true);
23
- $allowedHtmltags['style'] = array('type'=>true, 'media'=>true, 'scoped'=>true);
24
- return wp_kses($sgPopupData, $allowedHtmltags);
25
  }
26
 
27
  public static function getPopupsDataList($restrictParams = array()) {
13
 
14
  public static function sgPopupDataSanitize($sgPopupData)
15
  {
16
+ /*Remove iframe tag and empty line*/
17
+ $pattern = '/\s+(<iframe.*?>.*?<\/iframe>)/';
18
+ return preg_replace($pattern, '', $sgPopupData);
 
 
 
 
 
 
19
  }
20
 
21
  public static function getPopupsDataList($restrictParams = array()) {
popup-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: http://sygnoos.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: 2.5.5
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: http://sygnoos.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: 2.5.6
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
readme.txt CHANGED
@@ -2,29 +2,29 @@
2
  Plugin Name: Popup
3
  Contributors: Sygnoos, Popup By Sygnoos
4
  Author: Sygnoos
5
- Donate link: http://popup-builder.com
6
- Tags: popup, restriction popup, exit intent popup, subscription popup
7
  Requires at least: 3.8
8
  Tested up to: 4.7.3
9
  Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
- Popup Builder is the most complete popup plugin. Html, image, shortcode and many other popup types. Manage popup dimensions, effects, themes.
14
 
15
  == Description ==
16
 
17
  #### Popup Builder
18
 
19
- Popup anything with Popup builder, create and manage powerful promotion popups for your WordPress blog or website. Powerful, and yet, easy to use popup plugin that will help you to grab your visitors' attention to introduce them your offers, discounts or other kind of promotional notices.
20
 
21
  https://www.youtube.com/watch?v=3ZwRKPhHMzY
22
 
23
- Popup Builder is a popup plugin for WordPress website that allows you to add highly customizable popup windows. This plugin will enable awesome popup in your WordPress website using short codes. You can add unlimited popups with their own configurations. We added effective settings'-panel for each popup. So, you can fully customize the popup themes, colors, sizes and many many other options.
24
 
25
- Popups are a good marketing tool, they're impressively high converting. A web page with a popup typically sees more conversions than the same page without a popup. More important, a page with a well designed and thoughtfully implemented popup converts better than one with a poor popup. With Popup Builder plugin you can customize the popup according to your needs.
26
 
27
- With popup builder plugin you can insert any type of content, right into your Popup. Insert your popup into any page or a post, easily and fast. Popups that open automatically, are the best solution to attract your visitor's attention. Add some effects to your Popup and your customers won't go unnoticed.
28
 
29
  **Popup Builder - Features:**
30
 
@@ -69,7 +69,7 @@ With popup builder plugin you can insert any type of content, right into your Po
69
 
70
  * Video popup - embed YouTube and Vimeo videos inside your popup.
71
 
72
- * Social popup - this is a great type of a popup if you need to share/like your site. In social popup we have added all popular social networks like Facebook, Linkedin, Twitter, Google Plus etc.
73
 
74
  * Age restriction popup - sometimes the site content may not be appropriate for all audiences. In these cases, users may not be able to view the content until they pass age confirmation popup.
75
 
@@ -116,7 +116,7 @@ With popup builder plugin you can insert any type of content, right into your Po
116
 
117
  Popup Builder team constantly works on upgrades and improvements. With our upcoming updates we are planning to add more types of popups.
118
 
119
- Thank you for using our popup plugin.
120
 
121
  <div>
122
  <div>
@@ -159,6 +159,9 @@ Go to the Popup Builder settings and set your desired options.
159
 
160
  == Changelog ==
161
 
 
 
 
162
  = Version 2.5.4 - 2.5.5 =
163
  * Security update.
164
 
@@ -477,7 +480,7 @@ This will open a popup before a user goes to the page from the link.
477
 
478
  **How to redirect users after clicking on the popup image?**
479
 
480
- Go to the ‘Options’ section of your popup and find "Dismiss on content click" option.
481
  Then Select "Redirect" option and in the URL field type the URL of the page you need your users to be redirected to.
482
 
483
  **Can I show a popup after a specific amount of time?**
@@ -631,21 +634,21 @@ There are several options' sections available where you can configure the popup
631
 
632
  = Image Popup =
633
 
634
- You are writing about an awesome topic and want your ideas to stand out in the crowd? Well, you can easily do it by making use of an image popup thus adding a topic image to the plot.
635
- The installed image popup allows to determine the image dimensions, which, in its turn, are resized/repositioned automatically when the window is being resized. This popup provides options for choosing the image frame theme and effects that vary in the duration of the popup animation as well. There is also the possibility to specify how long the ready-made popup appearance should be delayed after loading the page (in sec).
636
  With the help of both basic and advanced options, you are able to freely regulate the dismissal, display, color and location of the image popup. It can appear at the top right/left corner, at the bottom or in the center. You can choose to show the popup whenever the user scrolls the page or ensure its permanent occurrence by disabling popup closing in any possible way. On the other hand, the popup can be chosen to close automatically, be dismissed when the user clicks inside or beyond of the popup area. Also, it's up to you to decide on your popup accessibility on different devices (PC, mobile, etc.).
637
 
638
 
639
  = ShortCode Popup =
640
 
641
  It is so wonderful and advantageous that more and more people take up the business of Internet content creation, as each of them tries to enrich us with marvelous tools to make use of in different spheres. Some are the authors of tooltips, column layouts, galleries, others of buttons, block quotes, social media buttons, etc.. All of the latter can be inserted into any of your content, page or post in the form of a short code which will be opened in a popup window.
642
- Besides having the ability to add a short code into the popup, it is also possible to manage the popup development with the help of different options available. First, you can apply a certain theme and/or effect to it, decide how long its appearance should be delayed after loading the page. Then, you will be able to configure the display and dismissal of the popup by choosing it to be closed automatically or by hand, be opened while scrolling or be a permanent one. Also, you are to decide where the popup will be located.
643
  As far as the popup accessibility on different devices is freely manageable too, the popup is quite responsive and is resized accordingly.
644
 
645
 
646
  = Iframe Popup =
647
 
648
- Here is another useful popup to make your content or website more sociable and vibrant. It is a great addition to your social toolkit, since Iframe enables you to include and remind of another website with the help of a simple popup.
649
  One can think of a number of cases when this popup can efficiently be used.
650
  For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
651
  It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.
2
  Plugin Name: Popup
3
  Contributors: Sygnoos, Popup By Sygnoos
4
  Author: Sygnoos
5
+ Donate link: https://popup-builder.com
6
+ Tags: popup, pop up, exit popup, modal, wordpress popup
7
  Requires at least: 3.8
8
  Tested up to: 4.7.3
9
  Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
+ Popup Builder is the most complete pop up plugin. Html, image, shortcode and many other popup types. Manage popup dimensions, effects, themes.
14
 
15
  == Description ==
16
 
17
  #### Popup Builder
18
 
19
+ Pop up anything with Popup builder, create and manage powerful promotion modal popups for your WordPress blog or website. Powerful, and yet, easy to use popup plugin that will help you to grab your visitors' attention to introduce them your offers, discounts or other kind of promotional notices.
20
 
21
  https://www.youtube.com/watch?v=3ZwRKPhHMzY
22
 
23
+ Popup Builder is a modal popup plugin for WordPress website that allows you to add highly customizable pop up windows. This plugin will enable awesome popup in your WordPress website using short codes. You can add unlimited popups with their own configurations. We added effective settings'-panel for each popup. So, you can fully customize the popup themes, colors, sizes and many other options.
24
 
25
+ Popups are a good marketing tool, they're impressively high converting. A web page with a modal popup typically sees more conversions than the same page without a popup. More important, a page with a well designed and thoughtfully implemented popup converts better than one with a poor popup. With Popup Builder plugin you can customize the popup according to your needs.
26
 
27
+ With popup builder plugin you can insert any type of content, right into your Popup. Insert your pop-up into any page or a post, easily and fast. Popups that open automatically, are the best solution to attract your visitor's attention. Add some effects to your Popup and your customers won't go unnoticed.
28
 
29
  **Popup Builder - Features:**
30
 
69
 
70
  * Video popup - embed YouTube and Vimeo videos inside your popup.
71
 
72
+ * Social popup - this is a great type of a popup if you need to share/like your site. In social popup we have added all popular social networks like Facebook, LinkedIn, Twitter, Google Plus etc.
73
 
74
  * Age restriction popup - sometimes the site content may not be appropriate for all audiences. In these cases, users may not be able to view the content until they pass age confirmation popup.
75
 
116
 
117
  Popup Builder team constantly works on upgrades and improvements. With our upcoming updates we are planning to add more types of popups.
118
 
119
+ Thank you for using our pop-up modal plugin.
120
 
121
  <div>
122
  <div>
159
 
160
  == Changelog ==
161
 
162
+ = Version 2.5.6 =
163
+ * Improvements of the HTML sanitization.
164
+
165
  = Version 2.5.4 - 2.5.5 =
166
  * Security update.
167
 
480
 
481
  **How to redirect users after clicking on the popup image?**
482
 
483
+ Go to the `Options` section of your popup and find "Dismiss on content click" option.
484
  Then Select "Redirect" option and in the URL field type the URL of the page you need your users to be redirected to.
485
 
486
  **Can I show a popup after a specific amount of time?**
634
 
635
  = Image Popup =
636
 
637
+ You are writing about an awesome topic and want your ideas to stand out in the crowd? Well, you can easily do it by making use of an image pop-up thus adding a topic image to the plot.
638
+ The installed image pop up allows to determine the image dimensions, which, in its turn, are resized/repositioned automatically when the window is being resized. This popup provides options for choosing the image frame theme and effects that vary in the duration of the popup animation as well. There is also the possibility to specify how long the ready-made popup appearance should be delayed after loading the page (in sec).
639
  With the help of both basic and advanced options, you are able to freely regulate the dismissal, display, color and location of the image popup. It can appear at the top right/left corner, at the bottom or in the center. You can choose to show the popup whenever the user scrolls the page or ensure its permanent occurrence by disabling popup closing in any possible way. On the other hand, the popup can be chosen to close automatically, be dismissed when the user clicks inside or beyond of the popup area. Also, it's up to you to decide on your popup accessibility on different devices (PC, mobile, etc.).
640
 
641
 
642
  = ShortCode Popup =
643
 
644
  It is so wonderful and advantageous that more and more people take up the business of Internet content creation, as each of them tries to enrich us with marvelous tools to make use of in different spheres. Some are the authors of tooltips, column layouts, galleries, others of buttons, block quotes, social media buttons, etc.. All of the latter can be inserted into any of your content, page or post in the form of a short code which will be opened in a popup window.
645
+ Besides having the ability to add a short code into the modal popup, it is also possible to manage the popup development with the help of different options available. First, you can apply a certain theme and/or effect to it, decide how long its appearance should be delayed after loading the page. Then, you will be able to configure the display and dismissal of the popup by choosing it to be closed automatically or by hand, be opened while scrolling or be a permanent one. Also, you are to decide where the popup will be located.
646
  As far as the popup accessibility on different devices is freely manageable too, the popup is quite responsive and is resized accordingly.
647
 
648
 
649
  = Iframe Popup =
650
 
651
+ Here is another useful pop up to make your content or website more sociable and vibrant. It is a great addition to your social toolkit, since Iframe enables you to include and remind of another website with the help of a simple popup.
652
  One can think of a number of cases when this popup can efficiently be used.
653
  For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
654
  It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.