Plugin Directory

Changeset 3473217


Ignore:
Timestamp:
03/03/2026 02:52:46 AM (5 days ago)
Author:
shift8
Message:

Bug fixes

Location:
atomic-edge-security/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • atomic-edge-security/trunk/admin/js/adaptive-defense.js

    r3473194 r3473217  
    669669            // Detection details
    670670            $detailRow.find('.atomicedge-ad-detail-score').html(this.formatScore(detection.score || 0));
    671             $detailRow.find('.atomicedge-ad-detail-confidence').text((detection.confidence || 0) + '%');
     671            var rawConf = detection.confidence || 0;
     672            var confPct = rawConf > 1 ? rawConf : Math.round(rawConf * 100);
     673            $detailRow.find('.atomicedge-ad-detail-confidence').text(confPct + '%');
    672674            $detailRow.find('.atomicedge-ad-detail-status').html(this.formatDetectionStatus(detection.status || 'pending'));
    673675            $detailRow.find('.atomicedge-ad-detail-detected-at').text(this.formatDate(detection.detected_at || detection.created_at));
  • atomic-edge-security/trunk/atomicedge.php

    r3473194 r3473217  
    44 * Plugin URI: https://atomicedge.io/wordpress
    55 * Description: Connect your WordPress site to Atomic Edge WAF/CDN for advanced security protection, analytics, and access control management.
    6  * Version: 2.4.6
     6 * Version: 2.4.7
    77 * Requires at least: 5.8
    88 * Requires PHP: 7.4
     
    2626
    2727// Plugin constants.
    28 define( 'ATOMICEDGE_VERSION', '2.4.6' );
     28define( 'ATOMICEDGE_VERSION', '2.4.7' );
    2929define( 'ATOMICEDGE_PLUGIN_FILE', __FILE__ );
    3030define( 'ATOMICEDGE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • atomic-edge-security/trunk/includes/class-atomicedge-dev-mode.php

    r3473194 r3473217  
    556556                'id'              => 2001,
    557557                'score'           => 92,
    558                 'confidence'      => 87,
     558                'confidence'      => 0.87,
    559559                'threat_level'    => 'critical',
    560560                'status'          => 'auto_blocked',
     
    587587                'id'              => 2002,
    588588                'score'           => 78,
    589                 'confidence'      => 72,
     589                'confidence'      => 0.72,
    590590                'threat_level'    => 'high',
    591591                'status'          => 'pending_review',
     
    618618                'id'              => 2003,
    619619                'score'           => 95,
    620                 'confidence'      => 91,
     620                'confidence'      => 0.91,
    621621                'threat_level'    => 'critical',
    622622                'status'          => 'user_blocked',
     
    650650                'id'              => 2004,
    651651                'score'           => 55,
    652                 'confidence'      => 60,
     652                'confidence'      => 0.60,
    653653                'threat_level'    => 'medium',
    654654                'status'          => 'pending_review',
     
    681681                'id'              => 2005,
    682682                'score'           => 40,
    683                 'confidence'      => 45,
     683                'confidence'      => 0.45,
    684684                'threat_level'    => 'low',
    685685                'status'          => 'dismissed',
  • atomic-edge-security/trunk/readme.txt

    r3473194 r3473217  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 2.4.6
     7Stable tag: 2.4.7
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    112112
    113113== Changelog ==
     114
     115= 2.4.7 =
     116* FIX: Confidence now displayed as percentage (e.g. "90%") instead of raw decimal ("0.90%") in Adaptive Defense threat detection details
     117* FIX: Dev mode simulation data now uses 0.0-1.0 decimal values for confidence to match real API format
    114118
    115119= 2.4.6 =
Note: See TracChangeset for help on using the changeset viewer.