Plugin Directory

Changeset 3305044


Ignore:
Timestamp:
06/02/2025 01:08:40 PM (10 months ago)
Author:
wootro
Message:

Fix warning when checking for existing shipping method

Location:
woot-ro/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woot-ro/trunk/README.txt

    r3153925 r3305044  
    44Requires at least: 4.0
    55Tested up to: 6.6.2
    6 Stable tag: 2.0.5
     6Stable tag: 2.0.6
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    7474* Fixed couriers filters on locations shipping method
    7575
     76= 2.0.6 =
     77* Fix warning when checking for existing shipping method
     78
    7679== Upgrade Notice ==
    7780
     
    97100* Improved map
    98101* Fixed couriers filters on locations shipping method
     102
     103= 2.0.6 =
     104* Fix warning when checking for existing shipping method
  • woot-ro/trunk/public/class-woot-public.php

    r3153925 r3305044  
    132132                $shipping_method = explode(':', $shipping_methods[0]);
    133133
    134                 if (!empty($shipping_method)) {
     134                if (isset($shipping_method[0]) && isset($shipping_method[1])) {
    135135                    $settings = get_option('woocommerce_' . $shipping_method[0] . '_' . $shipping_method[1] . '_settings');
    136136
  • woot-ro/trunk/woot.php

    r3153925 r3305044  
    1717 * Plugin URI:        https://woot.ro
    1818 * Description:       Integrates all popular couriers in Romania, providing a one-stop solution for all your delivery needs
    19  * Version:           2.0.5
     19 * Version:           2.0.6
    2020 * Author:            Woot.ro
    2121 * Author URI:        https://woot.ro
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('WOOT_VERSION', '2.0.5');
     38define('WOOT_VERSION', '2.0.6');
    3939
    4040/**
Note: See TracChangeset for help on using the changeset viewer.