__( 'Core', 'argus-wordpress-defence' ), 'plugin' => __( 'Plugin', 'argus-wordpress-defence' ), 'theme' => __( 'Theme', 'argus-wordpress-defence' ), ); $status_display = array( Argus_Vuln_Intel::STATUS_CLEAN => array( 'icon' => '✓', 'label' => __( 'No Known Vulnerabilities', 'argus-wordpress-defence' ), 'color' => 'var(--emerald)' ), Argus_Vuln_Intel::STATUS_PENDING => array( 'icon' => '⚠', 'label' => __( 'Check Pending', 'argus-wordpress-defence' ), 'color' => 'var(--amber)' ), Argus_Vuln_Intel::STATUS_UNAVAILABLE => array( 'icon' => '⚠', 'label' => __( 'Intelligence Temporarily Unavailable', 'argus-wordpress-defence' ), 'color' => 'var(--amber)' ), Argus_Vuln_Intel::STATUS_VULNERABLE => array( 'icon' => '🔴', 'label' => __( 'Vulnerability Detected', 'argus-wordpress-defence' ), 'color' => 'var(--rose)' ), ); $severity_labels = array( 'critical' => __( 'Critical', 'argus-wordpress-defence' ), 'high' => __( 'High', 'argus-wordpress-defence' ), 'medium' => __( 'Medium', 'argus-wordpress-defence' ), 'low' => __( 'Low', 'argus-wordpress-defence' ), ); $date_format = 'd M Y, H:i'; $last_check_display = $vuln_status['last_check'] ? wp_date( $date_format, strtotime( $vuln_status['last_check'] . ' UTC' ) ) : ''; $next_check_display = $vuln_status['next_check'] ? wp_date( $date_format, strtotime( $vuln_status['next_check'] . ' UTC' ) ) : ''; ?>
|
|