: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if (!defined('WORDFENCE_VERSION')) { exit; }
* Presents a block list element specifically for the scan progress indicator.
* @var wfScanner $scanner The scanner state.
$status = $scanner->stageStatus();
<ul class="wf-scanner-progress">
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-spamvertising',
'title' => __('Spamvertising Checks', 'wordfence'),
'status' => $status[wfScanner::STAGE_SPAMVERTISING_CHECKS],
echo wfView::create('scanner/scan-progress-element', array(
'title' => __('Spam Check', 'wordfence'),
'status' => $status[wfScanner::STAGE_SPAM_CHECK],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-blacklist',
'title' => __('Blocklist Check', 'wordfence'),
'status' => $status[wfScanner::STAGE_BLACKLIST_CHECK],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-server',
'title' => __('Server State', 'wordfence'),
'status' => $status[wfScanner::STAGE_SERVER_STATE],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-changes',
'title' => __('File Changes', 'wordfence'),
'status' => $status[wfScanner::STAGE_FILE_CHANGES],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-malware',
'title' => __('Malware Scan', 'wordfence'),
'status' => $status[wfScanner::STAGE_MALWARE_SCAN],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-content',
'title' => __('Content Safety', 'wordfence'),
'status' => $status[wfScanner::STAGE_CONTENT_SAFETY],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-public',
'title' => __('Public Files', 'wordfence'),
'status' => $status[wfScanner::STAGE_PUBLIC_FILES],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-password',
'title' => __('Password Strength', 'wordfence'),
'status' => $status[wfScanner::STAGE_PASSWORD_STRENGTH],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-vulnerability',
'title' => __('Vulnerability Scan', 'wordfence'),
'status' => $status[wfScanner::STAGE_VULNERABILITY_SCAN],
echo wfView::create('scanner/scan-progress-element', array(
'id' => 'wf-scan-options',
'title' => __('User & Option Audit', 'wordfence'),
'status' => $status[wfScanner::STAGE_OPTIONS_AUDIT],