Plugin Directory

Changeset 2710334


Ignore:
Timestamp:
04/15/2022 06:12:53 PM (4 years ago)
Author:
devlloplugins
Message:

WPLicense It V1.0

Location:
wplicense-it/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wplicense-it/trunk/includes/pages/wplit-render-product.php

    r2699060 r2710334  
    8181        if(isset($_POST['add-license'])) {
    8282            $product_id = intval( $_POST['id'] );
    83             setcookie("wplit_product_id", $product_id, time()+60, '/');
     83            setcookie("wplit_product_id", $product_id, time()+600, '/');
    8484
    8585        }
  • wplicense-it/trunk/includes/payment/stripe-payment.php

    r2699060 r2710334  
    2626            if(isset($_POST['stripeToken'])){
    2727                // retrieve the token generated by stripe.js
    28                 $token = sanitize_key($_POST['stripeToken']);
     28                $token = sanitize_text_field($_POST['stripeToken']);
    2929            }
    3030
     
    8686                        $redirect = esc_url_raw(add_query_arg('payment', 'success', $url ));
    8787
     88                        if (isset($_COOKIE['wplit_product_id'])) {
     89                            unset($_COOKIE['wplit_product_id']);
     90                            setcookie('wplit_product_id', '', time() - 600, '/'); // empty value and old timestamp
     91                        }
     92
    8893                        do_action('wplit_after_stripe_checkout');
    8994                    }else
  • wplicense-it/trunk/readme.txt

    r2699065 r2710334  
    55Tested up to: 5.9
    66Requires PHP: 7.0
    7 Stable tag: 0.9
     7Stable tag: 1.0
    88License: GPLv2 or later
    99
     
    1111
    1212== Description ==
    13 The best software license management solution for your WordPress applications, for developers to properly and securely manage their application software licenses. You can also push updates for your WordPress applications directly from the WordPress dashboard.
     13The best number-one software license management solution for your WordPress applications, for developers to properly and securely manage their application software licenses. You can also push updates for your WordPress applications from the WordPress dashboard.
    1414
    1515= FEATURES =
     
    6565= 0.9 =
    6666Initial release.
     67
     68= 1.0 =
     69Fix issue with Checkout and Stripe Tokens
  • wplicense-it/trunk/wplicense-it.php

    r2699060 r2710334  
    33    Plugin Name: WPLicense It
    44    Plugin URI: https://wplicenseit.com/
    5     Description: Plugin and Theme Licensing plugin
     5    Description: WordPress Plugin and Theme Licensing plugin
    66    Author: Devllo Plugins
    7     Version: 0.9
     7    Version: 1.0
    88    Author URI: http://devlloplugins.com/
    99    Text Domain: wplicense-it
Note: See TracChangeset for help on using the changeset viewer.