PluginProbe
Vigilant – 100% Free Security Suite: Firewall, 2FA, Login, Headers, Scanner… / 3.0.2
Vigilant – 100% Free Security Suite: Firewall, 2FA, Login, Headers, Scanner… v3.0.2
3.0.5 3.0.4 3.0.3 3.0.2 3.0.1 3.0.0 2.11.12 2.11.11 2.11.10 2.11.9 2.11.7 2.11.8 2.11.6 2.11.5 2.11.4 2.11.3 2.11.1 2.11.2 2.11.0 2.10.5 2.10.4 2.10.3 2.10.2 2.10.1 2.10.0 All 93 releases
← All changes | includes/class-security-analyzer.php +1 -7 3.0.3 → 3.0.2 View file →
@@ -199,16 +199,10 @@
199 199 $this->persist_scan( $report, $phase );
200 200
201 201 // Push to history only when the whole scan has finished (either 'all' in one call,
202 202 // or a 'slow' phase that immediately follows a 'fast' phase within the same minute).
203 - if ( 'all' === $phase ) {
203 + if ( 'all' === $phase || 'slow' === $phase ) {
204 204 $this->push_history( $report );
205 - } elseif ( 'slow' === $phase ) {
206 - // The slow phase closes a scan the fast one started, so what goes
207 - // to the history is the two merged, as persist_scan() has just
208 - // stored them. The report of this phase alone carries only its own
209 - // checks, and the trend showed every manual scan as a collapse.
210 - $this->push_history( $this->get_last_scan() );
211 205 }
212 206
213 207 return $report;
214 208 }