Super Progressive Web Apps - Version 2.1.11

Version Description

  • Date: 17.May.2021 BugFixed: Remediation of Splash Screen Settings #178
Download this release

Release Info

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

Code changes from version 2.1.10 to 2.1.11

Files changed (3) hide show
  1. addons/apple-touch-icons.php +2 -2
  2. readme.txt +6 -1
  3. superpwa.php +2 -2
addons/apple-touch-icons.php CHANGED
@@ -159,7 +159,7 @@ function superpwa_apple_icons_splash_screen_cb() {
159
  $splashIconsScreens = apple_splashscreen_files_data();
160
  $iosScreenSetting = get_option( 'superpwa_apple_icons_uploaded' ) ; //New generated icons
161
  ?>
162
- <input type="file" id="upload_apple_function" accept="images/png">
163
  <p class="description"><?php echo esc_html__('Must select PNG images only', 'super-progressive-web-apps'); ?> </p><br/>
164
  <?php
165
  $a = 'style="display:none"';$src = '';
@@ -299,7 +299,7 @@ function superpwa_apple_icons_interface_render() {
299
  }
300
 
301
  function superpwa_splashscreen_uploader(){
302
- if(isset($_POST['security_nonce']) && !wp_verify_nonce( $_POST['security_nonce'], 'superpwaIosScreenSecurity' ) ) {
303
  echo json_encode(array('status'=>400, 'message'=>'security nonce not matched'));die;
304
  }
305
  if(isset($_FILES['file']['type']) && $_FILES['file']['type']!='application/zip'){
159
  $splashIconsScreens = apple_splashscreen_files_data();
160
  $iosScreenSetting = get_option( 'superpwa_apple_icons_uploaded' ) ; //New generated icons
161
  ?>
162
+ <input type="file" id="upload_apple_function" accept="image/png">
163
  <p class="description"><?php echo esc_html__('Must select PNG images only', 'super-progressive-web-apps'); ?> </p><br/>
164
  <?php
165
  $a = 'style="display:none"';$src = '';
299
  }
300
 
301
  function superpwa_splashscreen_uploader(){
302
+ if( (!isset($_POST['security_nonce'])) || (isset($_POST['security_nonce']) && !wp_verify_nonce( $_POST['security_nonce'], 'superpwaIosScreenSecurity' )) ) {
303
  echo json_encode(array('status'=>400, 'message'=>'security nonce not matched'));die;
304
  }
305
  if(isset($_FILES['file']['type']) && $_FILES['file']['type']!='application/zip'){
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: SuperPWA
3
  Tags: pwa, progressive web apps, manifest, web manifest, android app, chrome app, add to homescreen, mobile web
4
  Requires at least: 3.6.0
5
- Tested up to: 5.7.1
6
  Requires PHP: 5.3
7
  Stable tag: trunk
8
  License: GPLv2 or later
@@ -185,6 +185,11 @@ Feel free to get in touch if you have any questions.
185
  1. Settings page in WordPress Admin > SuperPWA > Settings
186
 
187
  == Changelog ==
 
 
 
 
 
188
  = 2.1.10 =
189
  * Date: [10.May.2021](https://superpwa.com/superpwa-2-1-10-release-note/?utm_source=wordpress.org&utm_medium=changelog)
190
  BugFixed: iOS splash screen not working using apple icons addon #182
2
  Contributors: SuperPWA
3
  Tags: pwa, progressive web apps, manifest, web manifest, android app, chrome app, add to homescreen, mobile web
4
  Requires at least: 3.6.0
5
+ Tested up to: 5.7.2
6
  Requires PHP: 5.3
7
  Stable tag: trunk
8
  License: GPLv2 or later
185
  1. Settings page in WordPress Admin > SuperPWA > Settings
186
 
187
  == Changelog ==
188
+
189
+ = 2.1.11 =
190
+ * Date: [17.May.2021](https://superpwa.com/superpwa-2-1-11-release-note/?utm_source=wordpress.org&utm_medium=changelog)
191
+ BugFixed: Remediation of Splash Screen Settings #178
192
+
193
  = 2.1.10 =
194
  * Date: [10.May.2021](https://superpwa.com/superpwa-2-1-10-release-note/?utm_source=wordpress.org&utm_medium=changelog)
195
  BugFixed: iOS splash screen not working using apple icons addon #182
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.10
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.10' );
47
  }
48
 
49
  /**
6
  * Author: SuperPWA
7
  * Author URI: https://profiles.wordpress.org/superpwa/
8
  * Contributors: SuperPWA
9
+ * Version: 2.1.11
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.11' );
47
  }
48
 
49
  /**