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

Version Description

Download this release

Release Info

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

Code changes from version 1.9.0 to 1.9.1

CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
  ### Unreleased Changes
2
 
 
 
3
 
4
  ### v1.9.0 - 02/11/2020
5
  * Feature: New Form Submission trigger with option to choose specific forms for integrated forms.
1
  ### Unreleased Changes
2
 
3
+ ### v1.9.1 - 02/13/2020
4
+ * Fix: JS error when MailChimp for WordPress was active but no forms on the page.
5
 
6
  ### v1.9.0 - 02/11/2020
7
  * Feature: New Form Submission trigger with option to choose specific forms for integrated forms.
assets/js/pum-integration-mc4wp.js CHANGED
@@ -100,20 +100,23 @@
100
  var formProvider = 'mc4wp';
101
  var $ = window.jQuery;
102
  $(document).ready(function () {
103
- mc4wp.forms.on('success', function (form, data) {
104
- var $form = $(form.element),
105
- formId = form.id,
106
- formInstanceId = $('.mc4wp-form-' + form.id).index($form) + 1; // All the magic happens here.
 
107
 
108
- window.PUM.integrations.formSubmission($form, {
109
- formProvider: formProvider,
110
- formId: formId,
111
- formInstanceId: formInstanceId,
112
- extras: {
113
- data: data
114
- }
 
 
115
  });
116
- });
117
  });
118
  }
119
 
100
  var formProvider = 'mc4wp';
101
  var $ = window.jQuery;
102
  $(document).ready(function () {
103
+ if (typeof mc4wp !== 'undefined') {
104
+ mc4wp.forms.on('success', function (form, data) {
105
+ var $form = $(form.element),
106
+ formId = form.id,
107
+ formInstanceId = $('.mc4wp-form-' + form.id).index($form) + 1; // All the magic happens here.
108
 
109
+ window.PUM.integrations.formSubmission($form, {
110
+ formProvider: formProvider,
111
+ formId: formId,
112
+ formInstanceId: formInstanceId,
113
+ extras: {
114
+ form: form,
115
+ data: data
116
+ }
117
+ });
118
  });
119
+ }
120
  });
121
  }
122
 
assets/js/pum-integration-mc4wp.min.js CHANGED
@@ -2,4 +2,4 @@
2
  /*!********************************************!*\
3
  !*** ./assets/js/src/integration/mc4wp.js ***!
4
  \********************************************/
5
- /*! no static exports found */function(e,n){var i=window.jQuery;i(document).ready(function(){mc4wp.forms.on("success",function(e,n){var r=i(e.element),t=e.id,o=i(".mc4wp-form-"+e.id).index(r)+1;window.PUM.integrations.formSubmission(r,{formProvider:"mc4wp",formId:t,formInstanceId:o,extras:{data:n}})})})}});
2
  /*!********************************************!*\
3
  !*** ./assets/js/src/integration/mc4wp.js ***!
4
  \********************************************/
5
+ /*! no static exports found */function(e,n){var i=window.jQuery;i(document).ready(function(){"undefined"!=typeof mc4wp&&mc4wp.forms.on("success",function(e,n){var r=i(e.element),t=e.id,o=i(".mc4wp-form-"+e.id).index(r)+1;window.PUM.integrations.formSubmission(r,{formProvider:"mc4wp",formId:t,formInstanceId:o,extras:{form:e,data:n}})})})}});
popup-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Maker
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=plugin-uri
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
- * Version: 1.9.0
7
  * Author: Popup Maker
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
9
  * License: GPL2 or later
@@ -93,7 +93,7 @@ class Popup_Maker {
93
  /**
94
  * @var string Plugin Version
95
  */
96
- public static $VER = '1.9.0';
97
 
98
  /**
99
  * @var int DB Version
3
  * Plugin Name: Popup Maker
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=plugin-uri
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
+ * Version: 1.9.1
7
  * Author: Popup Maker
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
9
  * License: GPL2 or later
93
  /**
94
  * @var string Plugin Version
95
  */
96
+ public static $VER = '1.9.1';
97
 
98
  /**
99
  * @var int DB Version
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: marketing, popup, popups, optin, advertising, conversion, responsive popu
7
  Requires at least: 4.1
8
  Tested up to: 5.3
9
  Requires PHP: 5.6
10
- Stable tag: 1.9.0
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -36,11 +36,11 @@ Popup Maker is used on over 400,000 websites and has received over 3,100 5-star
36
 
37
  * This popup plugin has limitless potential with no restrictions. If you can’t get the functionality you’re after, we’ll be happy to help you! Just ask at [https://wppopupmaker.com/support/](https://wppopupmaker.com/support/).
38
  * Slide Out Popups, Banner Bars, Floating Sticky Popups, Notification Popups, Loading Screen Popups, Video Lightboxes, and Opt-In Form Popups.
39
- * Our popups support the most popular form building plugins available: Ninja Forms, Gravity Forms, Contact Form 7, & More.
40
  * We support every list building form, including but not limited to: MailChimp, AWeber, InfusionSoft, GetResponse, Constant Contact, Mail Poet, Mad Mimi, Hubspot, and Emma.
41
  * Use our unique **Popup Editor** to build any content you can imagine inside of our popups, plus control popup sizing, position, animation, and so much more.
42
  * **Conditions** allow you to target exactly who will (and will not) see your popups. Target any WordPress content such as: posts, pages, and 26 more!
43
- * We have included specific conditions for popular plugins such as WooCommerce.
44
  * Dictate the frequency at which users see your popups using **Cookies**, and edit how the cookies are created using Cookie Creation Events.
45
  * **Click Triggers** allows you to trigger a popup on click of menu items, sidebars, buttons, images, or any other content on your site. We have various methods allowing you to integrate our click triggers with nearly any plugin or theme.
46
  * **Auto Open Triggers** allows you to set a **timed delay**, then the popup will display according to your preference.
@@ -125,6 +125,9 @@ There are several common causes for this, check [this guide for help](https://do
125
 
126
  View our [complete changelog](https://github.com/PopupMaker/Popup-Maker/blob/master/CHANGELOG.md) for up-to-date information on what has been going on with the development of Popup Maker.
127
 
 
 
 
128
  = v1.9.0 - 02/11/2020 =
129
  * Feature: New Form Submission trigger with option to choose specific forms for integrated forms.
130
  * Feature: New Form Submission cookie event with option to choose specific forms.
7
  Requires at least: 4.1
8
  Tested up to: 5.3
9
  Requires PHP: 5.6
10
+ Stable tag: 1.9.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
36
 
37
  * This popup plugin has limitless potential with no restrictions. If you can’t get the functionality you’re after, we’ll be happy to help you! Just ask at [https://wppopupmaker.com/support/](https://wppopupmaker.com/support/).
38
  * Slide Out Popups, Banner Bars, Floating Sticky Popups, Notification Popups, Loading Screen Popups, Video Lightboxes, and Opt-In Form Popups.
39
+ * Our popups support the most popular form building plugins available: Ninja Forms, Gravity Forms, Contact Form 7, Caldera Forms, WPForms, MC4WP (Mailchimp for WordPress), & More.
40
  * We support every list building form, including but not limited to: MailChimp, AWeber, InfusionSoft, GetResponse, Constant Contact, Mail Poet, Mad Mimi, Hubspot, and Emma.
41
  * Use our unique **Popup Editor** to build any content you can imagine inside of our popups, plus control popup sizing, position, animation, and so much more.
42
  * **Conditions** allow you to target exactly who will (and will not) see your popups. Target any WordPress content such as: posts, pages, and 26 more!
43
+ * Create WooCommerce popups easily with built in targeting rules for Products & Shop pages.
44
  * Dictate the frequency at which users see your popups using **Cookies**, and edit how the cookies are created using Cookie Creation Events.
45
  * **Click Triggers** allows you to trigger a popup on click of menu items, sidebars, buttons, images, or any other content on your site. We have various methods allowing you to integrate our click triggers with nearly any plugin or theme.
46
  * **Auto Open Triggers** allows you to set a **timed delay**, then the popup will display according to your preference.
125
 
126
  View our [complete changelog](https://github.com/PopupMaker/Popup-Maker/blob/master/CHANGELOG.md) for up-to-date information on what has been going on with the development of Popup Maker.
127
 
128
+ = v1.9.1 - 02/13/2020 =
129
+ * Fix: JS error when MailChimp for WordPress was active but no forms on the page.
130
+
131
  = v1.9.0 - 02/11/2020 =
132
  * Feature: New Form Submission trigger with option to choose specific forms for integrated forms.
133
  * Feature: New Form Submission cookie event with option to choose specific forms.