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

Version Description

Download this release

Release Info

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

Code changes from version 1.2 to 1.2.1

Files changed (3) hide show
  1. includes/popup-functions.php +7 -3
  2. popup-maker.php +2 -2
  3. readme.txt +7 -4
includes/popup-functions.php CHANGED
@@ -44,7 +44,7 @@ add_filter('popmake_get_the_popup_classes', 'popmake_add_popup_size_classes', 5,
44
 
45
 
46
  function popmake_get_the_popup_data_attr( $popup_id = null ) {
47
- if( !$popup_id ) $popup_id = get_the_ID();
48
  $post = get_post( $popup_id );
49
  $data_attr = array(
50
  'id' => $popup_id,
@@ -53,10 +53,14 @@ function popmake_get_the_popup_data_attr( $popup_id = null ) {
53
  'display' => popmake_get_popup_display( $popup_id ),
54
  'close' => popmake_get_popup_close( $popup_id ),
55
  'click_open' => popmake_get_popup_click_open( $popup_id ),
56
- 'auto_open' => popmake_get_popup_auto_open( $popup_id ),
57
- 'admin_debug' => popmake_get_popup_admin_debug( $popup_id ),
58
  )
59
  );
 
 
 
 
 
 
60
  return apply_filters('popmake_get_the_popup_data_attr', $data_attr, $popup_id );
61
  }
62
 
44
 
45
 
46
  function popmake_get_the_popup_data_attr( $popup_id = null ) {
47
+ if( ! $popup_id ) $popup_id = get_the_ID();
48
  $post = get_post( $popup_id );
49
  $data_attr = array(
50
  'id' => $popup_id,
53
  'display' => popmake_get_popup_display( $popup_id ),
54
  'close' => popmake_get_popup_close( $popup_id ),
55
  'click_open' => popmake_get_popup_click_open( $popup_id ),
 
 
56
  )
57
  );
58
+ if( popmake_get_popup_auto_open( $popup_id, 'enabled' ) ) {
59
+ $data_attr['meta']['auto_open'] = popmake_get_popup_auto_open( $popup_id );
60
+ }
61
+ if( popmake_get_popup_admin_debug( $popup_id, 'enabled' ) ) {
62
+ $data_attr['meta']['admin_debug'] = popmake_get_popup_admin_debug( $popup_id );
63
+ }
64
  return apply_filters('popmake_get_the_popup_data_attr', $data_attr, $popup_id );
65
  }
66
 
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.2
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.2' );
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.2.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.2.1' );
148
  }
149
 
150
  if ( !defined('POPMAKE_DB_VERSION') ) {
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Popup Maker ===
2
- Contributors: danieliser
3
  Author URI: http://danieliser.com
4
  Plugin URI: https://wppopupmaker.com?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Plugin+URI
5
- Donate link:
6
  Tags: age restriction, age verification, auto open, automatic popup, conversion, conversions, custom popup, dialog box, exit intent, fancy box, fancy popup, form modal, full page popup, full screen pop, full screen popup, marketing, modal, modals, onclick popup, optin popup, pop-up, pop-ups, popup, popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, unblockable, wordpress popup
7
  Requires at least: 3.4
8
  Tested up to: 4.2
9
- Stable tag: 1.2
10
  License: GNU Version 2 or Any Later Version
11
 
12
  Easily turn users into cash using Popup Maker - the most versatile & expansive popup plugin for WordPress!
@@ -24,7 +24,7 @@ Use any of your forms from the most popular form plugins, out-of-the-box, inside
24
 
25
  Need it in another language? Help us [translate Popup Maker](https://www.transifex.com/projects/p/popup-maker).
26
 
27
- [Subscribe to our Newsletter](https://wppopupmaker.com/newsletter-sign-up?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Newsletter+Signup "Popup Maker Newsletter Sign Up") and receive tutorials and guides tailored to teaching you how to drastically improve your conversion rates using Popup Maker. Also, for a limited time only, sign up and receive Unlimited Themes and Advanced Theme Builder for free, plus 25% off your first purchase from our Extension Marketplace!
28
 
29
  * If you like the plugin please rate & review it! If you love the plugin and want news & updates, follow us on [Twitter](https://twitter.com/wppopupmaker "Popup Maker on Twitter")!
30
  * Check out the [Popup Maker Website](https://wppopupmaker.com?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Home+Page "Popup Maker Website") for everything Popup Maker.
@@ -78,6 +78,9 @@ For more information, visit [Popup Maker](https://wppopupmaker.com?utm_source=Wo
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = v1.2 =
82
  * Added full screen preview for themes when editing using the Preview button.
83
  * Added full screen preview for popup when editing using the Preview button.
1
  === Popup Maker ===
2
+ Contributors: danieliser, mrjonwilson
3
  Author URI: http://danieliser.com
4
  Plugin URI: https://wppopupmaker.com?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Plugin+URI
5
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4QWL6T68F539L
6
  Tags: age restriction, age verification, auto open, automatic popup, conversion, conversions, custom popup, dialog box, exit intent, fancy box, fancy popup, form modal, full page popup, full screen pop, full screen popup, marketing, modal, modals, onclick popup, optin popup, pop-up, pop-ups, popup, popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, unblockable, wordpress popup
7
  Requires at least: 3.4
8
  Tested up to: 4.2
9
+ Stable tag: 1.2.1
10
  License: GNU Version 2 or Any Later Version
11
 
12
  Easily turn users into cash using Popup Maker - the most versatile & expansive popup plugin for WordPress!
24
 
25
  Need it in another language? Help us [translate Popup Maker](https://www.transifex.com/projects/p/popup-maker).
26
 
27
+ [Subscribe to our Newsletter](https://wppopupmaker.com/newsletter-sign-up?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Newsletter+Signup "Popup Maker Newsletter Sign Up") and receive tutorials and guides tailored to teaching you how to drastically improve your conversion rates using Popup Maker. Also, for a limited time only, sign up and receive 25% off your first purchase from our Extension Marketplace!
28
 
29
  * If you like the plugin please rate & review it! If you love the plugin and want news & updates, follow us on [Twitter](https://twitter.com/wppopupmaker "Popup Maker on Twitter")!
30
  * Check out the [Popup Maker Website](https://wppopupmaker.com?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Home+Page "Popup Maker Website") for everything Popup Maker.
78
 
79
  == Changelog ==
80
 
81
+ = v1.2.1 =
82
+ * Fixed bug caused by null value passed to JS data attr.
83
+
84
  = v1.2 =
85
  * Added full screen preview for themes when editing using the Preview button.
86
  * Added full screen preview for popup when editing using the Preview button.