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

Version Description

Download this release

Release Info

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

Code changes from version 1.7.0 to 1.7.1

classes/Admin/Shortcode/UI.php CHANGED
@@ -16,8 +16,21 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class PUM_Admin_Shortcode_UI {
18
 
 
 
 
 
 
 
 
 
 
 
 
19
  public static function init() {
20
- add_action( 'admin_init', array( __CLASS__, 'init_editor' ), 20 );
 
 
21
  }
22
 
23
  /**
16
  */
17
  class PUM_Admin_Shortcode_UI {
18
 
19
+ private static $initialized = false;
20
+
21
+ /**
22
+ * Here for backward compatibility with 3rd party plugins.
23
+ *
24
+ * @deprecated 1.7.0
25
+ */
26
+ public static function instance() {
27
+ self::init();
28
+ }
29
+
30
  public static function init() {
31
+ if ( ! self::$initialized ) {
32
+ add_action( 'admin_init', array( __CLASS__, 'init_editor' ), 20 );
33
+ }
34
  }
35
 
36
  /**
classes/Shortcode.php CHANGED
@@ -188,7 +188,11 @@ abstract class PUM_Shortcode {
188
  *
189
  * @return array
190
  */
191
- public function shortcode_atts( $atts ) {
 
 
 
 
192
  foreach( $atts as $key => $value ) {
193
  if ( is_int( $key ) ) {
194
  unset( $atts[ $key ] );
188
  *
189
  * @return array
190
  */
191
+ public function shortcode_atts( $atts = array() ) {
192
+ if ( ! is_array( $atts ) ) {
193
+ $atts = array();
194
+ }
195
+
196
  foreach( $atts as $key => $value ) {
197
  if ( is_int( $key ) ) {
198
  unset( $atts[ $key ] );
includes/class-pum.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
 
8
  class PUM {
9
 
10
- const VER = '1.7.0';
11
 
12
  const DB_VER = 7;
13
 
7
 
8
  class PUM {
9
 
10
+ const VER = '1.7.1';
11
 
12
  const DB_VER = 7;
13
 
languages/popup-maker.pot CHANGED
@@ -110,11 +110,11 @@ msgstr ""
110
  msgid "Update"
111
  msgstr ""
112
 
113
- #: classes/Admin/Assets.php:70, classes/Admin/Shortcode/UI.php:88
114
  msgid "Insert"
115
  msgstr ""
116
 
117
- #: classes/Admin/Assets.php:71, classes/Admin/Helpers.php:370, classes/Admin/Shortcode/UI.php:89
118
  msgid "Cancel"
119
  msgstr ""
120
 
@@ -134,11 +134,11 @@ msgstr ""
134
  msgid "Are you sure you want to reset the open count?"
135
  msgstr ""
136
 
137
- #: classes/Admin/Assets.php:76, classes/Admin/Shortcode/UI.php:90
138
  msgid "Popup Maker Shortcodes"
139
  msgstr ""
140
 
141
- #: classes/Admin/Assets.php:77, classes/Admin/Shortcode/UI.php:91
142
  msgid "There was an error in generating the preview"
143
  msgstr ""
144
 
@@ -863,7 +863,7 @@ msgstr ""
863
  msgid "Assets"
864
  msgstr ""
865
 
866
- #: classes/Admin/Shortcode/UI.php:154
867
  msgid "You do not have access to preview this post."
868
  msgstr ""
869
 
110
  msgid "Update"
111
  msgstr ""
112
 
113
+ #: classes/Admin/Assets.php:70, classes/Admin/Shortcode/UI.php:101
114
  msgid "Insert"
115
  msgstr ""
116
 
117
+ #: classes/Admin/Assets.php:71, classes/Admin/Helpers.php:370, classes/Admin/Shortcode/UI.php:102
118
  msgid "Cancel"
119
  msgstr ""
120
 
134
  msgid "Are you sure you want to reset the open count?"
135
  msgstr ""
136
 
137
+ #: classes/Admin/Assets.php:76, classes/Admin/Shortcode/UI.php:103
138
  msgid "Popup Maker Shortcodes"
139
  msgstr ""
140
 
141
+ #: classes/Admin/Assets.php:77, classes/Admin/Shortcode/UI.php:104
142
  msgid "There was an error in generating the preview"
143
  msgstr ""
144
 
863
  msgid "Assets"
864
  msgstr ""
865
 
866
+ #: classes/Admin/Shortcode/UI.php:167
867
  msgid "You do not have access to preview this post."
868
  msgstr ""
869
 
popup-maker.php CHANGED
@@ -4,7 +4,7 @@
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
  * Author: WP Popup Maker
7
- * Version: 1.7.0
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
9
  * Text Domain: popup-maker
10
  *
@@ -93,7 +93,7 @@ class Popup_Maker {
93
  /**
94
  * @var string Plugin Version
95
  */
96
- public static $VER = '1.7.0';
97
 
98
  /**
99
  * @var int DB Version
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
  * Author: WP Popup Maker
7
+ * Version: 1.7.1
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
9
  * Text Domain: popup-maker
10
  *
93
  /**
94
  * @var string Plugin Version
95
  */
96
+ public static $VER = '1.7.1';
97
 
98
  /**
99
  * @var int DB Version
readme.txt CHANGED
@@ -101,6 +101,10 @@ There are several common causes for this which include:
101
 
102
  == Changelog ==
103
 
 
 
 
 
104
  = v1.7.0 - 03/12/2017 =
105
  This was one of our biggest updates to date in terms of improving existing functionality, reducing maintenance and the time it takes to implement new features in the future.
106
 
101
 
102
  == Changelog ==
103
 
104
+ = v1.7.1 - 03/12/2017 =
105
+ * Fix: Empty value errors.
106
+ * Fix: Missing function for 3rd party plugin backward compatibility (Elementor).
107
+
108
  = v1.7.0 - 03/12/2017 =
109
  This was one of our biggest updates to date in terms of improving existing functionality, reducing maintenance and the time it takes to implement new features in the future.
110