mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Change addWordpressChecksums to public, fix #58
This commit is contained in:
2
scan.php
2
scan.php
@@ -203,7 +203,7 @@ class MalwareScanner
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function addWordpressChecksums($wp_version)
|
public function addWordpressChecksums($wp_version)
|
||||||
{
|
{
|
||||||
$apiurl = 'https://api.wordpress.org/core/checksums/1.0/?version=' . $wp_version;
|
$apiurl = 'https://api.wordpress.org/core/checksums/1.0/?version=' . $wp_version;
|
||||||
$json = json_decode(file_get_contents($apiurl));
|
$json = json_decode(file_get_contents($apiurl));
|
||||||
|
|||||||
Reference in New Issue
Block a user