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.../views/common
File: page-fixed-tabbar.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* Expects $tabs to be defined as an array of wfTab instances
[3] Fix | Delete
*/
[4] Fix | Delete
?>
[5] Fix | Delete
<div class="wf-row">
[6] Fix | Delete
<div class="wf-col-xs-12">
[7] Fix | Delete
<div class="wp-header-end"></div>
[8] Fix | Delete
<ul class="wf-hidden-xs wf-page-fixed-tabs" role="tablist">
[9] Fix | Delete
<li class="wordfence-lock-icon wordfence-icon32"></li>
[10] Fix | Delete
<?php foreach ($tabs as $t): ?>
[11] Fix | Delete
<?php
[12] Fix | Delete
$a = $t->a;
[13] Fix | Delete
if (!preg_match('/^https?:\/\//i', $a)) {
[14] Fix | Delete
$a = '#top#' . urlencode($a);
[15] Fix | Delete
}
[16] Fix | Delete
?>
[17] Fix | Delete
<li class="wf-tab<?php if ($t->active) { echo ' wf-active'; } ?>" id="wf-tab-<?php echo esc_attr($t->id); ?>" data-target="<?php echo esc_attr($t->id); ?>" data-page-title="<?php echo esc_attr($t->pageTitle); ?>"><a role="tab" href="<?php echo esc_attr($a); ?>" aria-selected="<?php echo json_encode((bool)$t->active) ?>"><?php echo esc_html($t->tabTitle); ?></a></li>
[18] Fix | Delete
<?php endforeach; ?>
[19] Fix | Delete
</ul>
[20] Fix | Delete
<ul class="wf-nav wf-nav-pills wf-visible-xs">
[21] Fix | Delete
<li class="wf-navbar-brand wordfence-lock-icon wordfence-icon32"></li>
[22] Fix | Delete
<li class="wf-dropdown">
[23] Fix | Delete
<a href="#" id="wordfenceTopTabsMobile" class="wf-dropdown-toggle wf-mobile-dropdown" data-toggle="wf-dropdown" role="button"><span id="wordfenceTopTabsMobileTitle">Go to</span> <span class="wf-caret"></span></a>
[24] Fix | Delete
<ul class="wf-dropdown-menu">
[25] Fix | Delete
<?php foreach ($tabs as $t): ?>
[26] Fix | Delete
<?php
[27] Fix | Delete
$a = $t->a;
[28] Fix | Delete
if (!preg_match('/^https?:\/\//i', $a)) {
[29] Fix | Delete
$a = '#top#' . urlencode($a);
[30] Fix | Delete
}
[31] Fix | Delete
?>
[32] Fix | Delete
<li id="wf-tab-mobile-<?php echo esc_attr($t->id); ?>"><a href="<?php echo esc_attr($a); ?>"><?php echo esc_html($t->tabTitle); ?></a></li>
[33] Fix | Delete
<?php endforeach; ?>
[34] Fix | Delete
</ul>
[35] Fix | Delete
</li>
[36] Fix | Delete
</ul>
[37] Fix | Delete
</div>
[38] Fix | Delete
</div>
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function