Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordfenc.../lib
File: menu_firewall.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
if (!wfOnboardingController::shouldShowAttempt3() && wfConfig::get('touppPromptNeeded')) {
[2] Fix | Delete
echo wfView::create('gdpr/disabled-overlay')->render();
[3] Fix | Delete
echo wfView::create('gdpr/banner')->render();
[4] Fix | Delete
}
[5] Fix | Delete
?>
[6] Fix | Delete
<?php if (isset($storageExceptionMessage)): ?>
[7] Fix | Delete
<div class="notice notice-error"><p><?php echo $storageExceptionMessage; ?></p></div>
[8] Fix | Delete
<?php endif; ?>
[9] Fix | Delete
<div class="wrap wordfence">
[10] Fix | Delete
<div class="wf-container-fluid">
[11] Fix | Delete
<?php
[12] Fix | Delete
echo wfView::create('common/page-tabbar', array(
[13] Fix | Delete
'tabs' => array(
[14] Fix | Delete
new wfTab('waf', 'waf', __('Firewall', 'wordfence'), __('Web Application Firewall', 'wordfence')),
[15] Fix | Delete
new wfTab('blocking', 'blocking', __('Blocking', 'wordfence'), __('Blocking', 'wordfence')),
[16] Fix | Delete
),
[17] Fix | Delete
))->render();
[18] Fix | Delete
?>
[19] Fix | Delete
<div class="wf-row">
[20] Fix | Delete
<div class="<?php echo wfStyle::contentClasses(); ?>">
[21] Fix | Delete
<div id="waf" class="wf-tab-content" data-title="Web Application Firewall">
[22] Fix | Delete
<?php
[23] Fix | Delete
echo wfView::create('common/section-title', array(
[24] Fix | Delete
'title' => __('Firewall', 'wordfence'),
[25] Fix | Delete
'headerID' => 'wf-section-firewall',
[26] Fix | Delete
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_WAF),
[27] Fix | Delete
'helpLabelHTML' => wp_kses(__('Learn more<span class="wf-hidden-xs"> about the Firewall</span>', 'wordfence'), array('span'=>array('class'=>array()))),
[28] Fix | Delete
))->render();
[29] Fix | Delete
require(dirname(__FILE__) . '/menu_firewall_waf.php');
[30] Fix | Delete
?>
[31] Fix | Delete
</div> <!-- end waf block -->
[32] Fix | Delete
<div id="blocking" class="wf-tab-content" data-title="Blocking">
[33] Fix | Delete
<?php
[34] Fix | Delete
echo wfView::create('common/section-title', array(
[35] Fix | Delete
'title' => __('Blocking', 'wordfence'),
[36] Fix | Delete
'headerID' => 'wf-section-blocking',
[37] Fix | Delete
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_FIREWALL_BLOCKING),
[38] Fix | Delete
'helpLabelHTML' => wp_kses(__('Learn more<span class="wf-hidden-xs"> about Blocking</span>', 'wordfence'), array('span'=>array('class'=>array()))),
[39] Fix | Delete
))->render();
[40] Fix | Delete
require(dirname(__FILE__) . '/menu_firewall_blocking.php');
[41] Fix | Delete
?>
[42] Fix | Delete
</div> <!-- end blocking block -->
[43] Fix | Delete
</div> <!-- end content block -->
[44] Fix | Delete
</div> <!-- end row -->
[45] Fix | Delete
</div> <!-- end container -->
[46] Fix | Delete
</div>
[47] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function