Popup Builder – Responsive WordPress Pop up - Version 2.5.7

Version Description

Current Version of Popup Builder is 2.5.6

Download this release

Release Info

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

Code changes from version 2.5.6 to 2.5.7

classes/sgDataTable/SGPopupTable.php CHANGED
@@ -35,15 +35,16 @@ class SGPB_PopupsView extends SGPB_Table
35
  public function customizeRow(&$row)
36
  {
37
  $id = $row[0];
38
- $ajaxNonce = wp_create_nonce("sgPopupBuilderDeleteNonce");
39
  $isActivePopup = SgPopupGetData::isActivePopup($id);
40
  $switchButton = '<label class="sg-switch">
41
- <input class="sg-switch-checkbox" data-switch-id="'.$id.'" type="checkbox" '.$isActivePopup.' data-ajaxNonce="'.$ajaxNonce.'">
42
  <div class="sg-slider sg-round"></div>
43
  </label>';
44
  $type = $row[2];
45
  $editUrl = admin_url()."admin.php?page=edit-popup&id=".$id."&type=".$type."";
46
  $row[3] = "<input type='text' onfocus='this.select();' readonly value='[sg_popup id=".$id."]' class='large-text code'>";
 
47
  $row[4] = '<a href="'.@$editUrl.'">'.__('Edit', 'sgpt').'</a>&nbsp;&nbsp;<a href="#" data-sg-popup-id="'.$id.'" data-ajaxNonce="'.$ajaxNonce.'" class="sg-js-delete-link">'.__('Delete', 'sgpt').'</a>
48
  <a href="'.admin_url().'admin-post.php?action=popup_clone&id='.$id.'" data-sg-popup-id="'.$id.'" class="sg-js-popup-clone">Clone</a>';
49
  array_splice( $row, 1, 0, $switchButton);
35
  public function customizeRow(&$row)
36
  {
37
  $id = $row[0];
38
+ $ajaxNonce = wp_create_nonce("sgPopupBuilderDeactivateNonce");
39
  $isActivePopup = SgPopupGetData::isActivePopup($id);
40
  $switchButton = '<label class="sg-switch">
41
+ <input class="sg-switch-checkbox" data-switch-id="'.$id.'" data-checkbox-ajaxNonce="'.$ajaxNonce.'" type="checkbox" '.$isActivePopup.'>
42
  <div class="sg-slider sg-round"></div>
43
  </label>';
44
  $type = $row[2];
45
  $editUrl = admin_url()."admin.php?page=edit-popup&id=".$id."&type=".$type."";
46
  $row[3] = "<input type='text' onfocus='this.select();' readonly value='[sg_popup id=".$id."]' class='large-text code'>";
47
+ $ajaxNonce = wp_create_nonce("sgPopupBuilderDeleteNonce");
48
  $row[4] = '<a href="'.@$editUrl.'">'.__('Edit', 'sgpt').'</a>&nbsp;&nbsp;<a href="#" data-sg-popup-id="'.$id.'" data-ajaxNonce="'.$ajaxNonce.'" class="sg-js-delete-link">'.__('Delete', 'sgpt').'</a>
49
  <a href="'.admin_url().'admin-post.php?action=popup_clone&id='.$id.'" data-sg-popup-id="'.$id.'" class="sg-js-popup-clone">Clone</a>';
50
  array_splice( $row, 1, 0, $switchButton);
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.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/');
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.57);
28
+ define('SG_POPUP_PRO_VERSION', 3.27);
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
@@ -15,6 +15,7 @@ class SGFunctions
15
  {
16
  /*Remove iframe tag and empty line*/
17
  $pattern = '/\s+(<iframe.*?>.*?<\/iframe>)/';
 
18
  return preg_replace($pattern, '', $sgPopupData);
19
  }
20
 
15
  {
16
  /*Remove iframe tag and empty line*/
17
  $pattern = '/\s+(<iframe.*?>.*?<\/iframe>)/';
18
+
19
  return preg_replace($pattern, '', $sgPopupData);
20
  }
21
 
files/sg_popup_ajax.php CHANGED
@@ -171,78 +171,6 @@ function sgCloseReviewPanel()
171
  }
172
  add_action('wp_ajax_close_review_panel', 'sgCloseReviewPanel');
173
 
174
- function sgLazyLoading() {
175
-
176
- check_ajax_referer('sgPopupBuilderPageNonce', 'ajaxNonce');
177
- $popupId = (int)$_POST['popupId'];
178
- if($popupId == 0) {
179
- return;
180
- }
181
- $params = "";
182
- $postType = sgSanitizeAjaxField($_POST['postType']);
183
- $loadingNumber = (int)$_POST['loadingNumber'];
184
- $customParams = sgSanitizeAjaxField($_POST['customParams']);
185
- $defArray = array();
186
-
187
- /* When load first time need add Home page in Wp pages */
188
- if($loadingNumber == 0) {
189
- $defArray = array(-1 => 'Home page');
190
- }
191
-
192
- if($postType == SG_POST_TYPE_PAGE) {
193
- $pageData = SgPopupPro::getAllData($defArray, 'page', $loadingNumber);
194
- }
195
- if($postType == SG_POST_TYPE_POST) {
196
- $pageData = SgPopupPro::getAllData($defArray, 'post', $loadingNumber);
197
- }
198
- if($postType == 'allCustomPosts') {
199
- $pageData = array();
200
- foreach ($customParams['customPosts'] as $value) {
201
- $currentData = SgPopupPro::getAllData(array(), $value, $loadingNumber);
202
- $pageData += $currentData;
203
- }
204
- }
205
-
206
- if($loadingNumber > 0 && count($pageData) == 0) {
207
- die();
208
- }
209
-
210
- /* When popup is insert */
211
- if($popupId != -1) {
212
- $popup = SGPopup::findById($popupId);
213
- $options = $popup->getOptions();
214
- $options = json_decode($options, true);
215
-
216
- if($postType == SG_POST_TYPE_PAGE) {
217
- $allSelectedPages = $options['allSelectedPages'];
218
- }
219
- else if($postType == SG_POST_TYPE_POST) {
220
- $allSelectedPages = $options['allSelectedPosts'];
221
- }
222
- else if($postType == 'allCustomPosts') {
223
- $allSelectedPages = $options['allSelectedCustomPosts'];
224
- }
225
- }
226
-
227
- foreach ($pageData as $key => $value) {
228
- /* Add Home page in Wp pages array */
229
- if($popupId != -1) {
230
- $selected = "";
231
- if(isset($allSelectedPages) && @in_array($key, $allSelectedPages)) {
232
- $selected = "selected";
233
- }
234
- }
235
- else {
236
- $selected = "";
237
- }
238
-
239
- $params .= "<option value='".$key."' $selected>$value</option>";
240
- }
241
- echo $params;
242
- die();
243
- }
244
- add_action('wp_ajax_lazy_loading', 'sgLazyLoading');
245
-
246
  function addToSubscribers() {
247
 
248
  global $wpdb;
@@ -313,7 +241,7 @@ function sgIsHaveErrorLog() {
313
  add_action('wp_ajax_subs_error_log_count', 'sgIsHaveErrorLog');
314
 
315
  function sgChangePopupStatus() {
316
- check_ajax_referer('sgPopupBuilderNewsletterNonce', 'ajaxNonce');
317
  $popupId = (int)$_POST['popupId'];
318
  $obj = SGPopup::findById($popupId);
319
  $options = json_decode($obj->getOptions(), true);
171
  }
172
  add_action('wp_ajax_close_review_panel', 'sgCloseReviewPanel');
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  function addToSubscribers() {
175
 
176
  global $wpdb;
241
  add_action('wp_ajax_subs_error_log_count', 'sgIsHaveErrorLog');
242
 
243
  function sgChangePopupStatus() {
244
+ check_ajax_referer('sgPopupBuilderDeactivateNonce', 'ajaxNonce');
245
  $popupId = (int)$_POST['popupId'];
246
  $obj = SGPopup::findById($popupId);
247
  $options = json_decode($obj->getOptions(), true);
files/sg_popup_create_new.php CHANGED
@@ -792,6 +792,7 @@ $contentClickOptions = array(
792
  );
793
 
794
  $ajaxNonce = wp_create_nonce("sgPopupBuilderPageNonce");
 
795
  $pagesRadio = array(
796
  array(
797
  "title" => "show on all pages:",
@@ -807,7 +808,7 @@ $pagesRadio = array(
807
  "data-popupid" => $dataPopupId,
808
  "data-loading-number" => 0,
809
  "data-selectbox-role" => "js-all-pages",
810
- "data-ajaxNonce" => $ajaxNonce
811
  )
812
  )
813
  );
792
  );
793
 
794
  $ajaxNonce = wp_create_nonce("sgPopupBuilderPageNonce");
795
+ $ajaxNoncePages = wp_create_nonce("sgPopupBuilderPagesNonce");
796
  $pagesRadio = array(
797
  array(
798
  "title" => "show on all pages:",
808
  "data-popupid" => $dataPopupId,
809
  "data-loading-number" => 0,
810
  "data-selectbox-role" => "js-all-pages",
811
+ "data-ajaxNoncePages" => $ajaxNoncePages
812
  )
813
  )
814
  );
files/sg_popup_save.php CHANGED
@@ -76,7 +76,7 @@ function sgPopupSave()
76
  'sgRoundButton' => sgSanitize('sgRoundButton'),
77
  'fbShareLabel' => sgSanitize('fbShareLabel'),
78
  'lindkinLabel' => sgSanitize('lindkinLabel'),
79
- 'sgShareUrl' => esc_url_raw($_POST['sgShareUrl']),
80
  'shareUrlType' => sgSanitize('shareUrlType'),
81
  'googLelabel' => sgSanitize('googLelabel'),
82
  'twitterLabel' => sgSanitize('twitterLabel'),
@@ -127,7 +127,7 @@ function sgPopupSave()
127
  'subs-text-width' => sgSanitize('subs-text-width'),
128
  'subs-button-bgColor' => sgSanitize('subs-button-bgColor'),
129
  'subs-btn-width' => sgSanitize('subs-btn-width'),
130
- 'subs-btn-title' => sanitize_title($_POST['subs-btn-title']),
131
  'subs-text-input-bgColor' => sgSanitize('subs-text-input-bgColor'),
132
  'subs-text-borderColor' => sgSanitize('subs-text-borderColor'),
133
  'subs-button-color' => sgSanitize('subs-button-color'),
@@ -140,7 +140,7 @@ function sgPopupSave()
140
  'subs-btn-progress-title' => sgSanitize('subs-btn-progress-title'),
141
  'subs-text-border-width' => sgSanitize('subs-text-border-width'),
142
  'subs-success-behavior' => sgSanitize('subs-success-behavior'),
143
- 'subs-success-redirect-url' => esc_url_raw($_POST['subs-success-redirect-url']),
144
  'subs-success-popups-list' => sgSanitize('subs-success-popups-list')
145
  );
146
 
@@ -165,15 +165,15 @@ function sgPopupSave()
165
  'contact-placeholder-color' => sgSanitize('contact-placeholder-color'),
166
  'contact-btn-width' => sgSanitize('contact-btn-width'),
167
  'contact-btn-height' => sgSanitize('contact-btn-height'),
168
- 'contact-btn-title' => sanitize_title($_POST['contact-btn-title']),
169
- 'contact-btn-progress-title' => sanitize_title($_POST['contact-btn-progress-title']),
170
  'contact-button-bgcolor' => sgSanitize('contact-button-bgcolor'),
171
  'contact-button-color' => sgSanitize('contact-button-color'),
172
  'contact-area-width' => sgSanitize('contact-area-width'),
173
  'contact-area-height' => sgSanitize('contact-area-height'),
174
  'sg-contact-resize' => sgSanitize('sg-contact-resize'),
175
  'contact-validate-email' => sgSanitize('contact-validate-email'),
176
- 'contact-receive-email' => sanitize_email($_POST['contact-receive-email']),
177
  'contact-fail-message' => sgSanitize('contact-fail-message'),
178
  'show-form-to-top' => sgSanitize('show-form-to-top'),
179
  'contact-success-behavior' => sgSanitize('contact-success-behavior'),
@@ -184,7 +184,7 @@ function sgPopupSave()
184
  );
185
 
186
  $fblikeOptions = array(
187
- 'fblike-like-url' => esc_url_raw($_POST['fblike-like-url']),
188
  'fblike-layout' => sgSanitize('fblike-layout')
189
  );
190
 
76
  'sgRoundButton' => sgSanitize('sgRoundButton'),
77
  'fbShareLabel' => sgSanitize('fbShareLabel'),
78
  'lindkinLabel' => sgSanitize('lindkinLabel'),
79
+ 'sgShareUrl' => esc_url_raw(@$_POST['sgShareUrl']),
80
  'shareUrlType' => sgSanitize('shareUrlType'),
81
  'googLelabel' => sgSanitize('googLelabel'),
82
  'twitterLabel' => sgSanitize('twitterLabel'),
127
  'subs-text-width' => sgSanitize('subs-text-width'),
128
  'subs-button-bgColor' => sgSanitize('subs-button-bgColor'),
129
  'subs-btn-width' => sgSanitize('subs-btn-width'),
130
+ 'subs-btn-title' => sanitize_title(@$_POST['subs-btn-title']),
131
  'subs-text-input-bgColor' => sgSanitize('subs-text-input-bgColor'),
132
  'subs-text-borderColor' => sgSanitize('subs-text-borderColor'),
133
  'subs-button-color' => sgSanitize('subs-button-color'),
140
  'subs-btn-progress-title' => sgSanitize('subs-btn-progress-title'),
141
  'subs-text-border-width' => sgSanitize('subs-text-border-width'),
142
  'subs-success-behavior' => sgSanitize('subs-success-behavior'),
143
+ 'subs-success-redirect-url' => esc_url_raw(@$_POST['subs-success-redirect-url']),
144
  'subs-success-popups-list' => sgSanitize('subs-success-popups-list')
145
  );
146
 
165
  'contact-placeholder-color' => sgSanitize('contact-placeholder-color'),
166
  'contact-btn-width' => sgSanitize('contact-btn-width'),
167
  'contact-btn-height' => sgSanitize('contact-btn-height'),
168
+ 'contact-btn-title' => sanitize_title(@$_POST['contact-btn-title']),
169
+ 'contact-btn-progress-title' => sanitize_title(@$_POST['contact-btn-progress-title']),
170
  'contact-button-bgcolor' => sgSanitize('contact-button-bgcolor'),
171
  'contact-button-color' => sgSanitize('contact-button-color'),
172
  'contact-area-width' => sgSanitize('contact-area-width'),
173
  'contact-area-height' => sgSanitize('contact-area-height'),
174
  'sg-contact-resize' => sgSanitize('sg-contact-resize'),
175
  'contact-validate-email' => sgSanitize('contact-validate-email'),
176
+ 'contact-receive-email' => sanitize_email(@$_POST['contact-receive-email']),
177
  'contact-fail-message' => sgSanitize('contact-fail-message'),
178
  'show-form-to-top' => sgSanitize('show-form-to-top'),
179
  'contact-success-behavior' => sgSanitize('contact-success-behavior'),
184
  );
185
 
186
  $fblikeOptions = array(
187
+ 'fblike-like-url' => esc_url_raw(@$_POST['fblike-like-url']),
188
  'fblike-layout' => sgSanitize('fblike-layout')
189
  );
190
 
javascript/sg_popup_backend.js CHANGED
@@ -1 +1 @@
1
- function beckend() {
2
  this.titleNotEmpty(); /* Check title is Empty */
3
  this.showThemePicture(); /* Show themes pictures */
4
  this.showEffects(); /* Show effect type */
5
  this.pageAcordion(); /* For page accordion divs */
6
  this.fixedPostionSelection(); /* Functionality for selected position */
7
  this.showInfo(); /* Show description options */
8
  this.opacityRange();
9
  this.subOptionContents();
10
  this.addCountries();
11
  this.showCloseTextFieldForTheme();
12
  this.popupReview();
13
  this.colorPicekr(); /* Color picker */
14
  this.switchPopupActive();
15
  this.initAccordions();
16
  });
17
  jQuery('.sg-info-close').on('click', function() {
18
  jQuery( ".sg-info-panel-wrapper" ).hide(300);
19
  });
20
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
21
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
22
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
23
  checkedElement.after(toggleContnet.css({'display':'inline-block'}));
 
24
  this.titleNotEmpty(); /* Check title is Empty */
25
  this.showThemePicture(); /* Show themes pictures */
26
  this.showEffects(); /* Show effect type */
27
  this.pageAcordion(); /* For page accordion divs */
28
  this.fixedPostionSelection(); /* Functionality for selected position */
29
  this.showInfo(); /* Show description options */
30
  this.opacityRange();
31
  this.subOptionContents();
32
  this.addCountries();
33
  this.showCloseTextFieldForTheme();
34
  this.popupReview();
35
  this.colorPicekr(); /* Color picker */
36
  this.switchPopupActive();
37
  this.initAccordions();
38
  });
39
  jQuery('.sg-info-close').on('click', function() {
40
  jQuery( ".sg-info-panel-wrapper" ).hide(300);
41
  });
42
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
43
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
44
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
45
  checkedElement.after(toggleContnet.css({'display':'inline-block'}));
 
1
  this.titleNotEmpty(); /* Check title is Empty */
2
  this.showThemePicture(); /* Show themes pictures */
3
  this.showEffects(); /* Show effect type */
4
  this.pageAcordion(); /* For page accordion divs */
5
  this.fixedPostionSelection(); /* Functionality for selected position */
6
  this.showInfo(); /* Show description options */
7
  this.opacityRange();
8
  this.subOptionContents();
9
  this.addCountries();
10
  this.showCloseTextFieldForTheme();
11
  this.popupReview();
12
  this.colorPicekr(); /* Color picker */
13
  this.switchPopupActive();
14
  this.initAccordions();
15
  });
16
  jQuery('.sg-info-close').on('click', function() {
17
  jQuery( ".sg-info-panel-wrapper" ).hide(300);
18
  });
19
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
20
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
21
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
22
  checkedElement.after(toggleContnet.css({'display':'inline-block'}));
23
+ function beckend() {
24
  this.titleNotEmpty(); /* Check title is Empty */
25
  this.showThemePicture(); /* Show themes pictures */
26
  this.showEffects(); /* Show effect type */
27
  this.pageAcordion(); /* For page accordion divs */
28
  this.fixedPostionSelection(); /* Functionality for selected position */
29
  this.showInfo(); /* Show description options */
30
  this.opacityRange();
31
  this.subOptionContents();
32
  this.addCountries();
33
  this.showCloseTextFieldForTheme();
34
  this.popupReview();
35
  this.colorPicekr(); /* Color picker */
36
  this.switchPopupActive();
37
  this.initAccordions();
38
  });
39
  jQuery('.sg-info-close').on('click', function() {
40
  jQuery( ".sg-info-panel-wrapper" ).hide(300);
41
  });
42
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
43
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
44
  this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
45
  checkedElement.after(toggleContnet.css({'display':'inline-block'}));
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.6
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
@@ -424,6 +424,9 @@ add_action('wp_head','sgOnloadPopup');
424
  require_once( SG_APP_POPUP_FILES . '/sg_popup_media_button.php');
425
  require_once( SG_APP_POPUP_FILES . '/sg_popup_save.php'); // saving form data
426
  require_once( SG_APP_POPUP_FILES . '/sg_popup_ajax.php');
 
 
 
427
  require_once( SG_APP_POPUP_FILES . '/sg_admin_post.php');
428
  require_once( SG_APP_POPUP_FILES . '/sg_popup_filetrs.php');
429
  require_once( SG_APP_POPUP_FILES . '/sg_popup_actions.php');
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.7
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
424
  require_once( SG_APP_POPUP_FILES . '/sg_popup_media_button.php');
425
  require_once( SG_APP_POPUP_FILES . '/sg_popup_save.php'); // saving form data
426
  require_once( SG_APP_POPUP_FILES . '/sg_popup_ajax.php');
427
+ if (POPUP_BUILDER_PKG > POPUP_BUILDER_PKG_FREE) {
428
+ require_once(SG_APP_POPUP_FILES . '/sg_popup_ajax_pro.php');
429
+ }
430
  require_once( SG_APP_POPUP_FILES . '/sg_admin_post.php');
431
  require_once( SG_APP_POPUP_FILES . '/sg_popup_filetrs.php');
432
  require_once( SG_APP_POPUP_FILES . '/sg_popup_actions.php');
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Popup ===
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
@@ -75,7 +75,7 @@ With popup builder plugin you can insert any type of content, right into your Po
75
 
76
  * Create countdown popup - your site is under construction and you are planning to open it in some amount of time, in this case countdown popup is exactly for you.
77
 
78
- * Exit Intent popup - catch your users attention when they decide to leave your site without doing any of the things you want them to do. Exit-Intent popup can briefly interrupt them with a popup message, steering them towards a singular call to action.
79
 
80
  * Subscription popup - this kind of popup provides the easiest way to create an efficient connection between users and your website through subscription popup. With this simple popup solution you can quickly collect subscribers in a very pleasant and elegant way. With our newsletter module you can easily send mass mailings.
81
 
@@ -125,7 +125,7 @@ Thank you for using our pop-up modal plugin.
125
 
126
  <div>
127
  If you think that you found a bug in our Popup Builder plugin or have any questions, please feel free to contact us at <a href="mailto:support@popup-builder.com" title="support@popup-builder.com"><strong>support@popup-builder.com</strong></a>.
128
- ### Popup Builder
129
  </div>
130
  </div>
131
 
@@ -159,6 +159,10 @@ Go to the Popup Builder settings and set your desired options.
159
 
160
  == Changelog ==
161
 
 
 
 
 
162
  = Version 2.5.6 =
163
  * Improvements of the HTML sanitization.
164
 
@@ -170,7 +174,7 @@ Go to the Popup Builder settings and set your desired options.
170
  * Tweak: Responsive mode calculations are more accurate.
171
  * Tweak: Facebook popup share and like buttons will be localized according to the site language.
172
  * Bug fixed connected to user roles who can use popup builder plugin.
173
- * Bug fixed connected to Max-Width option for ‘Auto’ mode.
174
  * Code optimization and typo fixes.
175
 
176
  = Version 2.5.2 =
@@ -619,7 +623,7 @@ Leave us a good review :)
619
 
620
  == Upgrade Notice ==
621
 
622
- Current Version of Popup Builder is 2.5.4
623
 
624
  == Other Notes ==
625
 
1
+ === Pop up By Popup Builder ===
2
+ Plugin Name: Pop up By Popup Builder
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, popup builder, popup maker,popup window
7
  Requires at least: 3.8
8
  Tested up to: 4.7.3
9
  Stable tag: trunk
75
 
76
  * Create countdown popup - your site is under construction and you are planning to open it in some amount of time, in this case countdown popup is exactly for you.
77
 
78
+ * Exit popup - catch your users attention when they decide to leave your site without doing any of the things you want them to do. Exit popups can briefly interrupt them with a popup message, steering them towards a singular call to action.
79
 
80
  * Subscription popup - this kind of popup provides the easiest way to create an efficient connection between users and your website through subscription popup. With this simple popup solution you can quickly collect subscribers in a very pleasant and elegant way. With our newsletter module you can easily send mass mailings.
81
 
125
 
126
  <div>
127
  If you think that you found a bug in our Popup Builder plugin or have any questions, please feel free to contact us at <a href="mailto:support@popup-builder.com" title="support@popup-builder.com"><strong>support@popup-builder.com</strong></a>.
128
+ #### Popup Builder
129
  </div>
130
  </div>
131
 
159
 
160
  == Changelog ==
161
 
162
+ = Version 2.5.7 =
163
+ * Bug fixed connected to popup On/Off switch button.
164
+ * PHP notices fixed.
165
+
166
  = Version 2.5.6 =
167
  * Improvements of the HTML sanitization.
168
 
174
  * Tweak: Responsive mode calculations are more accurate.
175
  * Tweak: Facebook popup share and like buttons will be localized according to the site language.
176
  * Bug fixed connected to user roles who can use popup builder plugin.
177
+ * Bug fixed connected to Max-Width option for `auto` mode.
178
  * Code optimization and typo fixes.
179
 
180
  = Version 2.5.2 =
623
 
624
  == Upgrade Notice ==
625
 
626
+ Current Version of Popup Builder is 2.5.6
627
 
628
  == Other Notes ==
629