diff --git a/lib/CleantalkSP/SpbctWP/Scanner/Stages/CureStage.php b/lib/CleantalkSP/SpbctWP/Scanner/Stages/CureStage.php index cf5cd1c73..af7a33d2c 100644 --- a/lib/CleantalkSP/SpbctWP/Scanner/Stages/CureStage.php +++ b/lib/CleantalkSP/SpbctWP/Scanner/Stages/CureStage.php @@ -187,6 +187,8 @@ private function preCheckFile($file, $cure_log_record, $weak_spots_decoded) return $cure_log_record; } + spbc_backup__files_with_signatures(true); + //check if file has backup if ( !$this->fileHasBackup($file) ) { //cure is not safe without backups, log this and return cure_log_record