Skip to content

Commit

Permalink
Merge pull request #34 from SuperPWA/branch-1.7.1
Browse files Browse the repository at this point in the history
Branch 1.7.1
  • Loading branch information
arunbasillal authored May 5, 2018
2 parents 19d3fdc + d98bd31 commit 10cd1b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion functions/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function superpwa_get_start_url( $rel = false ) {
if ( $rel === true ) {

// Make start_url relative for manifest
$start_url = empty( parse_url( $start_url, PHP_URL_PATH ) ) ? '.' : parse_url( $start_url, PHP_URL_PATH );
$start_url = ( parse_url( $start_url, PHP_URL_PATH ) == '' ) ? '.' : parse_url( $start_url, PHP_URL_PATH );

return apply_filters( 'superpwa_manifest_start_url', $start_url );
}
Expand Down
7 changes: 7 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ PWA's require browsers with support for service workers and for iOS devices, sup

== Changelog ==

= 1.7.1 =
* Date: 05.May.2018
* Bug Fix: Fix fatal error in PHP versions prior to PHP 5.5. "Cant use function return value in write context".

= 1.7 =
* Date: 03.May.2018
* Minimum required WordPress version is now 3.6.0 (previously 3.5.0).
Expand Down Expand Up @@ -221,6 +225,9 @@ PWA's require browsers with support for service workers and for iOS devices, sup

== Upgrade Notice ==

= 1.7.1 =
* Bug Fix: Fix fatal error in PHP versions prior to PHP 5.5. "Cant use function return value in write context".

= 1.7 =
* Minimum required WordPress version is now 3.6.0 (previously 3.5.0).
* New Feature: Add-Ons for SuperPWA is here!
Expand Down
11 changes: 2 additions & 9 deletions superpwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author: SuperPWA
* Author URI: https://superpwa.com
* Contributors: Arun Basil Lal, Jose Varghese
* Version: 1.7
* Version: 1.7.1
* Text Domain: super-progressive-web-apps
* Domain Path: /languages
* License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Expand All @@ -33,13 +33,6 @@
* uninstall.php - Fired when the plugin is uninstalled.
*/

/**
* ~ Release TODO ~
*
* Update SUPERPWA_VERSION
* Spellcheck readme.txt
*/

// Exit if accessed directly
if ( ! defined('ABSPATH') ) exit;

Expand All @@ -50,7 +43,7 @@
* @since 1.6 Depreciated constants for multisite compatibility: SUPERPWA_MANIFEST_FILENAME, SUPERPWA_MANIFEST_ABS, SUPERPWA_MANIFEST_SRC
* @since 1.6 Depreciated constants for multisite compatibility: SUPERPWA_SW_FILENAME, SUPERPWA_SW_ABS, SUPERPWA_SW_SRC
*/
if ( ! defined( 'SUPERPWA_VERSION' ) ) define( 'SUPERPWA_VERSION' , '1.7' ); // SuperPWA current version
if ( ! defined( 'SUPERPWA_VERSION' ) ) define( 'SUPERPWA_VERSION' , '1.7.1' ); // SuperPWA current version
if ( ! defined( 'SUPERPWA_PATH_ABS' ) ) define( 'SUPERPWA_PATH_ABS' , plugin_dir_path( __FILE__ ) ); // Absolute path to the plugin directory. eg - /var/www/html/wp-content/plugins/super-progressive-web-apps/
if ( ! defined( 'SUPERPWA_PATH_SRC' ) ) define( 'SUPERPWA_PATH_SRC' , plugin_dir_url( __FILE__ ) ); // Link to the plugin folder. eg - http://example.com/wp/wp-content/plugins/super-progressive-web-apps/

Expand Down

0 comments on commit 10cd1b7

Please sign in to comment.