| @@ -97,9 +97,8 @@ | ||
| 97 | 97 | |
| 98 | 98 | if ( isset( $scan_item_group_total[ Scan_Item::TYPE_INTEGRITY ] ) ) { |
| 99 | 99 | $data['WP core issue count'] = $scan_item_group_total[ Scan_Item::TYPE_INTEGRITY ]; |
| 100 | 100 | } |
| 101 | - | |
| 102 | 101 | if ( isset( $scan_item_group_total[ Scan_Item::TYPE_SUSPICIOUS ] ) ) { |
| 103 | 102 | $data['Suspicious Code'] = $scan_item_group_total[ Scan_Item::TYPE_SUSPICIOUS ]; |
| 104 | 103 | // Additional JS file count if found. |
| 105 | 104 | $items = $last_scan->get_issues( Scan_Item::TYPE_SUSPICIOUS, Scan_Item::STATUS_ACTIVE ); |
| @@ -116,14 +115,14 @@ | ||
| 116 | 115 | $data['JS file Detection'] = $count_js_files; |
| 117 | 116 | } |
| 118 | 117 | } |
| 119 | 118 | |
| 119 | + if ( isset( $scan_item_group_total[ Scan_Item::TYPE_VULNERABILITY ] ) ) { | |
| 120 | + $data['Vulnerability'] = $scan_item_group_total[ Scan_Item::TYPE_VULNERABILITY ]; | |
| 121 | + } | |
| 122 | + | |
| 120 | 123 | if ( isset( $scan_item_group_total[ Scan_Item::TYPE_PLUGIN_CHECK ] ) ) { |
| 121 | 124 | $data['Plugin file modified'] = $scan_item_group_total[ Scan_Item::TYPE_PLUGIN_CHECK ]; |
| 122 | - } | |
| 123 | - | |
| 124 | - if ( isset( $scan_item_group_total[ Scan_Item::TYPE_VULNERABILITY ] ) ) { | |
| 125 | - $data['Vulnerability'] = $scan_item_group_total[ Scan_Item::TYPE_VULNERABILITY ]; | |
| 126 | 125 | } |
| 127 | 126 | |
| 128 | 127 | $is_closed = false; |
| 129 | 128 | $is_outdated = false; |