PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/behavior/scan/class-core-integrity.php +4 -5 6.0.0 → 6.3.0 View file →
@@ -112,10 +112,11 @@
112 112 $this->log( sprintf( 'modified %s', $file ), Scan_Controller::SCAN_LOG );
113 113 $model->add_item(
114 114 Scan_Item::TYPE_INTEGRITY,
115 115 array(
116 - 'file' => $file,
117 - 'type' => 'modified',
116 + 'file' => $file,
117 + 'type' => 'modified',
118 + 'checksum' => $checksums[ $rev_file ],
118 119 )
119 120 );
120 121 }
121 122 } else {
@@ -161,11 +162,9 @@
161 162 // We will check if we have any ignore issue from last scan, so we can bring it here.
162 163 $last = Scan::get_last();
163 164 if ( is_object( $last ) ) {
164 165 $ignored_issues = $last->get_issues( Scan_Item::TYPE_INTEGRITY, Scan_Item::STATUS_IGNORE );
165 - foreach ( $ignored_issues as $issue ) {
166 - $model->add_item( Scan_Item::TYPE_INTEGRITY, $issue->raw_data, Scan_Item::STATUS_IGNORE );
167 - }
166 + $model->carry_forward_ignored_issues( Scan_Item::TYPE_INTEGRITY, $ignored_issues, 'file' );
168 167 }
169 168 // Done, reset this, so we can use it later.
170 169 $model->task_checkpoint = '';
171 170 }