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_tools.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* @var string $subpage
[3] Fix | Delete
*/
[4] Fix | Delete
?>
[5] Fix | Delete
<?php
[6] Fix | Delete
if (!wfOnboardingController::shouldShowAttempt3() && wfConfig::get('touppPromptNeeded')) {
[7] Fix | Delete
echo wfView::create('gdpr/disabled-overlay')->render();
[8] Fix | Delete
echo wfView::create('gdpr/banner')->render();
[9] Fix | Delete
}
[10] Fix | Delete
?>
[11] Fix | Delete
<div class="wrap wordfence">
[12] Fix | Delete
<div class="wf-container-fluid">
[13] Fix | Delete
<?php
[14] Fix | Delete
$tabsArray = array();
[15] Fix | Delete
if (wfCredentialsController::allowLegacy2FA()) {
[16] Fix | Delete
$tabsArray[] = array('twofactor', __('Two-Factor Authentication', 'wordfence'));
[17] Fix | Delete
}
[18] Fix | Delete
$tabsArray[] = array('livetraffic', __('Live Traffic', 'wordfence'));
[19] Fix | Delete
$tabsArray[] = array('whois', __('Whois Lookup', 'wordfence'));
[20] Fix | Delete
$tabsArray[] = array('importexport', __('Import/Export Options', 'wordfence'));
[21] Fix | Delete
$tabsArray[] = array('diagnostics', __('Diagnostics', 'wordfence'));
[22] Fix | Delete
[23] Fix | Delete
$tabs = array();
[24] Fix | Delete
foreach ($tabsArray as $tab) {
[25] Fix | Delete
list($tabID, $tabLabel) = $tab;
[26] Fix | Delete
$tabs[] = new wfTab($tabID,
[27] Fix | Delete
network_admin_url('admin.php?page=WordfenceTools&subpage=' . rawurlencode($tabID)),
[28] Fix | Delete
$tabLabel, $tabLabel, $subpage === $tabID);
[29] Fix | Delete
}
[30] Fix | Delete
[31] Fix | Delete
echo wfView::create('common/page-fixed-tabbar', array(
[32] Fix | Delete
'tabs' => $tabs,
[33] Fix | Delete
))->render();
[34] Fix | Delete
?>
[35] Fix | Delete
<div class="wf-row">
[36] Fix | Delete
<div class="<?php echo wfStyle::contentClasses(); ?>">
[37] Fix | Delete
<div class="wf-tab-content wf-active">
[38] Fix | Delete
<?php echo $content ?>
[39] Fix | Delete
</div>
[40] Fix | Delete
</div> <!-- end content block -->
[41] Fix | Delete
</div> <!-- end row -->
[42] Fix | Delete
</div> <!-- end container -->
[43] Fix | Delete
</div>
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function