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/scanner
File: scan-progress-detailed.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* Presents the scan activity log and its controls.
[3] Fix | Delete
*
[4] Fix | Delete
* Expects $scanner.
[5] Fix | Delete
*
[6] Fix | Delete
* @var wfScanner $scanner The scanner state.
[7] Fix | Delete
*/
[8] Fix | Delete
?>
[9] Fix | Delete
<div class="wf-alert wf-alert-danger" id="wf-scan-failed" style="display: none;">
[10] Fix | Delete
[11] Fix | Delete
</div>
[12] Fix | Delete
<ul class="wf-flex-horizontal wf-flex-vertical-xs wf-flex-full-width wf-no-top wf-no-bottom">
[13] Fix | Delete
<li id="wf-scan-last-status"></li>
[14] Fix | Delete
<li id="wf-scan-activity-log-controls"><a href="#" id="wf-scan-email-activity-log" role="button"><?php echo wp_kses(/* translators: word order may be altered as long as HTML remains around "activity" */ __('Email<span class="wf-hidden-xs"> activity</span> log', 'wordfence'), array('span'=>array('class'=>array()))); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo esc_attr(wfUtils::getSiteBaseURL()); ?>?_wfsf=viewActivityLog&amp;nonce=<?php echo esc_attr(wp_create_nonce('wp-ajax')); ?>" id="wf-scan-full-activity-log" target="_blank"><?php echo wp_kses(/* translators: word order may be altered as long as HTML remains around "full" */ __('View<span class="wf-hidden-xs"> full</span> log', 'wordfence'), array('span'=>array('class'=>array()))); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" id="wf-scan-toggle-activity-log" class="<?php echo (wfPersistenceController::shared()->isActive('wf-scan-activity-log') ? 'wf-active' : '') ?>" role="button"><span class="wf-scan-activity-log-visible"><?php esc_html_e('Hide log', 'wordfence'); ?></span><span class="wf-scan-activity-log-hidden"><?php esc_html_e('Show log', 'wordfence'); ?></span><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></li>
[15] Fix | Delete
</ul>
[16] Fix | Delete
<div id="wf-scan-running-bar" style="<?php if (!$scanner->isRunning()) { echo 'display: none;'; } ?>"><div id="wf-scan-running-bar-pill"></div></div>
[17] Fix | Delete
<ul id="wf-scan-activity-log" class="<?php echo (wfPersistenceController::shared()->isActive('wf-scan-activity-log') ? ' wf-active' : '') ?>"></ul>
[18] Fix | Delete
<script type="application/javascript">
[19] Fix | Delete
(function($) {
[20] Fix | Delete
$(function() {
[21] Fix | Delete
$('#wf-scan-email-activity-log').on('click', function(e) {
[22] Fix | Delete
e.preventDefault();
[23] Fix | Delete
e.stopPropagation();
[24] Fix | Delete
[25] Fix | Delete
WFAD.emailActivityLog();
[26] Fix | Delete
});
[27] Fix | Delete
[28] Fix | Delete
$('#wf-scan-toggle-activity-log').on('click', function(e) {
[29] Fix | Delete
e.preventDefault();
[30] Fix | Delete
e.stopPropagation();
[31] Fix | Delete
[32] Fix | Delete
var isActive = $('#wf-scan-activity-log').hasClass('wf-active');
[33] Fix | Delete
if (isActive) {
[34] Fix | Delete
$('#wf-scan-activity-log').slideUp({
[35] Fix | Delete
always: function() {
[36] Fix | Delete
$('#wf-scan-activity-log').removeClass('wf-active');
[37] Fix | Delete
$('#wf-scan-toggle-activity-log').removeClass('wf-active');
[38] Fix | Delete
}
[39] Fix | Delete
});
[40] Fix | Delete
}
[41] Fix | Delete
else {
[42] Fix | Delete
$('#wf-scan-activity-log').slideDown({
[43] Fix | Delete
always: function() {
[44] Fix | Delete
$('#wf-scan-activity-log').addClass('wf-active');
[45] Fix | Delete
$('#wf-scan-toggle-activity-log').addClass('wf-active');
[46] Fix | Delete
}
[47] Fix | Delete
});
[48] Fix | Delete
}
[49] Fix | Delete
[50] Fix | Delete
WFAD.ajax('wordfence_saveDisclosureState', {name: 'wf-scan-activity-log', state: !isActive}, function() {});
[51] Fix | Delete
});
[52] Fix | Delete
});
[53] Fix | Delete
})(jQuery);
[54] Fix | Delete
</script>
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function