__('Firewall Options', 'wordfence'),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_WAF),
'helpLabelHTML' => wp_kses(__('Learn more
about the Firewall', 'wordfence'), array('span'=>array('class'=>array()))),
'showIcon' => true,
))->render();
?>
-
'waf-coverage',
'percentage' => $firewall->wafStatus(),
'activeColor' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? '#ececec' : null /* automatic */),
'title' => __('Web Application Firewall', 'wordfence'),
'subtitle' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? __('Currently in Learning Mode', 'wordfence') : __('Stops Complex Attacks', 'wordfence')),
'link' => $optionsURL,
'linkLabel' => null,
'statusTitle' => __('Web Application Firewall Status', 'wordfence'),
'statusList' => $firewall->wafStatusList(),
'statusExtra' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? wfView::create('waf/status-tooltip-learning-mode')->render() : ''),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_WAF_STATUS_OVERALL),
))->render();
?>
-
'waf-rules',
'percentage' => $firewall->ruleStatus(),
'activeColor' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? '#ececec' : null /* automatic */),
'title' => __('Firewall Rules: ', 'wordfence') . ($firewall->ruleMode() == wfFirewall::RULE_MODE_PREMIUM ? __('Premium', 'wordfence') : __('Community', 'wordfence')),
'subtitle' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? __('Currently in Learning Mode', 'wordfence') : ($firewall->ruleMode() == wfFirewall::RULE_MODE_PREMIUM ? __('Rules updated in real-time', 'wordfence') : __('Rule updates delayed by 30 days', 'wordfence'))),
'link' => 'https://www.wordfence.com/gnl1wafUpgrade/wordfence-signup/',
'linkLabel' => null,
'linkNewWindow' => true,
'statusTitle' => __('Firewall Rules Status', 'wordfence'),
'statusList' => $firewall->wafStatusList('rules'),
'statusExtra' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? wfView::create('waf/status-tooltip-learning-mode')->render() : ''),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_WAF_STATUS_RULES),
))->render();
?>
-
'waf-blacklist',
'percentage' => $firewall->blacklistStatus(),
'title' => __('Real-Time IP Blocklist: ', 'wordfence') . ($firewall->blacklistMode() == wfFirewall::BLACKLIST_MODE_ENABLED ? __('Enabled', 'wordfence') : __('Disabled', 'wordfence')),
'subtitle' => __('Blocks requests from known malicious IPs', 'wordfence'),
'link' => (($firewall->ruleMode() == wfFirewall::RULE_MODE_PREMIUM && $firewall->blacklistMode() == wfFirewall::BLACKLIST_MODE_DISABLED) ? network_admin_url('admin.php?page=WordfenceWAF&subpage=waf_options#waf-options-advanced') : 'https://www.wordfence.com/gnl1wafUpgrade/wordfence-signup/'),
'linkLabel' => null,
'linkNewWindow' => !($firewall->ruleMode() == wfFirewall::RULE_MODE_PREMIUM && $firewall->blacklistMode() == wfFirewall::BLACKLIST_MODE_DISABLED),
'statusTitle' => __('Blocklist Status', 'wordfence'),
'statusList' => $firewall->wafStatusList('blacklist'),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_WAF_STATUS_BLACKLIST),
))->render();
?>
-
'waf-brute',
'percentage' => $firewall->bruteForceStatus(),
'title' => __('Brute Force Protection', 'wordfence') . ($firewall->bruteForceStatus() == 0 ? __(': Disabled', 'wordfence') : ''),
'subtitle' => __('Stops Password Guessing Attacks', 'wordfence'),
'link' => network_admin_url('admin.php?page=WordfenceWAF&subpage=waf_options#waf-options-bruteforce'),
'linkLabel' => null,
'statusTitle' => __('Brute Force Protection Status', 'wordfence'),
'statusList' => $firewall->bruteForceStatusList(),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_WAF_STATUS_BRUTE_FORCE),
))->render();
?>
$firewall,
'waf' => $waf,
'stateKey' => 'waf-options-basic',
'collapseable' => false,
))->render();
?>
$firewall,
'waf' => $waf,
'stateKey' => 'waf-options-advanced',
))->render();
?>
$firewall,
'waf' => $waf,
'stateKey' => 'waf-options-bruteforce',
))->render();
?>
$firewall,
'waf' => $waf,
'stateKey' => 'waf-options-ratelimiting',
))->render();
?>
$firewall,
'waf' => $waf,
'stateKey' => 'waf-options-whitelisted',
))->render();
?>