Popup by Supsystic - Version 1.10.2

Version Description

/ 15.09.2020 = * Add fix for WP 5.5 * Add fix for apostrophe

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Popup by Supsystic
Version 1.10.2
Comparing to
See all releases

Code changes from version 1.10.1 to 1.10.2

classes/html.php CHANGED
@@ -625,7 +625,7 @@ class htmlPps {
625
  $out .= '<script type="text/javascript">//<!--
626
  jQuery(function(){
627
  jQuery("#'. $checkId. '").change(function(){
628
- jQuery("#'. $hideId. '").val( (jQuery(this).attr("checked") ? 1 : 0) );
629
  });
630
  });
631
  //--></script>';
625
  $out .= '<script type="text/javascript">//<!--
626
  jQuery(function(){
627
  jQuery("#'. $checkId. '").change(function(){
628
+ jQuery("#'. $hideId. '").val( (jQuery(this).prop("checked") ? 1 : 0) );
629
  });
630
  });
631
  //--></script>';
config.php CHANGED
@@ -48,7 +48,7 @@
48
  define('PPS_EOL', "\n");
49
 
50
  define('PPS_PLUGIN_INSTALLED', true);
51
- define('PPS_VERSION', '1.10.1');
52
  define('PPS_USER', 'user');
53
 
54
  define('PPS_CLASS_PREFIX', 'ppsc');
48
  define('PPS_EOL', "\n");
49
 
50
  define('PPS_PLUGIN_INSTALLED', true);
51
+ define('PPS_VERSION', '1.10.2');
52
  define('PPS_USER', 'user');
53
 
54
  define('PPS_CLASS_PREFIX', 'ppsc');
modules/popup/js/admin.popup.edit.js CHANGED
@@ -547,7 +547,7 @@ function ppsAddEmailAttach(params) {
547
  _setFileClb( params.file );
548
  }
549
  }
550
- jQuery(window).load(function(){
551
  ppsAdjustPopupsEditTabs();
552
  });
553
  function ppsFinishEditPopupLabel(label) {
@@ -718,7 +718,7 @@ function ppsHideEndlessAnim(element, showClass, hideClass) {
718
  }
719
  function ppsShowTipScreenPopUp(link) {
720
  var $container = jQuery('<div style="display: none;" title="'+ toeLangPps('How make PopUp appear after click on your content link')+'" />')
721
- , $img = jQuery('<img src="'+ jQuery(link).attr('href')+ '" />').load(function(){
722
  // Show popup after image was loaded - to make it's size according to image size
723
  var dialog = $container.dialog({
724
  modal: true
547
  _setFileClb( params.file );
548
  }
549
  }
550
+ jQuery(window).on('load',function(){
551
  ppsAdjustPopupsEditTabs();
552
  });
553
  function ppsFinishEditPopupLabel(label) {
718
  }
719
  function ppsShowTipScreenPopUp(link) {
720
  var $container = jQuery('<div style="display: none;" title="'+ toeLangPps('How make PopUp appear after click on your content link')+'" />')
721
+ , $img = jQuery('<img src="'+ jQuery(link).attr('href')+ '" />').on('load',function(){
722
  // Show popup after image was loaded - to make it's size according to image size
723
  var dialog = $container.dialog({
724
  modal: true
modules/popup/js/frontend.popup.js CHANGED
@@ -108,7 +108,7 @@ jQuery(document).ready(function(){
108
  }, 5000);
109
  }
110
  });
111
- jQuery(window).load(function(){
112
  g_ppsWindowLoaded = true;
113
  for(var i = 0; i < ppsPopups.length; i++) {
114
  if(ppsPopups[ i ].is_visible) {
108
  }, 5000);
109
  }
110
  });
111
+ jQuery(window).on('load',function(){
112
  g_ppsWindowLoaded = true;
113
  for(var i = 0; i < ppsPopups.length; i++) {
114
  if(ppsPopups[ i ].is_visible) {
modules/popup/views/tpl/popupEditAdmin.php CHANGED
@@ -43,7 +43,7 @@
43
  <div id="ppsPopupPreview" style="">
44
  <iframe id="ppsPopupPreviewFrame" width="" height="" frameborder="0" src="" style=""></iframe>
45
  <script type="text/javascript">
46
- jQuery('#ppsPopupPreviewFrame').load(function(){
47
  if(typeof(ppsHidePreviewUpdating) === 'function')
48
  ppsHidePreviewUpdating();
49
  var contentDoc = jQuery(this).contents()
@@ -114,4 +114,4 @@
114
  <?php _e('Back to top', PPS_LANG_CODE)?>
115
  </a>
116
  </div>
117
- <?php dispatcherPps::doAction('afterPopupEdit', $this->popup);?>
43
  <div id="ppsPopupPreview" style="">
44
  <iframe id="ppsPopupPreviewFrame" width="" height="" frameborder="0" src="" style=""></iframe>
45
  <script type="text/javascript">
46
+ jQuery('#ppsPopupPreviewFrame').on('load',function(){
47
  if(typeof(ppsHidePreviewUpdating) === 'function')
48
  ppsHidePreviewUpdating();
49
  var contentDoc = jQuery(this).contents()
114
  <?php _e('Back to top', PPS_LANG_CODE)?>
115
  </a>
116
  </div>
117
+ <?php dispatcherPps::doAction('afterPopupEdit', $this->popup);?>
modules/subscribe/models/subscribe.php CHANGED
@@ -77,6 +77,7 @@ class subscribeModelPps extends modelPps {
77
  }
78
  if(!empty($sendTo)) {
79
  $blogName = wp_specialchars_decode(get_bloginfo('name'));
 
80
  $defSubject = $forReg ? __('New User notification', PPS_LANG_CODE) : __('New Subscriber notification', PPS_LANG_CODE);
81
  $emailSubject = empty($blogName)
82
  ? $defSubject
@@ -398,6 +399,7 @@ class subscribeModelPps extends modelPps {
398
  if($emailSubject && $emailContent) {
399
  $user = get_userdata( $userId );
400
  $blogName = wp_specialchars_decode(get_bloginfo('name'));
 
401
  $adminEmail = isset($popup['params']['tpl'][$pref. '_txt_subscriber_mail_from'])
402
  ? $popup['params']['tpl'][$pref. '_txt_subscriber_mail_from']
403
  : get_bloginfo('admin_email');
@@ -453,6 +455,7 @@ class subscribeModelPps extends modelPps {
453
  public function sendWpUserConfirm($username, $email, $confirmHash, $popup, $forReg = false, $d = array()) {
454
  $pref = $forReg ? 'reg' : 'sub';
455
  $blogName = wp_specialchars_decode(get_bloginfo('name'));
 
456
  $confirmLinkData = array('email' => $email, 'hash' => $confirmHash);
457
  if($forReg) {
458
  $confirmLinkData['for_reg'] = 1;
77
  }
78
  if(!empty($sendTo)) {
79
  $blogName = wp_specialchars_decode(get_bloginfo('name'));
80
+ $blogName = str_replace('&#039;', "'", $blogName);
81
  $defSubject = $forReg ? __('New User notification', PPS_LANG_CODE) : __('New Subscriber notification', PPS_LANG_CODE);
82
  $emailSubject = empty($blogName)
83
  ? $defSubject
399
  if($emailSubject && $emailContent) {
400
  $user = get_userdata( $userId );
401
  $blogName = wp_specialchars_decode(get_bloginfo('name'));
402
+ $blogName = str_replace('&#039;', "'", $blogName);
403
  $adminEmail = isset($popup['params']['tpl'][$pref. '_txt_subscriber_mail_from'])
404
  ? $popup['params']['tpl'][$pref. '_txt_subscriber_mail_from']
405
  : get_bloginfo('admin_email');
455
  public function sendWpUserConfirm($username, $email, $confirmHash, $popup, $forReg = false, $d = array()) {
456
  $pref = $forReg ? 'reg' : 'sub';
457
  $blogName = wp_specialchars_decode(get_bloginfo('name'));
458
+ $blogName = str_replace('&#039;', "'", $blogName);
459
  $confirmLinkData = array('email' => $email, 'hash' => $confirmHash);
460
  if($forReg) {
461
  $confirmLinkData['for_reg'] = 1;
pps.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup by Supsystic
4
  * Plugin URI: https://supsystic.com/plugins/popup-plugin/
5
  * Description: The Best WordPress popup plugin to help you gain more subscribers, social followers or advertisement. Responsive popups with friendly options
6
- * Version: 1.10.1
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: popup-by-supsystic
3
  * Plugin Name: Popup by Supsystic
4
  * Plugin URI: https://supsystic.com/plugins/popup-plugin/
5
  * Description: The Best WordPress popup plugin to help you gain more subscribers, social followers or advertisement. Responsive popups with friendly options
6
+ * Version: 1.10.2
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: popup-by-supsystic
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: supsystic.com
3
  Donate link: https://supsystic.com/plugins/popup-plugin
4
  Tags: popup, popup WordPress plugin, marketing, popover, pop-up, popup builder, social popup, facebook popup, popup builder, popup maker
5
- Tested up to: 5.4
6
- Stable tag: 1.10.1
7
 
8
  Create elegant popup easily with Popup Builder by Supsystic. Popup with Subscription Forms, Facebook popup, Optin and Social locks, Contact Forms etc.
9
 
@@ -116,7 +116,12 @@ Enable “Redirect after close” option in Appearance setting on the Design tab
116
  Leave us a nice review 🙂
117
 
118
  == Changelog ==
119
- = 1.10.0 / 23.06.2020 =
 
 
 
 
 
120
  * Add fix for mailPoetV3
121
  * Add fix for mobile
122
 
2
  Contributors: supsystic.com
3
  Donate link: https://supsystic.com/plugins/popup-plugin
4
  Tags: popup, popup WordPress plugin, marketing, popover, pop-up, popup builder, social popup, facebook popup, popup builder, popup maker
5
+ Tested up to: 5.5
6
+ Stable tag: 1.10.2
7
 
8
  Create elegant popup easily with Popup Builder by Supsystic. Popup with Subscription Forms, Facebook popup, Optin and Social locks, Contact Forms etc.
9
 
116
  Leave us a nice review 🙂
117
 
118
  == Changelog ==
119
+
120
+ = 1.10.2 / 15.09.2020 =
121
+ * Add fix for WP 5.5
122
+ * Add fix for apostrophe
123
+
124
+ = 1.10.1 / 23.06.2020 =
125
  * Add fix for mailPoetV3
126
  * Add fix for mobile
127