Plugin Directory

Changeset 2920650


Ignore:
Timestamp:
06/02/2023 02:38:35 PM (3 years ago)
Author:
aftercommerce
Message:

update the code for filter the products.

Location:
afterinc-app/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • afterinc-app/trunk/Custom_app.php

    r2914404 r2920650  
    44Plugin URI: https://www.afterinc.com/contact/
    55Description: Plugin allows merchants to sell After Plan’s product protection plans for wide variety of products.
    6 Version: 3.6.2
     6Version: 3.6.3
    77Author: After Inc.
    88Author URI: https://www.afterinc.com
     
    1414
    1515*/
     16
     17error_reporting(0);
     18@ini_set('display_errors', 0);
    1619
    1720if (!class_exists('AfterInc')) {
     
    26962699  if( $post_type == 'product' ) {
    26972700
    2698   $Getwarranty_selected = sanitize_text_field($_GET['warranty']);
     2701  $Getwarranty_selected = sanitize_text_field(isset($_GET['warranty'])) ? $_GET['warranty'] : "";
    26992702  $selectedYes=($Getwarranty_selected=='Enable')?'Selected':'';
    27002703  $selectedNo=($Getwarranty_selected=='Disable')?'Selected':'';
     
    27172720// Check this is the products screen
    27182721    if( $post_type == 'product' ) {
    2719     $Getsync_selected = sanitize_text_field($_GET['sync']);
     2722    $Getsync_selected = sanitize_text_field(isset($_GET['sync'])) ? $_GET['sync'] : "";
    27202723    $selectedYes =($Getsync_selected=='Synced')?'Selected':'';
    27212724    $selectedNo =($Getsync_selected=='Not Synced')?'Selected':'';
  • afterinc-app/trunk/readme.txt

    r2914404 r2920650  
    77Requires PHP: 7.2
    88WC tested up to: 5.6.0
    9 Stable tag: 3.6.2
     9Stable tag: 3.6.3
    1010License: GPLv3
    1111License URI: https://www.afterinc.com
Note: See TracChangeset for help on using the changeset viewer.