Changeset 2849340
- Timestamp:
- 01/16/2023 05:52:15 PM (3 years ago)
- Location:
- quick-license-manager/trunk
- Files:
-
- 2 edited
-
Readme.txt (modified) (2 diffs)
-
wc_qlm.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quick-license-manager/trunk/Readme.txt
r2845093 r2849340 4 4 Requires at least: 4.2 5 5 Tested up to: 6.1.1 6 Stable tag: 2.4. 96 Stable tag: 2.4.10 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 41 41 == Changelog == 42 43 = 2.4.10 - 01/16/2023 = 44 Fixed a regression issue in the last update that caused an exception when adding items to a cart without being logged in. 42 45 43 46 = 2.4.9 - 01/08/2023 = -
quick-license-manager/trunk/wc_qlm.php
r2845093 r2849340 5 5 * Plugin URI: https://wordpress.org/plugins/quick-license-manager/ 6 6 * Description: Automates the creation of license keys when orders are placed with WooCommerce 7 * Version: 2.4. 97 * Version: 2.4.10 8 8 * Author: Soraco Technologies Inc. 9 9 * Author URI: https://soraco.co … … 229 229 function action_add_to_cart($cart_item_key, $product_id, $quantity, $variation_id, $variation, $cart_item_data) 230 230 { 231 $userdata1 = $_GET['is_userdata1']; 232 WC()->session->set('is_userdata1', $userdata1); 231 if (!is_null(WC()->session)) 232 { 233 if (isset ($_GET['is_userdata1'])) 234 { 235 $userdata1 = $_GET['is_userdata1']; 236 if (!is_null($userdata1)) 237 { 238 WC()->session->set('is_userdata1', $userdata1); 239 } 240 } 241 } 242 233 243 } 234 244
Note: See TracChangeset
for help on using the changeset viewer.