Plugin Directory

Changeset 3171407


Ignore:
Timestamp:
10/18/2024 11:34:24 AM (18 months ago)
Author:
gdatavaas
Message:

release 2.0.6: changed the full-scan indicator

Location:
gdata-antivirus
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gdata-antivirus/trunk/PluginPage/FullScan/FullScanMenuPage.php

    r3170097 r3171407  
    137137            $it = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator(ABSPATH, \FilesystemIterator::SKIP_DOTS));
    138138            $files = array();
     139            $this->scans->reset();
    139140            foreach ($it as $file_path) {
    140141                if (!$file_path instanceof \SplFileInfo) {
     
    203204            $scheduled_scans = $this->scans->scheduled_count();
    204205            $finished_scans = $this->scans->finished_count();
    205             if ($scheduled_scans <= $finished_scans) {
     206            $cron_jobs = wp_get_ready_cron_jobs();
     207            $still_running = \false;
     208            foreach ($cron_jobs as $key => $cron) {
     209                foreach ($cron as $name => $job) {
     210                    if ($name == 'gdatacyberdefenseag_antivirus_scan_batch') {
     211                        $still_running = \true;
     212                        break;
     213                    }
     214                }
     215            }
     216            if ($still_running === \false) {
    206217                ?>
    207218                <form action="admin-post.php" method="post">
  • gdata-antivirus/trunk/Readme.txt

    r3171281 r3171407  
    55Tested up to: 6.6
    66Requires PHP: 8.1
    7 Stable tag: 2.0.5
     7Stable tag: 2.0.6
    88License: GNU General Public License v3.0
    99License URI: https://github.com/GDATASoftwareAG/vaas/blob/main/LICENSE
  • gdata-antivirus/trunk/composer.json

    r3171281 r3171407  
    11{
    22    "name": "gdatacyberdefenseag\/gdata-antivirus",
    3     "version": "2.0.5",
     3    "version": "2.0.6",
    44    "autoload": {
    55        "psr-4": {
  • gdata-antivirus/trunk/gdata-antivirus.php

    r3171281 r3171407  
    1212 * @wordpress-plugin
    1313 * Plugin Name: G DATA Antivirus
    14  * Version: 2.0.5
     14 * Version: 2.0.6
    1515 * Requires at least: 6.2
    1616 * Tested up to: 6.6
Note: See TracChangeset for help on using the changeset viewer.