Plugin Directory

Changeset 2551377


Ignore:
Timestamp:
06/21/2021 11:51:09 AM (5 years ago)
Author:
soraco
Message:

Fixed an issue when processing an upgrade of a license.

Location:
quick-license-manager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quick-license-manager/trunk/Readme.txt

    r2534496 r2551377  
    44Requires at least: 4.2
    55Tested up to: 5.7.2
    6 Stable tag: 2.4.4
     6Stable tag: 2.4.5
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 2.4.5 - 06/21/2021 =
     44Fixed an issue when processing an upgrade of a license.
    4245
    4346= 2.4.4 - 05/18/2021 =
  • quick-license-manager/trunk/classes/qlm_api_view.php

    r2534178 r2551377  
    174174    $url_args = $url_args.'&is_avkey='.$qlm_activation_key;
    175175
    176     if(empty($is_maintenanceplan) == false)
     176    if(empty($qlm_activation_key) == false)
     177    {
     178        $url = $end.'/UpgradeLicense'.$url_args;
     179    }
     180    else if(empty($is_maintenanceplan) == false)
    177181    {
    178182        $url = $end.'/RenewMaintenancePlan'.$url_args;
    179     }
    180     else if(empty($qlm_activation_key) == false)
    181     {
    182         $url = $end.'/UpgradeLicense'.$url_args;
    183     }
     183    }   
    184184    else
    185185    {
  • quick-license-manager/trunk/wc_qlm.php

    r2534496 r2551377  
    55 * Plugin URI: https://wordpress.org/plugins/quick-license-manager/
    66 * Description: Automates the creation of license keys when orders are placed with WooCommerce
    7  * Version: 2.4.4
     7 * Version: 2.4.5
    88 * Author: Soraco Technologies Inc.
    99 * Author URI: https://soraco.co
     
    8080function get_item_addon_value($order, $item, $field)
    8181{   
    82     if ($qlm_product_addon == false) return;
     82    $qlm_product_addon = get_option( 'qlm_product_addon');
     83
     84    if ($qlm_product_addon == false)
     85    {
     86        debug_message (9, $order, __FUNCTION__ , 'Product Add-on support is not enabled.');
     87        return;
     88    }
    8389
    8490    $meta_data = $item->get_meta(WCPA_ORDER_META_KEY);
     
    95101            return $fieldValue;
    96102        }
     103        else
     104        {
     105            debug_message (11, $order, __FUNCTION__ , $v['name'].': '.$v['value']);
     106        }
    97107    }     
    98108   
Note: See TracChangeset for help on using the changeset viewer.