Plugin Directory

Changeset 2220245


Ignore:
Timestamp:
12/31/2019 06:39:32 PM (6 years ago)
Author:
10quality
Message:

Updating to 1.3.7

Location:
woo-license-keys/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • woo-license-keys/trunk/README.txt

    r2215870 r2220245  
    66Requires PHP: 5.4
    77Tested up to: 5.3
    8 Stable tag: 1.3.6
     8Stable tag: 1.3.7
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    2222== License Keys ==
    2323
    24 ***License Keys* will be generated automatically when a WooCommerce order is completed, the code is appended in the "Order completed" email notification sent by WooCommerce. Each License Key data is generated per product configuration. The License Key product type will add a new options tab that will allow you to:
     24**License Keys** will be generated automatically when a WooCommerce order is completed, the code is appended in the "Order completed" email notification sent by WooCommerce. Each License Key data is generated per product configuration. The License Key product type will add a new options tab that will allow you to:
    2525
    2626* **Expire options**: Set the expiration of a license key.
     
    8585== Changelog ==
    8686
     87= 1.3.7 =
     88*Release Date - 31 Dec 2019*
     89
     90* Added filter `woocommerce_license_keys_generate_for_order`.
     91* Updated bold markup typo on readme text.
     92
    8793= 1.3.6 =
    8894*Release Date - 20 Dec 2019*
  • woo-license-keys/trunk/app/Config/app.php

    r2215870 r2220245  
    1919    ],
    2020
    21     'version' => '1.3.6',
     21    'version' => '1.3.7',
    2222
    2323    'localize' => [
  • woo-license-keys/trunk/app/Controllers/WooCommerceController.php

    r2215470 r2220245  
    1818 * @license GPLv3
    1919 * @package woo-license-keys
    20  * @version 1.3.5
     20 * @version 1.3.7
    2121 */
    2222class WooCommerceController extends Controller
     
    165165                // Check if key must be generated or not
    166166                $generate = wc_get_order_item_meta( $item->get_id(), '_license_key_generate', true );
     167                $generate = apply_filters( 'woocommerce_license_keys_generate_for_order', $generate, $order, $item );
    167168                if ( $generate === null || $generate === '' ) {
    168169                    $product_id = apply_filters(
  • woo-license-keys/trunk/plugin.php

    r2215870 r2220245  
    44Plugin URI: https://www.10quality.com/product/woocommerce-license-keys/
    55Description: Enable and handle "License Keys" with WooCommerce.
    6 Version: 1.3.6
     6Version: 1.3.7
    77Author: 10 Quality
    88Author URI: https://www.10quality.com/
     
    4646        global $woocommerce;
    4747        if ( isset( $woocommerce ) ) {
    48             require_once __DIR__.'/app/Global/WC_Product_License_Key.php';
     48            require_once __DIR__ . '/app/Global/WC_Product_License_Key.php';
    4949        } else {
    5050            // Add admin notice.
Note: See TracChangeset for help on using the changeset viewer.