Changeset 3258994
- Timestamp:
- 03/20/2025 09:16:58 AM (13 months ago)
- Location:
- upkepr-maintenance/trunk
- Files:
-
- 3 edited
-
js/upkepr_script.js (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
vulnerability.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
upkepr-maintenance/trunk/js/upkepr_script.js
r3252186 r3258994 105 105 } 106 106 jQuery('#upkepr-loader-2').hide(); 107 jQuery('#upkepr-loader').hide(); 107 108 }; 108 109 xhr.send('action=upkpr_ajax_action&scan_type=' + type); … … 197 198 jQuery('#upkepr-loader').hide(); 198 199 } 199 //jQuery('#upkepr-loader').hide();200 jQuery('#upkepr-loader').hide(); 200 201 }; 201 202 // xhr.send('action=upkpr_ajax_action&scan_type=' + type); -
upkepr-maintenance/trunk/readme.txt
r3252186 r3258994 5 5 Tested up to: 6.7.1 6 6 Requires PHP: 7.1 7 Stable tag: 1.0.1 17 Stable tag: 1.0.12 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
upkepr-maintenance/trunk/vulnerability.php
r3252186 r3258994 16 16 * Plugin Name: Vulnerability Detector & Plugin Manager 17 17 * Description: "Vulnerability Detector & Plugin Manager" is a WordPress plugin that allows Upkepr applications to stay connected with the website. 18 * Version: 1.0.1 118 * Version: 1.0.12 19 19 * Author: Upkepr 20 20 * Author URI: https://upkepr.com/ … … 1017 1017 function upkpr_check_ajax_action_handler() 1018 1018 { 1019 try { 1019 1020 if ($_SERVER['REQUEST_METHOD'] === 'POST') { 1020 1021 global $origin_validationKey; 1021 //$origin_validationKey = 'rycLNLczYA!cMGLswsz5AUyt$xQAR@i!uJXP19Qa3w@#Xuwebr';1022 1023 1022 $type = isset($_POST['scan_type']) ? sanitize_text_field($_POST['scan_type']) : ''; 1024 1023 /** … … 1050 1049 } 1051 1050 } 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.']); 1053 1052 } 1054 1053 echo $response; … … 1056 1055 } else { 1057 1056 echo 'request not found'; 1057 } 1058 } catch (\Throwable $th) { 1059 echo json_encode(['status' => '0', 'message' => 'No connection found.'/* $th->getMessage() */]); 1060 exit; 1058 1061 } 1059 1062 }
Note: See TracChangeset
for help on using the changeset viewer.