Changeset 2920650
- Timestamp:
- 06/02/2023 02:38:35 PM (3 years ago)
- Location:
- afterinc-app/trunk
- Files:
-
- 2 edited
-
Custom_app.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
afterinc-app/trunk/Custom_app.php
r2914404 r2920650 4 4 Plugin URI: https://www.afterinc.com/contact/ 5 5 Description: Plugin allows merchants to sell After Plan’s product protection plans for wide variety of products. 6 Version: 3.6. 26 Version: 3.6.3 7 7 Author: After Inc. 8 8 Author URI: https://www.afterinc.com … … 14 14 15 15 */ 16 17 error_reporting(0); 18 @ini_set('display_errors', 0); 16 19 17 20 if (!class_exists('AfterInc')) { … … 2696 2699 if( $post_type == 'product' ) { 2697 2700 2698 $Getwarranty_selected = sanitize_text_field( $_GET['warranty']);2701 $Getwarranty_selected = sanitize_text_field(isset($_GET['warranty'])) ? $_GET['warranty'] : ""; 2699 2702 $selectedYes=($Getwarranty_selected=='Enable')?'Selected':''; 2700 2703 $selectedNo=($Getwarranty_selected=='Disable')?'Selected':''; … … 2717 2720 // Check this is the products screen 2718 2721 if( $post_type == 'product' ) { 2719 $Getsync_selected = sanitize_text_field( $_GET['sync']);2722 $Getsync_selected = sanitize_text_field(isset($_GET['sync'])) ? $_GET['sync'] : ""; 2720 2723 $selectedYes =($Getsync_selected=='Synced')?'Selected':''; 2721 2724 $selectedNo =($Getsync_selected=='Not Synced')?'Selected':''; -
afterinc-app/trunk/readme.txt
r2914404 r2920650 7 7 Requires PHP: 7.2 8 8 WC tested up to: 5.6.0 9 Stable tag: 3.6. 29 Stable tag: 3.6.3 10 10 License: GPLv3 11 11 License URI: https://www.afterinc.com
Note: See TracChangeset
for help on using the changeset viewer.