Plugin Directory

Changeset 3315982


Ignore:
Timestamp:
06/22/2025 08:59:41 PM (9 months ago)
Author:
SmartSend
Message:

tagging version 8.1.3

Location:
smart-send-logistics
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • smart-send-logistics/tags/8.1.3/readme.txt

    r3287005 r3315982  
    99Requires at least: 3.0.1
    1010Tested up to: 6.8
    11 Stable tag: 8.1.2
     11Stable tag: 8.1.3
    1212License: GNU General Public License v3.0
    1313License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    202202== Changelog ==
    203203
     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
    204207= 8.1.2 =
    205208* 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  
    77 * Author URI: https://www.smartsend.io
    88 * Text Domain: smart-send-logistics
    9  * Version: 8.1.2
     9 * Version: 8.1.3
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 4.7.0
     
    3636    {
    3737
    38         private $version = "8.1.2";
     38        private $version = "8.1.3";
    3939
    4040        /**
     
    632632                foreach ($available_shipping_methods as $shipping_method) {
    633633                    // 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);
    635636                }
    636637
  • smart-send-logistics/trunk/readme.txt

    r3287005 r3315982  
    99Requires at least: 3.0.1
    1010Tested up to: 6.8
    11 Stable tag: 8.1.2
     11Stable tag: 8.1.3
    1212License: GNU General Public License v3.0
    1313License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    202202== Changelog ==
    203203
     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
    204207= 8.1.2 =
    205208* Gracefully handle when order cannot be loaded during deletion of agent meta data
  • smart-send-logistics/trunk/smart-send-logistics.php

    r3287005 r3315982  
    77 * Author URI: https://www.smartsend.io
    88 * Text Domain: smart-send-logistics
    9  * Version: 8.1.2
     9 * Version: 8.1.3
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 4.7.0
     
    3636    {
    3737
    38         private $version = "8.1.2";
     38        private $version = "8.1.3";
    3939
    4040        /**
     
    632632                foreach ($available_shipping_methods as $shipping_method) {
    633633                    // 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);
    635636                }
    636637
Note: See TracChangeset for help on using the changeset viewer.