Plugin Directory

Changeset 3287005


Ignore:
Timestamp:
05/03/2025 11:07:40 PM (11 months ago)
Author:
SmartSend
Message:

tagging version 8.1.2

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

Legend:

Unmodified
Added
Removed
  • smart-send-logistics/tags/8.1.2/includes/class-ss-shipping-wc-order.php

    r3037759 r3287005  
    936936        public function delete_ss_shipping_order_agent($order_id) {
    937937            $order = wc_get_order( $order_id );
     938
     939            // There are situations where the order has been deleted and cannot be found.
     940            // We should gracefully handle this situation of failing to load the order.
     941            if (! $order ) {
     942                SS_SHIPPING_WC()->log_msg('Failed to load WooCommerce order: '.$order_id);
     943
     944                return;
     945            }
     946
    938947            $order->delete_meta_data('_ss_shipping_order_agent');
    939948        }
  • smart-send-logistics/tags/8.1.2/readme.txt

    r3268807 r3287005  
    66Developer: SmartSend
    77Developer URI: https://smartsend.io/
    8 Tags: smartsend, smart send, shipping, shipping label, pickup, pick-up, pakkelabel, pakkelabels, pakkeboks, pakkeshop, hente selv, døgnboks, postnord, post nord, post danmark, gls, swipbox, bring, dao, dao365, dao 365, burd, budbee, carrier, pacsoft, yourgls, mybring, postage, shipping method, your-gls, my-bring, pacosft-online, pacsoftonline, denmark, sweeden, posten, norway, post
     8Tags: shipping, pick-up-points, shipping-label, postnord, smart send
    99Requires at least: 3.0.1
    1010Tested up to: 6.8
    11 Stable tag: 8.1.1
     11Stable tag: 8.1.2
    1212License: GNU General Public License v3.0
    1313License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    202202== Changelog ==
    203203
     204= 8.1.2 =
     205* Gracefully handle when order cannot be loaded during deletion of agent meta data
     206
    204207= 8.1.1 =
    205208* Tested with WordPress 6.8
  • smart-send-logistics/tags/8.1.2/smart-send-logistics.php

    r3268807 r3287005  
    77 * Author URI: https://www.smartsend.io
    88 * Text Domain: smart-send-logistics
    9  * Version: 8.1.1
     9 * Version: 8.1.2
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 4.7.0
     
    3636    {
    3737
    38         private $version = "8.1.1";
     38        private $version = "8.1.2";
    3939
    4040        /**
  • smart-send-logistics/trunk/includes/class-ss-shipping-wc-order.php

    r3037759 r3287005  
    936936        public function delete_ss_shipping_order_agent($order_id) {
    937937            $order = wc_get_order( $order_id );
     938
     939            // There are situations where the order has been deleted and cannot be found.
     940            // We should gracefully handle this situation of failing to load the order.
     941            if (! $order ) {
     942                SS_SHIPPING_WC()->log_msg('Failed to load WooCommerce order: '.$order_id);
     943
     944                return;
     945            }
     946
    938947            $order->delete_meta_data('_ss_shipping_order_agent');
    939948        }
  • smart-send-logistics/trunk/readme.txt

    r3268807 r3287005  
    66Developer: SmartSend
    77Developer URI: https://smartsend.io/
    8 Tags: smartsend, smart send, shipping, shipping label, pickup, pick-up, pakkelabel, pakkelabels, pakkeboks, pakkeshop, hente selv, døgnboks, postnord, post nord, post danmark, gls, swipbox, bring, dao, dao365, dao 365, burd, budbee, carrier, pacsoft, yourgls, mybring, postage, shipping method, your-gls, my-bring, pacosft-online, pacsoftonline, denmark, sweeden, posten, norway, post
     8Tags: shipping, pick-up-points, shipping-label, postnord, smart send
    99Requires at least: 3.0.1
    1010Tested up to: 6.8
    11 Stable tag: 8.1.1
     11Stable tag: 8.1.2
    1212License: GNU General Public License v3.0
    1313License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    202202== Changelog ==
    203203
     204= 8.1.2 =
     205* Gracefully handle when order cannot be loaded during deletion of agent meta data
     206
    204207= 8.1.1 =
    205208* Tested with WordPress 6.8
  • smart-send-logistics/trunk/smart-send-logistics.php

    r3268807 r3287005  
    77 * Author URI: https://www.smartsend.io
    88 * Text Domain: smart-send-logistics
    9  * Version: 8.1.1
     9 * Version: 8.1.2
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 4.7.0
     
    3636    {
    3737
    38         private $version = "8.1.1";
     38        private $version = "8.1.2";
    3939
    4040        /**
Note: See TracChangeset for help on using the changeset viewer.