AfterShip – WooCommerce Tracking - Version 1.13.2

Version Description

  • GET v5/settings API add field: version
Download this release

Release Info

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

Code changes from version 1.13.1 to 1.13.2

.huskyrc ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
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.1
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.1' );
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.2
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.2' );
24
  define( 'AFTERSHIP_PATH', dirname( __FILE__ ) );
25
  define( 'AFTERSHIP_ASSETS_URL', plugins_url() . '/' . basename( AFTERSHIP_PATH ) );
26
 
includes/api/v4/class-aftership-api-settings.php CHANGED
@@ -41,7 +41,9 @@ class AfterShip_API_V4_Settings extends AfterShip_API_Resource {
41
  * @return array
42
  */
43
  public function get_list() {
44
- return array( 'settings' => get_option( 'aftership_option_name' ) );
 
 
45
  }
46
 
47
 
41
  * @return array
42
  */
43
  public function get_list() {
44
+ $settings = get_option( 'aftership_option_name' );
45
+ $settings['version'] = AFTERSHIP_VERSION;
46
+ return array( 'settings' => $settings );
47
  }
48
 
49
 
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.1
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.1 =
140
  * fix OAuth link issue
141
 
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.2
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.2 =
140
+ * GET v5/settings API add field: version
141
+
142
  = 1.13.1 =
143
  * fix OAuth link issue
144