Changeset 2974970
- Timestamp:
- 10/05/2023 05:34:45 AM (2 years ago)
- Location:
- content-sell-licenses-for-woocommerce
- Files:
-
- 36 added
- 3 edited
-
tags/1.0.6 (added)
-
tags/1.0.6/content-sell-woocommerce.php (added)
-
tags/1.0.6/css (added)
-
tags/1.0.6/css/csellaccess.css (added)
-
tags/1.0.6/inc (added)
-
tags/1.0.6/inc/classes (added)
-
tags/1.0.6/inc/classes/content_sell_woo_email.php (added)
-
tags/1.0.6/inc/classes/csellwoo-compatibility.php (added)
-
tags/1.0.6/inc/classes/csellwoo-frontend.php (added)
-
tags/1.0.6/inc/classes/csellwoo-install.php (added)
-
tags/1.0.6/inc/classes/csellwoo-lic-list-table.php (added)
-
tags/1.0.6/inc/classes/csellwoo-lic.php (added)
-
tags/1.0.6/inc/classes/csellwoo-licenses.php (added)
-
tags/1.0.6/inc/classes/csellwoo-main.php (added)
-
tags/1.0.6/inc/classes/csellwoo-order-email.php (added)
-
tags/1.0.6/inc/classes/csellwoo-orderdisplay.php (added)
-
tags/1.0.6/inc/classes/csellwoo-purchase-list-table.php (added)
-
tags/1.0.6/inc/classes/csellwoo-thirdparty.php (added)
-
tags/1.0.6/inc/csellwoo-functions.php (added)
-
tags/1.0.6/inc/options (added)
-
tags/1.0.6/inc/options/csellwoo-settings-lic.php (added)
-
tags/1.0.6/inc/options/view (added)
-
tags/1.0.6/inc/options/view/admin-page-lic.php (added)
-
tags/1.0.6/inc/views (added)
-
tags/1.0.6/inc/views/emails (added)
-
tags/1.0.6/inc/views/emails/csellwoo-order-email.php (added)
-
tags/1.0.6/inc/views/emails/plain (added)
-
tags/1.0.6/inc/views/view-csell-access-form.php (added)
-
tags/1.0.6/js (added)
-
tags/1.0.6/js/csellwoo-lic-backend.js (added)
-
tags/1.0.6/js/csellwoo-lic.js (added)
-
tags/1.0.6/languages (added)
-
tags/1.0.6/languages/content-sell-in-woocommerce-es_ES.mo (added)
-
tags/1.0.6/languages/content-sell-in-woocommerce-es_ES.po (added)
-
tags/1.0.6/languages/content-sell-in-woocommerce.pot (added)
-
tags/1.0.6/readme.txt (added)
-
trunk/content-sell-woocommerce.php (modified) (1 diff)
-
trunk/inc/classes/csellwoo-frontend.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
content-sell-licenses-for-woocommerce/trunk/content-sell-woocommerce.php
r2924135 r2974970 4 4 Plugin URI: https:///content-sell-in-woocommerce/ 5 5 Description: Protect & Sell Post/Page contents using WooCommerce. 6 Version: 1.0. 56 Version: 1.0.6 7 7 Author: Amin Y 8 8 Author URI: https://qcompsolutions.com 9 9 Text Domain: content-sell-in-woocommerce 10 10 Domain Path: /languages 11 Copyright: © 202 2Qcompsolutions.com12 WC tested up to: 6. 2.211 Copyright: © 2023 Qcompsolutions.com 12 WC tested up to: 6.3.1 13 13 License: GNU General Public License v3.0 14 14 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
content-sell-licenses-for-woocommerce/trunk/inc/classes/csellwoo-frontend.php
r2924135 r2974970 686 686 function save_csellwoo_post($post_id) { 687 687 688 if(isset($_POST['is_protected'])) 688 689 if(isset($_POST['is_protected']) || isset($_POST['ptext1'])) 689 690 { 691 if(!isset($_POST['is_protected'])) $is_protected=0; 692 else $is_protected=(int)$_POST['is_protected']; 693 690 694 $arr = array('a' => array('href' => array(), 'title' => array()), 'img' => array('alt' => array(), 'class' => array(), 'height' => array(), 'src' => array(), 'width' => array(),), 'br' => array(), 'em' => array(), 'strong' => array(),); 691 695 update_post_meta($post_id, 'ptext1', wp_kses($_POST['ptext1'], $arr)); 692 update_post_meta($post_id, 'is_protected', (int)$_POST['is_protected']);696 update_post_meta($post_id, 'is_protected', $is_protected); 693 697 694 698 } 695 } 699 700 } 696 701 /** 697 702 * Submit license data in cart page, Proceed to Checkout button link click : ajax request. -
content-sell-licenses-for-woocommerce/trunk/readme.txt
r2924135 r2974970 3 3 Tags: woocommerce, content sell, Videos and training material in pages with licensed access, protected pages linked with woocommerce product purchase 4 4 Requires at least: 5.0 5 Tested up to: 6. 2.26 Stable tag: 1.0. 55 Tested up to: 6.3.1 6 Stable tag: 1.0.6 7 7 License: GNU General Public License v3.0 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.