Plugin Directory

Changeset 3035889


Ignore:
Timestamp:
02/14/2024 08:49:39 PM (2 years ago)
Author:
antidot-dev
Message:

Release 3.0.6

Location:
bpost-shipping/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • bpost-shipping/trunk/bpost-shipping.php

    r3029601 r3035889  
    66 * Author: bpost
    77 * Author URI: https://www.bpost.be/
    8  * Version: 3.0.5
     8 * Version: 3.0.6
    99 * WC requires at least: 3.0
    1010 * WC tested up to: 8.9
     
    1515define( 'BPOST_PLUGIN_DIR', __DIR__ );
    1616define( 'BPOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    17 define( 'BPOST_PLUGIN_VERSION', '3.0.5' );
     17define( 'BPOST_PLUGIN_VERSION', '3.0.6' );
    1818
    1919/**
  • bpost-shipping/trunk/classes/class-wc-bpost-shipping-hooks.php

    r3029601 r3035889  
    691691        }
    692692
    693         $posted_data = wp_parse_args( $_POST['post_data'] );
    694 
    695         if ( $posted_data['bpost_shm_already_called'] !== 'yes' ) {
     693        $posted_data = wp_parse_args( $_POST['post_data'] ?? [] );
     694
     695        // array_key_exists( 'bpost_shm_already_called', $posted_data ) && $posted_data['bpost_shm_already_called'] === 'yes'
     696        if (
     697            !array_key_exists( 'bpost_shm_already_called', $posted_data )
     698            || $posted_data['bpost_shm_already_called'] !== 'yes'
     699        ) {
    696700            $parcel_shop_info       = bpost__( 'You have to specify a delivery method' );
    697701            $parcel_shop_info_color = 'red';
  • bpost-shipping/trunk/composer.json

    r3029601 r3035889  
    33  "description": "WooCommerce plugin for bpost shipping",
    44  "type": "wordpress-plugin",
    5   "version": "3.0.5",
     5  "version": "3.0.6",
    66
    77  "require": {
  • bpost-shipping/trunk/languages/bpost_shipping.pot

    r3029601 r3035889  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: bpost shipping 3.0.5\n"
     5"Project-Id-Version: bpost shipping 3.0.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/package\n"
    7 "POT-Creation-Date: 2024-01-31 16:01:49+00:00\n"
     7"POT-Creation-Date: 2024-02-14 20:49:43+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=UTF-8\n"
     
    111111msgstr ""
    112112
    113 #: classes/class-wc-bpost-shipping-hooks.php:696
     113#: classes/class-wc-bpost-shipping-hooks.php:700
    114114msgid "You have to specify a delivery method"
    115115msgstr ""
    116116
    117 #: classes/class-wc-bpost-shipping-hooks.php:698
     117#: classes/class-wc-bpost-shipping-hooks.php:702
    118118msgid "Your bpost delivery method"
    119119msgstr ""
    120120
    121 #: classes/class-wc-bpost-shipping-hooks.php:703
     121#: classes/class-wc-bpost-shipping-hooks.php:707
    122122msgid "bpost_method_Regular"
    123123msgstr ""
    124124
    125 #: classes/class-wc-bpost-shipping-hooks.php:704
     125#: classes/class-wc-bpost-shipping-hooks.php:708
    126126msgid "bpost_method_Pugo"
    127127msgstr ""
    128128
    129 #: classes/class-wc-bpost-shipping-hooks.php:705
     129#: classes/class-wc-bpost-shipping-hooks.php:709
    130130msgid "bpost_method_Parcels depot"
    131131msgstr ""
    132132
    133 #: classes/class-wc-bpost-shipping-hooks.php:706
     133#: classes/class-wc-bpost-shipping-hooks.php:710
    134134msgid "bpost_method_bpack BUSINESS"
    135135msgstr ""
    136136
    137 #: classes/class-wc-bpost-shipping-hooks.php:707
     137#: classes/class-wc-bpost-shipping-hooks.php:711
    138138msgid "bpost_method_Pugo international"
    139139msgstr ""
    140140
    141 #: classes/class-wc-bpost-shipping-hooks.php:716
     141#: classes/class-wc-bpost-shipping-hooks.php:720
    142142msgid "Change the delivery method"
    143143msgstr ""
    144144
    145 #: classes/class-wc-bpost-shipping-hooks.php:742
     145#: classes/class-wc-bpost-shipping-hooks.php:746
    146146msgid "Please, specify a bpost delivery method!"
    147147msgstr ""
     
    197197msgstr ""
    198198
    199 #. #-#-#-#-#  bpost_shipping.pot (bpost shipping 3.0.5)  #-#-#-#-#
     199#. #-#-#-#-#  bpost_shipping.pot (bpost shipping 3.0.6)  #-#-#-#-#
    200200#. Author of the plugin/theme
    201201#: classes/class-wc-bpost-shipping-method.php:264
  • bpost-shipping/trunk/readme.txt

    r3029601 r3035889  
    88Tested up to: 6.4
    99Requires PHP: 7.4
    10 Stable tag: 3.0.5
     10Stable tag: 3.0.6
    1111License: GPLv2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1201205. Configure your bpost shipping settings under the Woocommerce shipping > bpost shipping tab
    121121== Changelog ==
     122
     123#### 3.0.6
     124
     125*Release date: 2023-11-08*
     126
     127* Avoid a PHP warnings on checkout page
    122128
    123129#### 3.0.5
Note: See TracChangeset for help on using the changeset viewer.