AfterShip – WooCommerce Tracking - Version 1.13.1

Version Description

  • fix OAuth link issue
Download this release

Release Info

Developer aftership
Plugin Icon 128x128 AfterShip – WooCommerce Tracking
Version 1.13.1
Comparing to
See all releases

Code changes from version 1.13.0 to 1.13.1

.huskyrc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "hooks": {
3
- "pre-commit": "./vendor/bin/phpcbf ./"
4
- }
5
- }
 
 
 
 
 
aftership-woocommerce-tracking.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available)
4
  * Plugin URI: http://aftership.com/
5
  * Description: Track orders in one place. shipment tracking, automated notifications, order lookup, branded tracking page, delivery day prediction
6
- * Version: 1.13.0
7
  * Author: AfterShip
8
  * Author URI: http://aftership.com
9
  *
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
20
 
21
  require_once( 'woo-includes/woo-functions.php' );
22
 
23
- define( 'AFTERSHIP_VERSION', '1.13.0' );
24
  define( 'AFTERSHIP_PATH', dirname( __FILE__ ) );
25
  define( 'AFTERSHIP_ASSETS_URL', plugins_url() . '/' . basename( AFTERSHIP_PATH ) );
26
 
3
  * Plugin Name: AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available)
4
  * Plugin URI: http://aftership.com/
5
  * Description: Track orders in one place. shipment tracking, automated notifications, order lookup, branded tracking page, delivery day prediction
6
+ * Version: 1.13.1
7
  * Author: AfterShip
8
  * Author URI: http://aftership.com
9
  *
20
 
21
  require_once( 'woo-includes/woo-functions.php' );
22
 
23
+ define( 'AFTERSHIP_VERSION', '1.13.1' );
24
  define( 'AFTERSHIP_PATH', dirname( __FILE__ ) );
25
  define( 'AFTERSHIP_ASSETS_URL', plugins_url() . '/' . basename( AFTERSHIP_PATH ) );
26
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.aftership.com/
4
  Tags: woocommerce shipping,woocommerce tracking,shipment tracking,order tracking, woocommerce,track order,dhl,ups,usps,fedex,shipping,tracking,order
5
  Requires at least: 2.9
6
  Tested up to: 5.7
7
- Stable tag: 1.13.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -136,6 +136,9 @@ Tailor a dynamic branded tracking page. Upload promotional banner, logo, and fav
136
 
137
  == Changelog ==
138
 
 
 
 
139
  = 1.13.0 =
140
  * Enhancement - Added New Admin Menu
141
  * Enhancement - Enhancement - Updated Settings Page Design
4
  Tags: woocommerce shipping,woocommerce tracking,shipment tracking,order tracking, woocommerce,track order,dhl,ups,usps,fedex,shipping,tracking,order
5
  Requires at least: 2.9
6
  Tested up to: 5.7
7
+ Stable tag: 1.13.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
136
 
137
  == Changelog ==
138
 
139
+ = 1.13.1 =
140
+ * fix OAuth link issue
141
+
142
  = 1.13.0 =
143
  * Enhancement - Added New Admin Menu
144
  * Enhancement - Enhancement - Updated Settings Page Design
views/automizely_aftership_on_boarding_view.php CHANGED
@@ -8,9 +8,7 @@ if ( ! current_user_can( 'manage_options' ) ) {
8
  wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
9
  }
10
 
11
- $server_protocol = (int) $_SERVER['SERVER_PORT'] == 80 ? 'http://' : 'https://';
12
-
13
- $store_url = $server_protocol . $_SERVER['HTTP_HOST'];
14
 
15
  $query = array(
16
  'shop' => $store_url,
8
  wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
9
  }
10
 
11
+ $store_url = get_site_url();
 
 
12
 
13
  $query = array(
14
  'shop' => $store_url,
views/automizely_aftership_setting_view.php CHANGED
@@ -11,9 +11,7 @@ if ( ! current_user_can( 'manage_options' ) ) {
11
  $this->options = get_option( 'aftership_option_name' );
12
  $is_display_connect = $this->options['connected'] && $this->options['connected'] === true;
13
 
14
- $server_protocol = (int) $_SERVER['SERVER_PORT'] == 80 ? 'http://' : 'https://';
15
-
16
- $store_url = $server_protocol . $_SERVER['HTTP_HOST'];
17
 
18
  $query = array(
19
  'shop' => $store_url,
11
  $this->options = get_option( 'aftership_option_name' );
12
  $is_display_connect = $this->options['connected'] && $this->options['connected'] === true;
13
 
14
+ $store_url = get_site_url();
 
 
15
 
16
  $query = array(
17
  'shop' => $store_url,