: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
class wfScanFileProperties {
public $wordpressPathMd5;
public function __construct($realPath, $wordpressPath) {
$this->realPath = $realPath;
$this->wordpressPath = $wordpressPath;
$this->wordpressPathMd5 = md5($wordpressPath);
public function freeContent() {
public function resetHandle() {
if (fseek($this->handle, 0, SEEK_SET) !== 0)
public function releaseHandle() {
public function loadContent() {
if (!$this->resetHandle())
$content = fread($this->handle, WORDFENCE_MAX_FILE_SIZE_TO_PROCESS);
$this->content = $content;
public function __destruct() {