Plugin Directory

Changeset 2679750


Ignore:
Timestamp:
02/16/2022 10:42:12 AM (4 years ago)
Author:
epaka
Message:

Fixed virtual products

Location:
epaka-pl
Files:
117 added
3 edited

Legend:

Unmodified
Added
Removed
  • epaka-pl/trunk/README.txt

    r2674067 r2679750  
    55Requires at least: 4.4
    66Tested up to: 5.9
    7 Stable tag: 1.0.5
     7Stable tag: 1.0.6
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    7171= 1.0.5 =
    7272* Fixed bug in map script check if str replace
     73= 1.0.6 =
     74* Fixed bug with virtual product
    7375
    7476== Upgrade Notice ==
  • epaka-pl/trunk/epakapl.php

    r2674067 r2679750  
    1111 * Plugin URI:           https://www.epaka.pl
    1212 * Description:          Integracja Woocommerce z epaka.pl. Składanie zamówień, generowanie etykiet, tracking przesyłek, mapa puntów odbioru dla klientów sklepu oraz o wiele więcej przydatnych funkcji dostępnych pod ręką.
    13  * Version:              1.0.5
     13 * Version:              1.0.6
    1414 * Author:               epaka.pl
    1515 * Author URI:           https://www.epaka.pl
     
    5151     * Rename this for your plugin and update it as you release new versions.
    5252     */
    53     define( 'EPAKA_VERSION', '1.0.5' );
     53    define( 'EPAKA_VERSION', '1.0.6' );
    5454    define( 'EPAKA_DOMAIN', 'https://www.epaka.pl/' );
    5555    define( 'EPAKA_PATH', dirname(__FILE__) );
  • epaka-pl/trunk/public/class-epaka-public.php

    r2533509 r2679750  
    174174        $method = $shipping_zone->get_shipping_methods(true)[$method_id];
    175175
    176         $method_title = preg_replace("/[^a-zA-Z0-9\']/","",$method->get_title());
     176        if(!empty($method)) {
     177            $method_title = preg_replace("/[^a-zA-Z0-9\']/","",$method->get_title());
     178        }
    177179
    178180
Note: See TracChangeset for help on using the changeset viewer.