Changeset 3315982
- Timestamp:
- 06/22/2025 08:59:41 PM (9 months ago)
- Location:
- smart-send-logistics
- Files:
-
- 2 edited
- 4 copied
-
tags/8.1.3 (copied) (copied from smart-send-logistics/trunk)
-
tags/8.1.3/includes/class-ss-shipping-wc-order.php (copied) (copied from smart-send-logistics/trunk/includes/class-ss-shipping-wc-order.php)
-
tags/8.1.3/readme.txt (copied) (copied from smart-send-logistics/trunk/readme.txt) (2 diffs)
-
tags/8.1.3/smart-send-logistics.php (copied) (copied from smart-send-logistics/trunk/smart-send-logistics.php) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/smart-send-logistics.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smart-send-logistics/tags/8.1.3/readme.txt
r3287005 r3315982 9 9 Requires at least: 3.0.1 10 10 Tested up to: 6.8 11 Stable tag: 8.1. 211 Stable tag: 8.1.3 12 12 License: GNU General Public License v3.0 13 13 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 202 202 == Changelog == 203 203 204 = 8.1.3 = 205 * Fix issue when shipping cost is a string instead of a number (WC_Shipping_Rate::get_cost() can from WooCommerce 9.9.3 be a string) 206 204 207 = 8.1.2 = 205 208 * Gracefully handle when order cannot be loaded during deletion of agent meta data -
smart-send-logistics/tags/8.1.3/smart-send-logistics.php
r3287005 r3315982 7 7 * Author URI: https://www.smartsend.io 8 8 * Text Domain: smart-send-logistics 9 * Version: 8.1. 29 * Version: 8.1.3 10 10 * Requires Plugins: woocommerce 11 11 * WC requires at least: 4.7.0 … … 36 36 { 37 37 38 private $version = "8.1. 2";38 private $version = "8.1.3"; 39 39 40 40 /** … … 632 632 foreach ($available_shipping_methods as $shipping_method) { 633 633 // the price is the cost + taxes 634 $prices[] = $shipping_method->cost + array_sum($shipping_method->taxes); 634 // Note that WC_Shipping_Rate::get_cost() can be a string, so we need to cast it to float. @see https://wordpress.org/support/topic/add-to-cart-not-working-after-update-from-9-8-5-9-9-3/ 635 $prices[] = floatval($shipping_method->cost) + array_sum($shipping_method->taxes); 635 636 } 636 637 -
smart-send-logistics/trunk/readme.txt
r3287005 r3315982 9 9 Requires at least: 3.0.1 10 10 Tested up to: 6.8 11 Stable tag: 8.1. 211 Stable tag: 8.1.3 12 12 License: GNU General Public License v3.0 13 13 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 202 202 == Changelog == 203 203 204 = 8.1.3 = 205 * Fix issue when shipping cost is a string instead of a number (WC_Shipping_Rate::get_cost() can from WooCommerce 9.9.3 be a string) 206 204 207 = 8.1.2 = 205 208 * Gracefully handle when order cannot be loaded during deletion of agent meta data -
smart-send-logistics/trunk/smart-send-logistics.php
r3287005 r3315982 7 7 * Author URI: https://www.smartsend.io 8 8 * Text Domain: smart-send-logistics 9 * Version: 8.1. 29 * Version: 8.1.3 10 10 * Requires Plugins: woocommerce 11 11 * WC requires at least: 4.7.0 … … 36 36 { 37 37 38 private $version = "8.1. 2";38 private $version = "8.1.3"; 39 39 40 40 /** … … 632 632 foreach ($available_shipping_methods as $shipping_method) { 633 633 // the price is the cost + taxes 634 $prices[] = $shipping_method->cost + array_sum($shipping_method->taxes); 634 // Note that WC_Shipping_Rate::get_cost() can be a string, so we need to cast it to float. @see https://wordpress.org/support/topic/add-to-cart-not-working-after-update-from-9-8-5-9-9-3/ 635 $prices[] = floatval($shipping_method->cost) + array_sum($shipping_method->taxes); 635 636 } 636 637
Note: See TracChangeset
for help on using the changeset viewer.