Super Progressive Web Apps - Version 2.1.18

Version Description

  • Date: 1.November.2021
  • Bug Fixed : Resolved the issue of License alert showing when key is not activated #230
  • Bug Fixed : PHP Warning: Trying to access array offset on value of type bool #230
  • Enhancement : Added New Addon PreLoader Array #226
Download this release

Release Info

Developer superpwa
Plugin Icon 128x128 Super Progressive Web Apps
Version 2.1.18
Comparing to
See all releases

Code changes from version 2.1.17 to 2.1.18

admin/admin-ui-render-addons.php CHANGED
@@ -126,6 +126,17 @@ function superpwa_get_addons( $slug = false ) {
126
  'admin_link_target' => 'admin',
127
  'superpwa_min_version' => '2.1.8',
128
  ),
 
 
 
 
 
 
 
 
 
 
 
129
  );
130
 
131
  if ( $slug === false ) {
126
  'admin_link_target' => 'admin',
127
  'superpwa_min_version' => '2.1.8',
128
  ),
129
+ 'pre_loader' => array(
130
+ 'name' => __( 'PreLoader', 'super-progressive-web-apps' ),
131
+ 'description' => __( 'Set the Pre-Loading Feature and provide your user an eye catchy loading functionality to the site.', 'super-progressive-web-apps' ),
132
+ 'type' => 'addon_pro',
133
+ 'icon' => 'spinner-of-dots.png',
134
+ 'link' => 'https://superpwa.com/doc/preloader-add-on-for-superpwa/',
135
+ 'admin_link' => admin_url( 'admin.php?page=superpwa-pre-loader' ),
136
+ 'admin_link_text' => __( 'More Details & Customize Settings →', 'super-progressive-web-apps' ),
137
+ 'admin_link_target' => 'admin',
138
+ 'superpwa_min_version' => '2.1.18',//1.8
139
+ ),
140
  );
141
 
142
  if ( $slug === false ) {
admin/admin-ui-setup.php CHANGED
@@ -54,7 +54,7 @@ function superpwa_add_menu_links() {
54
 
55
  $license_alert = $days = '';
56
  $license_info = get_option("superpwa_pro_upgrade_license");
57
- if (isset($license_info)) {
58
 
59
  $license_exp = date('Y-m-d', strtotime($license_info['pro']['license_key_expires']));
60
  $license_info_lifetime = $license_info['pro']['license_key_expires'];
@@ -74,9 +74,10 @@ function superpwa_add_menu_links() {
74
  $days = -$days;
75
  }
76
 
77
- }
78
 
79
  $license_alert = isset($days) && $days!==0 && $days<=30 && $days!=='Lifetime' ? "<span class='superpwa_pro_icon dashicons dashicons-warning superpwa_pro_alert' style='color: #ffb229;left: 3px;position: relative;'></span>": "" ;
 
80
  $textlicense = __( 'License', 'super-progressive-web-apps' );
81
 
82
  add_submenu_page( 'superpwa', __( 'Super Progressive Web Apps', 'super-progressive-web-apps' ), $textlicense.$license_alert, 'manage_options', 'superpwa#license-settings', 'superpwa_upgread_pro_interface_render' , 9999999);
54
 
55
  $license_alert = $days = '';
56
  $license_info = get_option("superpwa_pro_upgrade_license");
57
+ if ($license_info) {
58
 
59
  $license_exp = date('Y-m-d', strtotime($license_info['pro']['license_key_expires']));
60
  $license_info_lifetime = $license_info['pro']['license_key_expires'];
74
  $days = -$days;
75
  }
76
 
77
+
78
 
79
  $license_alert = isset($days) && $days!==0 && $days<=30 && $days!=='Lifetime' ? "<span class='superpwa_pro_icon dashicons dashicons-warning superpwa_pro_alert' style='color: #ffb229;left: 3px;position: relative;'></span>": "" ;
80
+ }
81
  $textlicense = __( 'License', 'super-progressive-web-apps' );
82
 
83
  add_submenu_page( 'superpwa', __( 'Super Progressive Web Apps', 'super-progressive-web-apps' ), $textlicense.$license_alert, 'manage_options', 'superpwa#license-settings', 'superpwa_upgread_pro_interface_render' , 9999999);
admin/img/spinner-of-dots.png ADDED
Binary file
readme.txt CHANGED
@@ -186,6 +186,12 @@ Feel free to get in touch if you have any questions.
186
 
187
  == Changelog ==
188
 
 
 
 
 
 
 
189
  = 2.1.17 =
190
  * Date: [23.October.2021](https://superpwa.com/superpwa-2-1-17-release-note/?utm_source=wordpress.org&utm_medium=changelog)
191
  * Bug Fixed : Resolved the issue of Invalid regular expression error when exclude cache URL is placed without end slash #216
186
 
187
  == Changelog ==
188
 
189
+ = 2.1.18 =
190
+ * Date: [1.November.2021](https://superpwa.com/superpwa-2-1-18-release-note/?utm_source=wordpress.org&utm_medium=changelog)
191
+ * Bug Fixed : Resolved the issue of License alert showing when key is not activated #230
192
+ * Bug Fixed : PHP Warning: Trying to access array offset on value of type bool #230
193
+ * Enhancement : Added New Addon PreLoader Array #226
194
+
195
  = 2.1.17 =
196
  * Date: [23.October.2021](https://superpwa.com/superpwa-2-1-17-release-note/?utm_source=wordpress.org&utm_medium=changelog)
197
  * Bug Fixed : Resolved the issue of Invalid regular expression error when exclude cache URL is placed without end slash #216
superpwa.php CHANGED
@@ -6,7 +6,7 @@
6
  * Author: SuperPWA
7
  * Author URI: https://profiles.wordpress.org/superpwa/
8
  * Contributors: SuperPWA
9
- * Version: 2.1.17
10
  * Text Domain: super-progressive-web-apps
11
  * Domain Path: /languages
12
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
@@ -43,7 +43,7 @@ if ( ! defined('ABSPATH') ) exit;
43
  * @since 1.0
44
  */
45
  if ( ! defined( 'SUPERPWA_VERSION' ) ) {
46
- define( 'SUPERPWA_VERSION' , '2.1.17' );
47
  }
48
 
49
  /**
6
  * Author: SuperPWA
7
  * Author URI: https://profiles.wordpress.org/superpwa/
8
  * Contributors: SuperPWA
9
+ * Version: 2.1.18
10
  * Text Domain: super-progressive-web-apps
11
  * Domain Path: /languages
12
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
43
  * @since 1.0
44
  */
45
  if ( ! defined( 'SUPERPWA_VERSION' ) ) {
46
+ define( 'SUPERPWA_VERSION' , '2.1.18' );
47
  }
48
 
49
  /**