Changeset 3481305
- Timestamp:
- 03/12/2026 03:57:09 PM (2 weeks ago)
- Location:
- live-rates-for-shipstation
- Files:
-
- 12 edited
- 1 copied
-
tags/1.2.5 (copied) (copied from live-rates-for-shipstation/trunk)
-
tags/1.2.5/changelog.txt (modified) (1 diff)
-
tags/1.2.5/core/classes/shipping-calculator.php (modified) (3 diffs)
-
tags/1.2.5/core/settings-shipstation.php (modified) (3 diffs)
-
tags/1.2.5/core/shipping-method-shipstation.php (modified) (1 diff)
-
tags/1.2.5/live-rates-for-shipstation.php (modified) (2 diffs)
-
tags/1.2.5/readme.txt (modified) (3 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/core/classes/shipping-calculator.php (modified) (3 diffs)
-
trunk/core/settings-shipstation.php (modified) (3 diffs)
-
trunk/core/shipping-method-shipstation.php (modified) (1 diff)
-
trunk/live-rates-for-shipstation.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
live-rates-for-shipstation/tags/1.2.5/changelog.txt
r3460184 r3481305 2 2 3 3 This is a brief text document keeping track of changes to the plugin. For a full history, see the Github Repository. 4 5 = 1.2.5 = 6 7 Relase Date: March 12, 2026. 8 9 * Overview 10 * Fixes isset() isse when checking FROM address (Thanks @richecolocity)! 11 * Fixes return value on WooCommerce Integration filter hook. 12 * Adds new cache busting when WooCommerce > Settings > General options are saved. 13 * This is important for when the shop address changes. 4 14 5 15 = 1.2.4 = -
live-rates-for-shipstation/tags/1.2.5/core/classes/shipping-calculator.php
r3460184 r3481305 293 293 294 294 // Log - Did not have all the necessary fields to run an API request on. 295 } else if( empty( $from_arr['from_country_code'] ) || empty( $ to_arr['from_postal_code'] ) ) {295 } else if( empty( $from_arr['from_country_code'] ) || empty( $from_arr['from_postal_code'] ) ) { 296 296 $this->log( esc_html__( 'Request missing a From Country Code and/or From Postal Code.', 'live-rates-for-shipstation' ), 'error' ); 297 297 } … … 321 321 // 'to' may come from instance $args 322 322 $to = $this->get( 'to', $this->get( 'destination' ), array() ); 323 return array (323 return array_map( 'trim', array( 324 324 'to_country_code' => ( isset( $to['country'] ) ) ? $to['country'] : '', 325 325 'to_postal_code' => ( isset( $to['postcode'] ) ) ? $to['postcode'] : '', 326 326 'to_city_locality' => ( isset( $to['city'] ) ) ? $to['city'] : '', 327 327 'to_state_province' => ( isset( $to['state'] ) ) ? $to['state'] : '', 328 ) ;328 ) ); 329 329 330 330 } … … 365 365 } 366 366 367 return $from_arr;367 return array_map( 'trim', $from_arr ); 368 368 369 369 } -
live-rates-for-shipstation/tags/1.2.5/core/settings-shipstation.php
r3460184 r3481305 43 43 add_action( 'woocommerce_cart_totals_after_order_total',array( $this, 'display_cart_weight' ) ) ; 44 44 add_action( 'woocommerce_update_option', array( $this, 'clear_cache_on_update' ) ); 45 add_action( 'woocommerce_update_options_general', array( $this, 'clear_cache_on_settings_general' ) ); 45 46 46 47 } … … 277 278 278 279 280 /** 281 * Clear teh cache whenever the WooCommerce > Settings > General has been updated. 282 * This is important if the Store Address changes. 283 * 284 * Thanks Paul! 285 * 286 * @return void 287 */ 288 function clear_cache_on_settings_general() { 289 \IQLRSS\Driver::clear_cache(); 290 } 291 292 279 293 280 294 /**------------------------------------------------------------------------------------------------ **/ … … 323 337 324 338 if( ! ( isset( $_GET, $_GET['section'] ) && 'shipstation' === $_GET['section'] ) ) { 325 return ;339 return $fields; 326 340 } 327 341 -
live-rates-for-shipstation/tags/1.2.5/core/shipping-method-shipstation.php
r3460184 r3481305 802 802 protected function check_packages_rate_cache( $packages ) { 803 803 804 805 804 /** 806 805 * Maybe skip cart caches. -
live-rates-for-shipstation/tags/1.2.5/live-rates-for-shipstation.php
r3460184 r3481305 4 4 * Plugin URI: https://iqcomputing.com/contact/ 5 5 * Description: ShipStation shipping method with live rates. 6 * Version: 1.2. 46 * Version: 1.2.5 7 7 * Requires at least: 6.2 8 8 * Author: IQComputing … … 26 26 * @var String 27 27 */ 28 protected static $version = '1.2. 4';28 protected static $version = '1.2.5'; 29 29 30 30 -
live-rates-for-shipstation/tags/1.2.5/readme.txt
r3460184 r3481305 4 4 Requires at least: 6.2 5 5 Tested up to: 6.9 6 Stable tag: 1.2. 46 Stable tag: 1.2.5 7 7 License: GPLv3 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 51 51 == Changelog == 52 52 53 = 1.2.5 (2026-03-12) = 54 * Fixes isset() isse when checking FROM address (Thanks @richecolocity)! 55 * Fixes return value on WooCommerce Integration filter hook. 56 * Adds new cache busting when WooCommerce > Settings > General options are saved. 57 53 58 = 1.2.4 (2026-02-12) = 54 59 * Adds new Integration Settings for a full uninstall/cleanup. … … 59 64 * Patches issue of misnamed method call. (Thanks @centuryperf)! 60 65 * Patches issue where warehouses would be called multiple times a request. 61 62 = 1.2.2 (2026-02-04) =63 * Replaces PHP 8.5 func array_first with reset. (Thanks Theo)! -
live-rates-for-shipstation/trunk/changelog.txt
r3460184 r3481305 2 2 3 3 This is a brief text document keeping track of changes to the plugin. For a full history, see the Github Repository. 4 5 = 1.2.5 = 6 7 Relase Date: March 12, 2026. 8 9 * Overview 10 * Fixes isset() isse when checking FROM address (Thanks @richecolocity)! 11 * Fixes return value on WooCommerce Integration filter hook. 12 * Adds new cache busting when WooCommerce > Settings > General options are saved. 13 * This is important for when the shop address changes. 4 14 5 15 = 1.2.4 = -
live-rates-for-shipstation/trunk/core/classes/shipping-calculator.php
r3460184 r3481305 293 293 294 294 // Log - Did not have all the necessary fields to run an API request on. 295 } else if( empty( $from_arr['from_country_code'] ) || empty( $ to_arr['from_postal_code'] ) ) {295 } else if( empty( $from_arr['from_country_code'] ) || empty( $from_arr['from_postal_code'] ) ) { 296 296 $this->log( esc_html__( 'Request missing a From Country Code and/or From Postal Code.', 'live-rates-for-shipstation' ), 'error' ); 297 297 } … … 321 321 // 'to' may come from instance $args 322 322 $to = $this->get( 'to', $this->get( 'destination' ), array() ); 323 return array (323 return array_map( 'trim', array( 324 324 'to_country_code' => ( isset( $to['country'] ) ) ? $to['country'] : '', 325 325 'to_postal_code' => ( isset( $to['postcode'] ) ) ? $to['postcode'] : '', 326 326 'to_city_locality' => ( isset( $to['city'] ) ) ? $to['city'] : '', 327 327 'to_state_province' => ( isset( $to['state'] ) ) ? $to['state'] : '', 328 ) ;328 ) ); 329 329 330 330 } … … 365 365 } 366 366 367 return $from_arr;367 return array_map( 'trim', $from_arr ); 368 368 369 369 } -
live-rates-for-shipstation/trunk/core/settings-shipstation.php
r3460184 r3481305 43 43 add_action( 'woocommerce_cart_totals_after_order_total',array( $this, 'display_cart_weight' ) ) ; 44 44 add_action( 'woocommerce_update_option', array( $this, 'clear_cache_on_update' ) ); 45 add_action( 'woocommerce_update_options_general', array( $this, 'clear_cache_on_settings_general' ) ); 45 46 46 47 } … … 277 278 278 279 280 /** 281 * Clear teh cache whenever the WooCommerce > Settings > General has been updated. 282 * This is important if the Store Address changes. 283 * 284 * Thanks Paul! 285 * 286 * @return void 287 */ 288 function clear_cache_on_settings_general() { 289 \IQLRSS\Driver::clear_cache(); 290 } 291 292 279 293 280 294 /**------------------------------------------------------------------------------------------------ **/ … … 323 337 324 338 if( ! ( isset( $_GET, $_GET['section'] ) && 'shipstation' === $_GET['section'] ) ) { 325 return ;339 return $fields; 326 340 } 327 341 -
live-rates-for-shipstation/trunk/core/shipping-method-shipstation.php
r3460184 r3481305 802 802 protected function check_packages_rate_cache( $packages ) { 803 803 804 805 804 /** 806 805 * Maybe skip cart caches. -
live-rates-for-shipstation/trunk/live-rates-for-shipstation.php
r3460184 r3481305 4 4 * Plugin URI: https://iqcomputing.com/contact/ 5 5 * Description: ShipStation shipping method with live rates. 6 * Version: 1.2. 46 * Version: 1.2.5 7 7 * Requires at least: 6.2 8 8 * Author: IQComputing … … 26 26 * @var String 27 27 */ 28 protected static $version = '1.2. 4';28 protected static $version = '1.2.5'; 29 29 30 30 -
live-rates-for-shipstation/trunk/readme.txt
r3460184 r3481305 4 4 Requires at least: 6.2 5 5 Tested up to: 6.9 6 Stable tag: 1.2. 46 Stable tag: 1.2.5 7 7 License: GPLv3 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 51 51 == Changelog == 52 52 53 = 1.2.5 (2026-03-12) = 54 * Fixes isset() isse when checking FROM address (Thanks @richecolocity)! 55 * Fixes return value on WooCommerce Integration filter hook. 56 * Adds new cache busting when WooCommerce > Settings > General options are saved. 57 53 58 = 1.2.4 (2026-02-12) = 54 59 * Adds new Integration Settings for a full uninstall/cleanup. … … 59 64 * Patches issue of misnamed method call. (Thanks @centuryperf)! 60 65 * Patches issue where warehouses would be called multiple times a request. 61 62 = 1.2.2 (2026-02-04) =63 * Replaces PHP 8.5 func array_first with reset. (Thanks Theo)!
Note: See TracChangeset
for help on using the changeset viewer.