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

Version Description

Download this release

Release Info

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

Code changes from version 1.7.2 to 1.7.3

classes/Model/Popup.php CHANGED
@@ -587,7 +587,9 @@ class PUM_Model_Popup extends PUM_Model_Post {
587
  public function close_text() {
588
  $text = $this->get_setting( 'close_text', '×' );
589
 
590
- if ( empty( $text ) && ! empty( $theme_text = popmake_get_popup_theme_close( $this->get_theme_id(), 'text', false ) ) ) {
 
 
591
  $text = $theme_text;
592
  }
593
 
587
  public function close_text() {
588
  $text = $this->get_setting( 'close_text', '×' );
589
 
590
+ $theme_text = popmake_get_popup_theme_close( $this->get_theme_id(), 'text', false );
591
+
592
+ if ( empty( $text ) && ! empty( $theme_text ) ) {
593
  $text = $theme_text;
594
  }
595
 
classes/Upgrades.php CHANGED
@@ -68,7 +68,7 @@ class PUM_Upgrades {
68
  // Add Upgrade tab to Tools page when upgrades available.
69
  add_filter( 'pum_tools_tabs', array( $this, 'tools_page_tabs' ) );
70
  // Render tools page upgrade tab content.
71
- add_action( 'pum_tools_page_tab_upgrades', array( __CLASS__, 'tools_page_tab_content' ) );
72
  // Ajax upgrade handler.
73
  add_action( 'wp_ajax_pum_process_upgrade_request', array( $this, 'process_upgrade_request' ) );
74
  }
68
  // Add Upgrade tab to Tools page when upgrades available.
69
  add_filter( 'pum_tools_tabs', array( $this, 'tools_page_tabs' ) );
70
  // Render tools page upgrade tab content.
71
+ add_action( 'pum_tools_page_tab_upgrades', array( $this, 'tools_page_tab_content' ) );
72
  // Ajax upgrade handler.
73
  add_action( 'wp_ajax_pum_process_upgrade_request', array( $this, 'process_upgrade_request' ) );
74
  }
includes/class-pum.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
 
8
  class PUM {
9
 
10
- const VER = '1.7.2';
11
 
12
  const DB_VER = 7;
13
 
7
 
8
  class PUM {
9
 
10
+ const VER = '1.7.3';
11
 
12
  const DB_VER = 7;
13
 
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.2
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.2';
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.3
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.3';
97
 
98
  /**
99
  * @var int DB Version
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link:
6
  Tags: marketing, popup, popups, optin, advertising, conversion, responsive popups, promotion, popover, pop-up, pop over, lightbox, conversion, modal
7
  Requires at least: 3.6
8
  Tested up to: 4.9.4
9
- Stable tag: 1.7.2
10
  License: GNU Version 3 or Any Later Version
11
 
12
  Everything you need to create unique user experiences. Insert forms & other content from your favorite plugins to create custom responsive popups.
@@ -101,6 +101,10 @@ There are several common causes for this which include:
101
 
102
  == Changelog ==
103
 
 
 
 
 
104
  = v1.7.2 - 03/12/2017 =
105
  * Fix: Initialization variable wasn't set to true early enough.
106
 
6
  Tags: marketing, popup, popups, optin, advertising, conversion, responsive popups, promotion, popover, pop-up, pop over, lightbox, conversion, modal
7
  Requires at least: 3.6
8
  Tested up to: 4.9.4
9
+ Stable tag: 1.7.3
10
  License: GNU Version 3 or Any Later Version
11
 
12
  Everything you need to create unique user experiences. Insert forms & other content from your favorite plugins to create custom responsive popups.
101
 
102
  == Changelog ==
103
 
104
+ = v1.7.3 - 03/12/2017 =
105
+ * Fix: Error due to usage of __CLASS__ rather than $this.
106
+ * Fix: Edge case where function returns can't be used inside empty().
107
+
108
  = v1.7.2 - 03/12/2017 =
109
  * Fix: Initialization variable wasn't set to true early enough.
110