Plugin Directory

Changeset 3252186


Ignore:
Timestamp:
03/07/2025 01:45:19 PM (13 months ago)
Author:
webgarh
Message:

bug fixes and performance optimize

Location:
upkepr-maintenance/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • upkepr-maintenance/trunk/adminpage.php

    r3218220 r3252186  
    122122                    </div>
    123123                    <!-- <div id="upkepr-loader-2"></div> -->
     124                    <div class="scan-now"><a href="javascript:void(0)" class="primary-btn scan-now-btn" onclick="UPKPR_check_connection('all',this)"><i class="fa-solid fa-expand"></i> Scan Now</a></div>
    124125                    <div class="coonection-with-upkepr-outer">
    125126                        <div class="coonection-with-upkepr-left">
  • upkepr-maintenance/trunk/css/enchancestyle.css

    r3218220 r3252186  
    7373background: #F24F47;
    7474}
    75 .upkepr-div-tabmain-section .scan-now {
     75/* .upkepr-div-tabmain-section .scan-now {
    7676background: #4EA07C;
    77 }
     77} */
    7878
    7979section {
  • upkepr-maintenance/trunk/js/upkepr_script.js

    r3218220 r3252186  
    8282                jQuery('#upkpr-Modal').find('.step3').addClass('completed');
    8383
    84                 setTimeout(function () {
     84                // setTimeout(function () {
    8585                    window.location.reload();
    8686                    jQuery('.upkpr-success').html('');
    8787                    jQuery('.upkpr-success').hide();
    88                 }, 1000);
     88                // }, 1000);
    8989
    9090            } else {
    9191                jQuery('.registerButton').removeClass('disabled');
    92                 setTimeout(function () {
     92                // setTimeout(function () {
    9393                    jQuery('.upkpr-errors').text('');
    9494                    jQuery('.upkpr-errors').hide();
    9595                    window.location.reload();
    96                 }, 5000);
     96                // }, 5000);
    9797                jQuery('.upkpr-errors').show();
    9898                jQuery('.upkpr-errors').html(respose.message + '<i class="fa fa-times" aria-hidden="true"></i>');
     
    147147                triggerUPkprAccordian();
    148148                // jQuery(eventhis).show();
    149                 setTimeout(() => {
     149                // setTimeout(() => {
    150150                    jQuery('#upkpr-Modal .addButton').find('.scan-now').trigger('click');
    151151                    jQuery('#upkpr-Modal .addButton').hide();
    152                 }, 50);
     152                // }, 500);
    153153                //jQuery('.upkpr-success').html('Data retrieval successful. <i class="dashicons dashicons-yes"></i>');               
    154154                //jQuery('.upkpr-success').show();
     
    207207    //alert();
    208208    UPKPR_check_ConnectedWithUpkpr('check');
    209     setInterval(()=>{
    210         UPKPR_check_ConnectedWithUpkpr('check');
    211     },5000);
     209    // setInterval(()=>{
     210        // UPKPR_check_ConnectedWithUpkpr('check');
     211    // },5000);
    212212}
    213213function UPKPR_check_ConnectedWithUpkpr(type = 'check') {
     
    282282    var modal = jQuery('#upkpr-Modal');
    283283    modal.show();
    284     startRefreshInterval(sectionType, eventThis);
     284    // startRefreshInterval(sectionType, eventThis);
    285285}
    286286jQuery(document).ready(function ($) {
     
    294294    span.click(function () {
    295295        modal.hide();
    296         clearInterval(refreshInterval);
     296        // clearInterval(refreshInterval);
    297297    });
    298298
     
    300300        if (event.target == modal) {
    301301            modal.hide();
    302             clearInterval(refreshInterval);
     302            // clearInterval(refreshInterval);
    303303        }
    304304    });
     
    309309let refreshInterval;
    310310function startRefreshInterval(sectionType, eventThis) {
    311     clearInterval(refreshInterval);
     311   /* clearInterval(refreshInterval);
    312312    refreshInterval = setInterval(function () {
    313313        const modal = jQuery('#upkpr-Modal');
    314314        if (modal.css('display') === 'block') {
    315             console.log('Modal is visible, refreshing...');
     315            console.log('Modal is visible, refreshing...'); */
    316316            UPKPR_check_user(sectionType, eventThis);
    317         } else {
     317       /* } else {
    318318            clearInterval(refreshInterval);
    319319        }
    320     }, 5000);
     320    }, 5000); */
    321321}
    322322
  • upkepr-maintenance/trunk/readme.txt

    r3218220 r3252186  
    55Tested up to: 6.7.1
    66Requires PHP: 7.1
    7 Stable tag: 1.0.10
     7Stable tag: 1.0.11
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    139139=== Changelog ===
    140140
     141= 1.0.11 =
     142* Bugs fixes
     143* Performance optimize
     144
    141145= 1.0.10 =
    142146* Bugs fixes
  • upkepr-maintenance/trunk/vulnerability.php

    r3218220 r3252186  
    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.10
     18 * Version:           1.0.11
    1919 * Author:            Upkepr
    2020 * Author URI:        https://upkepr.com/
Note: See TracChangeset for help on using the changeset viewer.