Popup Maker – Popup Forms, Optins & More - Version 1.1.1

Version Description

Download this release

Release Info

Developer danieliser
Plugin Icon 128x128 Popup Maker – Popup Forms, Optins & More
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

assets/scripts/popup-maker-site.js CHANGED
@@ -1022,7 +1022,7 @@
1022
  $this.popmake('open');
1023
  });
1024
 
1025
- if (auto_open !== undefined) {
1026
  jQuery.cookie.json = true;
1027
 
1028
  cookieName = "popmake-auto-open-" + settings.id + "-" + auto_open.cookie_key;
1022
  $this.popmake('open');
1023
  });
1024
 
1025
+ if (auto_open.enabled !== undefined) {
1026
  jQuery.cookie.json = true;
1027
 
1028
  cookieName = "popmake-auto-open-" + settings.id + "-" + auto_open.cookie_key;
assets/scripts/popup-maker-site.min.js CHANGED
@@ -34,5 +34,5 @@ b=d.meta.display.animation_speed/2E3,d=e.popmake("animation_origin",d.meta.displ
34
  "inherit");void 0!==a&&a()}}))})});return this},grow:function(a){var e=c(this).show(0).css({opacity:0}),d=e.data("popmake"),b=d.meta.display.animation_speed/2E3,d=d.meta.display.animation_origin;if("top"===d||"bottom"===d)d="center "+d;if("left"===d||"right"===d)d+=" center";TweenLite.to(e,0,{transformOrigin:d,scale:0,opacity:1});e.popmake("animate_overlay","fade",1E3*b,function(){e.popmake("reposition",function(c){TweenLite.to(e,b,{scale:1,onComplete:function(){void 0!==a&&a()}})})});return this},
35
  growAndSlide:function(a){var e=c(this).show(0).css({opacity:0}),d=e.data("popmake"),b=d.meta.display.animation_speed/2E3,d=e.popmake("animation_origin",d.meta.display.animation_origin);c("html").css("overflow-x","hidden");e.position(d);TweenLite.to(e,0,{scale:0,opacity:1,transformOrigin:"0 0"});e.popmake("animate_overlay","fade",1E3*b,function(){e.popmake("reposition",function(d){TweenLite.to(e,b,c.extend(d,{scale:1,transformOrigin:"50% 50%",onComplete:function(){c("html").css("overflow-x","inherit");
36
  void 0!==a&&a()}}))})});return this}};c(".popmake").css({visibility:"visible"}).hide();c(document).ready(function(){c(".popmake").popmake().each(function(){var a=c(this),e=a.data("popmake"),d=e.meta.click_open,b=e.meta.auto_open,g=".popmake-"+e.id+", .popmake-"+e.slug,f,h,k;void 0!==d&&""!==d.extra_selectors&&(g+=", "+d.extra_selectors);c(g).css({cursor:"pointer"});c(document).on("click",g,function(b){b.preventDefault();b.stopPropagation();c.fn.popmake.last_open_trigger=c.fn.popmake.utilities.getXPath(this);
37
- a.popmake("open")});if(void 0!==b&&(c.cookie.json=!0,f="popmake-auto-open-"+e.id+"-"+b.cookie_key,d=c.cookie(f),k=function(){""!==b.cookie_time&&(h=new Date,h.setTime(1E3*c.fn.popmake.utilities.strtotime("+"+b.cookie_time)),c.cookie(f,{opened:!0,expires:h},{expires:h,path:b.cookie_path}))},void 0===d)){d=b.cookie_trigger;if("disabled"!==d){if("open"===d)a.on("popmakeAfterOpen",function(){k()});if("close"===d)a.on("popmakeBeforeClose",function(){k()})}setTimeout(function(){c.fn.popmake.last_open_trigger=
38
  "Auto Open Popups ID-"+e.id;a.popmake("open")},b.delay)}})})})(jQuery);
34
  "inherit");void 0!==a&&a()}}))})});return this},grow:function(a){var e=c(this).show(0).css({opacity:0}),d=e.data("popmake"),b=d.meta.display.animation_speed/2E3,d=d.meta.display.animation_origin;if("top"===d||"bottom"===d)d="center "+d;if("left"===d||"right"===d)d+=" center";TweenLite.to(e,0,{transformOrigin:d,scale:0,opacity:1});e.popmake("animate_overlay","fade",1E3*b,function(){e.popmake("reposition",function(c){TweenLite.to(e,b,{scale:1,onComplete:function(){void 0!==a&&a()}})})});return this},
35
  growAndSlide:function(a){var e=c(this).show(0).css({opacity:0}),d=e.data("popmake"),b=d.meta.display.animation_speed/2E3,d=e.popmake("animation_origin",d.meta.display.animation_origin);c("html").css("overflow-x","hidden");e.position(d);TweenLite.to(e,0,{scale:0,opacity:1,transformOrigin:"0 0"});e.popmake("animate_overlay","fade",1E3*b,function(){e.popmake("reposition",function(d){TweenLite.to(e,b,c.extend(d,{scale:1,transformOrigin:"50% 50%",onComplete:function(){c("html").css("overflow-x","inherit");
36
  void 0!==a&&a()}}))})});return this}};c(".popmake").css({visibility:"visible"}).hide();c(document).ready(function(){c(".popmake").popmake().each(function(){var a=c(this),e=a.data("popmake"),d=e.meta.click_open,b=e.meta.auto_open,g=".popmake-"+e.id+", .popmake-"+e.slug,f,h,k;void 0!==d&&""!==d.extra_selectors&&(g+=", "+d.extra_selectors);c(g).css({cursor:"pointer"});c(document).on("click",g,function(b){b.preventDefault();b.stopPropagation();c.fn.popmake.last_open_trigger=c.fn.popmake.utilities.getXPath(this);
37
+ a.popmake("open")});if(void 0!==b.enabled&&(c.cookie.json=!0,f="popmake-auto-open-"+e.id+"-"+b.cookie_key,d=c.cookie(f),k=function(){""!==b.cookie_time&&(h=new Date,h.setTime(1E3*c.fn.popmake.utilities.strtotime("+"+b.cookie_time)),c.cookie(f,{opened:!0,expires:h},{expires:h,path:b.cookie_path}))},void 0===d)){d=b.cookie_trigger;if("disabled"!==d){if("open"===d)a.on("popmakeAfterOpen",function(){k()});if("close"===d)a.on("popmakeBeforeClose",function(){k()})}setTimeout(function(){c.fn.popmake.last_open_trigger=
38
  "Auto Open Popups ID-"+e.id;a.popmake("open")},b.delay)}})})})(jQuery);
popup-maker.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wppopupmaker.com
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: Daniel Iser
7
- * Version: 1.1.0
8
  * Author URI: https://wppopupmaker.com
9
  * Text Domain: popup-maker
10
  *
@@ -144,7 +144,7 @@ final class Popup_Maker {
144
  }
145
 
146
  if ( !defined('POPMAKE_VERSION') ) {
147
- define('POPMAKE_VERSION', '1.1.0' );
148
  }
149
 
150
  if ( !defined('POPMAKE_DB_VERSION') ) {
4
  * Plugin URI: https://wppopupmaker.com
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: Daniel Iser
7
+ * Version: 1.1.1
8
  * Author URI: https://wppopupmaker.com
9
  * Text Domain: popup-maker
10
  *
144
  }
145
 
146
  if ( !defined('POPMAKE_VERSION') ) {
147
+ define('POPMAKE_VERSION', '1.1.1' );
148
  }
149
 
150
  if ( !defined('POPMAKE_DB_VERSION') ) {
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link:
6
  Tags: popup,popups,modal,modals,popup form,form modal,conversion,conversions,dialog box,auto open
7
  Requires at least: 3.4
8
  Tested up to: 4.0.1
9
- Stable tag: 1.1.0
10
 
11
  License: GNU Version 2 or Any Later Version
12
  Easily turn users into cash using Popup Maker - the most versatile & expansive popup plugin for WordPress!
@@ -74,12 +74,15 @@ For more information, visit [Popup Maker](https://wppopupmaker.com?utm_source=Wo
74
 
75
  == Changelog ==
76
 
 
 
 
 
77
  = v1.1 =
78
  * Added Importer for Easy Modal v2 - Availabe under Tools -> Import
79
  * Added Easy Modal v2 Compatibility Option - Available under Settings -> Misc (This will allow all of your existing eModal classes to open the proper Popup once imported)
80
  * Added custom selector functionality - Availabe on Modal editor (This will allow you to use your own css selectors that when clicked will trigger the popup to open. Ex. #main-menu li.menu-item-3 would cause the corresponding menu item to trigger that popup)
81
- * Merged Auto Open Extension into Free Version.
82
- * Added better support for custom post types.
83
 
84
  = v1.0.5 =
85
  * Fixed bug caused by changes in v1.0.4.
6
  Tags: popup,popups,modal,modals,popup form,form modal,conversion,conversions,dialog box,auto open
7
  Requires at least: 3.4
8
  Tested up to: 4.0.1
9
+ Stable tag: 1.1.1
10
 
11
  License: GNU Version 2 or Any Later Version
12
  Easily turn users into cash using Popup Maker - the most versatile & expansive popup plugin for WordPress!
74
 
75
  == Changelog ==
76
 
77
+ = v1.1.1 =
78
+ * Fixed bug in JS that didn't properly check if Auto Open was enabled.
79
+
80
+
81
  = v1.1 =
82
  * Added Importer for Easy Modal v2 - Availabe under Tools -> Import
83
  * Added Easy Modal v2 Compatibility Option - Available under Settings -> Misc (This will allow all of your existing eModal classes to open the proper Popup once imported)
84
  * Added custom selector functionality - Availabe on Modal editor (This will allow you to use your own css selectors that when clicked will trigger the popup to open. Ex. #main-menu li.menu-item-3 would cause the corresponding menu item to trigger that popup)
85
+
 
86
 
87
  = v1.0.5 =
88
  * Fixed bug caused by changes in v1.0.4.