Plugin Directory

Changeset 3258994


Ignore:
Timestamp:
03/20/2025 09:16:58 AM (13 months ago)
Author:
webgarh
Message:

bug fixes and performance optimize

Location:
upkepr-maintenance/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • upkepr-maintenance/trunk/js/upkepr_script.js

    r3252186 r3258994  
    105105        }
    106106        jQuery('#upkepr-loader-2').hide();
     107        jQuery('#upkepr-loader').hide();
    107108    };
    108109    xhr.send('action=upkpr_ajax_action&scan_type=' + type);
     
    197198            jQuery('#upkepr-loader').hide();
    198199        }
    199         // jQuery('#upkepr-loader').hide();
     200        jQuery('#upkepr-loader').hide();
    200201    };
    201202    // xhr.send('action=upkpr_ajax_action&scan_type=' + type);
  • upkepr-maintenance/trunk/readme.txt

    r3252186 r3258994  
    55Tested up to: 6.7.1
    66Requires PHP: 7.1
    7 Stable tag: 1.0.11
     7Stable tag: 1.0.12
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • upkepr-maintenance/trunk/vulnerability.php

    r3252186 r3258994  
    1616 * Plugin Name:       Vulnerability Detector & Plugin Manager
    1717 * Description:       "Vulnerability Detector & Plugin Manager" is a WordPress plugin that allows Upkepr applications to stay connected with the website.
    18  * Version:           1.0.11
     18 * Version:           1.0.12
    1919 * Author:            Upkepr
    2020 * Author URI:        https://upkepr.com/
     
    10171017    function upkpr_check_ajax_action_handler()
    10181018    {
     1019        try {
    10191020        if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    10201021            global $origin_validationKey;
    1021             //$origin_validationKey = 'rycLNLczYA!cMGLswsz5AUyt$xQAR@i!uJXP19Qa3w@#Xuwebr';
    1022 
    10231022            $type = isset($_POST['scan_type']) ? sanitize_text_field($_POST['scan_type']) : '';
    10241023            /**
     
    10501049                }
    10511050            } else {
    1052                 $response = json_encode(['type' => "404", 'status' => '0', 'message' => $responseData->get_error_message()]);
     1051                $response = json_encode(['type' => "404", 'status' => '0', 'message' =>(is_wp_error($responseData)) ? $responseData->get_error_message() : 'No connection found.']);
    10531052            }
    10541053            echo $response;
     
    10561055        } else {
    10571056            echo 'request not found';
     1057        }
     1058        } catch (\Throwable $th) {
     1059            echo json_encode(['status' => '0', 'message' => 'No connection found.'/* $th->getMessage() */]);
     1060            exit;
    10581061        }
    10591062    }
Note: See TracChangeset for help on using the changeset viewer.