id, array( 'module' => 'integrity', 'check_id' => $siteaudithub_threat_ids, 'per_page' => 1, ) ); list( , $siteaudithub_notes ) = Repository::query_findings( $siteaudithub_scan->id, array( 'module' => 'integrity', 'check_id' => $siteaudithub_note_ids, 'per_page' => 1, ) ); // Several checks can flag the same file, so the headline counts files/items. $siteaudithub_threat_items = $siteaudithub_threats ? Repository::count_finding_items( $siteaudithub_scan->id, array( 'module' => 'integrity', 'check_id' => $siteaudithub_threat_ids, ) ) : 0; // "All safe" is only claimed when files were compared with the official releases. $siteaudithub_full = ! empty( $siteaudithub_scan->summary['core_checksums'] ); $siteaudithub_sum = $siteaudithub_scan->summary; $siteaudithub_files = isset( $siteaudithub_sum['files'] ) ? (int) $siteaudithub_sum['files'] : 0; $siteaudithub_when = Ui::datetime( $siteaudithub_scan->finished_at ); ?>

$siteaudithub_note_ids, 'link' => array( 'show' => 'notes' ), 'title' => __( 'Other notes', 'siteaudithub' ), 'empty' => __( 'No other notes from this scan.', 'siteaudithub' ), ) ); } elseif ( $siteaudithub_threats ) { Views::findings( $siteaudithub_scan, 'integrity', 'siteaudithub-integrity', array( 'check_id' => $siteaudithub_threat_ids, 'title' => __( 'Possible threats', 'siteaudithub' ), 'empty' => __( 'No threats match these filters.', 'siteaudithub' ), ) ); } ?>

← →