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

Version Description

Download this release

Release Info

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

Code changes from version 1.16.0 to 1.16.1

CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
  # Popup Maker Changelog
2
 
 
 
 
3
 
4
  ## [v1.16.0 - 03/09/2021](https://github.com/PopupMaker/Popup-Maker/milestone/31)
5
 
1
  # Popup Maker Changelog
2
 
3
+ ## v1.16.1 - 03/21/2021
4
+
5
+ * Fix: WP <5.0 and ClassicPress saw errors in the admin for usage of WP_Block_Type_Registry. [Issue #995](https://github.com/PopupMaker/Popup-Maker/issues/995)
6
 
7
  ## [v1.16.0 - 03/09/2021](https://github.com/PopupMaker/Popup-Maker/milestone/31)
8
 
classes/Admin/BlockEditor.php CHANGED
@@ -109,6 +109,11 @@ class PUM_Admin_BlockEditor {
109
  * @since 1.16.0
110
  */
111
  public static function add_attributes_to_registered_blocks() {
 
 
 
 
 
112
 
113
  $registered_blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();
114
 
109
  * @since 1.16.0
110
  */
111
  public static function add_attributes_to_registered_blocks() {
112
+ global $wp_version;
113
+
114
+ if ( version_compare( $wp_version, '5.0' ) === -1 ) {
115
+ return;
116
+ }
117
 
118
  $registered_blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();
119
 
popup-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Maker
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=plugin-info&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.16.0
7
  * Author: Popup Maker
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=author-uri
9
  * License: GPL2 or later
@@ -13,7 +13,7 @@
13
  *
14
  * @package POPMAKE
15
  * @author Daniel Iser
16
- * @copyright Copyright (c) 2020, Code Atlantic LLC
17
  */
18
 
19
  // Exit if accessed directly.
@@ -93,7 +93,7 @@ class Popup_Maker {
93
  /**
94
  * @var string Plugin Version
95
  */
96
- public static $VER = '1.16.0';
97
 
98
  /**
99
  * @var int DB Version
3
  * Plugin Name: Popup Maker
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=plugin-info&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.16.1
7
  * Author: Popup Maker
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=author-uri
9
  * License: GPL2 or later
13
  *
14
  * @package POPMAKE
15
  * @author Daniel Iser
16
+ * @copyright Copyright (c) 2021, Code Atlantic LLC
17
  */
18
 
19
  // Exit if accessed directly.
93
  /**
94
  * @var string Plugin Version
95
  */
96
+ public static $VER = '1.16.1';
97
 
98
  /**
99
  * @var int DB Version
readme.txt CHANGED
@@ -5,9 +5,9 @@ Plugin URI: https://wppopupmaker.com/?utm_campaign=readme&utm_medium=referral&ut
5
  Donate link:
6
  Tags: marketing, ecommerce, popup, popups, optin, conversion, promotion, pop-up, lightbox, modal
7
  Requires at least: 4.9
8
- Tested up to: 5.6
9
  Requires PHP: 5.6
10
- Stable tag: 1.16.0
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -181,6 +181,9 @@ There are several common causes for this, check [this guide for help](https://do
181
 
182
  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.
183
 
 
 
 
184
  = v1.16.0 - 03/09/2021 =
185
  * Feature: Add 'flush popup cache' link in admin bar menu to quickly clear cached plugin JS & CSS files. [Issue #931](https://github.com/PopupMaker/Popup-Maker/issues/931)
186
  * Improvement: Remove 'Tools -> System Info' page, use WP Site Health page instead. [Issue #862](https://github.com/PopupMaker/Popup-Maker/issues/862)
5
  Donate link:
6
  Tags: marketing, ecommerce, popup, popups, optin, conversion, promotion, pop-up, lightbox, modal
7
  Requires at least: 4.9
8
+ Tested up to: 5.7
9
  Requires PHP: 5.6
10
+ Stable tag: 1.16.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
181
 
182
  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.
183
 
184
+ = v1.16.1 - 03/21/2021
185
+ * Fix: WP <5.0 and ClassicPress saw errors in the admin for usage of WP_Block_Type_Registry. [Issue #995](https://github.com/PopupMaker/Popup-Maker/issues/995)
186
+
187
  = v1.16.0 - 03/09/2021 =
188
  * Feature: Add 'flush popup cache' link in admin bar menu to quickly clear cached plugin JS & CSS files. [Issue #931](https://github.com/PopupMaker/Popup-Maker/issues/931)
189
  * Improvement: Remove 'Tools -> System Info' page, use WP Site Health page instead. [Issue #862](https://github.com/PopupMaker/Popup-Maker/issues/862)