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.../modules/login-se.../views/page
File: page.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_LS_VERSION')) { exit; }
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* @var array $sections The content tabs, each element is an array of the syntax array('tab' => Model_Tab instance, 'title' => Title instance, 'content' => HTML content). Required.
[4] Fix | Delete
*/
[5] Fix | Delete
?>
[6] Fix | Delete
<?php do_action('wfls_activation_page_header'); ?>
[7] Fix | Delete
<div class="wrap wordfence-ls">
[8] Fix | Delete
<?php
[9] Fix | Delete
if (\WordfenceLS\Controller_Permissions::shared()->can_manage_settings() && !\WordfenceLS\Controller_Settings::shared()->get_bool(\WordfenceLS\Controller_Settings::OPTION_DISMISSED_FRESH_INSTALL_MODAL) && !WORDFENCE_LS_FROM_CORE) {
[10] Fix | Delete
echo \WordfenceLS\Model_View::create('onboarding/standalone-header')->render();
[11] Fix | Delete
}
[12] Fix | Delete
?>
[13] Fix | Delete
<div class="wfls-container-fluid">
[14] Fix | Delete
<?php
[15] Fix | Delete
$tabs = array_map(function($t) { return $t['tab']; }, $sections);
[16] Fix | Delete
echo \WordfenceLS\Model_View::create('page/tabbar', array(
[17] Fix | Delete
'tabs' => $tabs,
[18] Fix | Delete
))->render();
[19] Fix | Delete
?>
[20] Fix | Delete
<div class="wfls-row">
[21] Fix | Delete
<div class="wfls-col-xs-12">
[22] Fix | Delete
<?php foreach ($sections as $s): ?>
[23] Fix | Delete
<div id="<?php echo esc_attr($s['tab']->id); ?>" class="wfls-tab-content" data-title="<?php echo esc_attr($s['tab']->pageTitle); ?>">
[24] Fix | Delete
<?php
[25] Fix | Delete
echo \WordfenceLS\Model_View::create('page/section-title', array(
[26] Fix | Delete
'title' => $s['title'],
[27] Fix | Delete
))->render();
[28] Fix | Delete
echo $s['content'];
[29] Fix | Delete
?>
[30] Fix | Delete
</div> <!-- end <?php echo \WordfenceLS\Text\Model_HTML::esc_html($s['tab']->id); ?> block -->
[31] Fix | Delete
<?php endforeach; ?>
[32] Fix | Delete
</div> <!-- end content block -->
[33] Fix | Delete
</div> <!-- end row -->
[34] Fix | Delete
</div> <!-- end container -->
[35] Fix | Delete
</div>
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function