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: diffResult.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } ?>
[0] Fix | Delete
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[1] Fix | Delete
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
[2] Fix | Delete
<head>
[3] Fix | Delete
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
[4] Fix | Delete
<link rel='stylesheet' id='wordfence-main-style-css' href='<?php echo wfUtils::getBaseURL() . wfUtils::versionedAsset('css/diff.css'); ?>?ver=<?php echo WORDFENCE_VERSION; ?>' type='text/css' media='all' />
[5] Fix | Delete
</head>
[6] Fix | Delete
<body>
[7] Fix | Delete
<h1><?php esc_html_e('Wordfence: Viewing File Differences', 'wordfence') ?></h1>
[8] Fix | Delete
<p style="width: 800px; font-size: 16px; font-family: Verdana;">
[9] Fix | Delete
<?php esc_html_e('The two panels below show a before and after view of a file on your system that has been modified. The left panel shows the original file before modification. The right panel shows your version of the file that has been modified. Use this view to determine if a file has been modified by an attacker or if this is a change that you or another trusted person made. If you are happy with the modifications you see here, then you should choose to ignore this file the next time Wordfence scans your system.', 'wordfence') ?>
[10] Fix | Delete
</p>
[11] Fix | Delete
<table border="0" style="margin: 0 0 20px 0;" class="summary">
[12] Fix | Delete
<tr><td><?php esc_html_e('Filename:', 'wordfence') ?></td><td><?php echo wp_kses($_GET['file'], array()); ?></td></tr>
[13] Fix | Delete
<tr><td><?php esc_html_e('File type:', 'wordfence') ?></td><td><?php
[14] Fix | Delete
$cType = $_GET['cType'];
[15] Fix | Delete
if($cType == 'core'){
[16] Fix | Delete
esc_html_e('WordPress Core File', 'wordfence') . "</td></tr>";
[17] Fix | Delete
} else if($cType == 'theme'){
[18] Fix | Delete
echo esc_html__('Theme File', 'wordfence') . "</td></tr><tr><td>" .
[19] Fix | Delete
esc_html__('Theme Name:', 'wordfence')
[20] Fix | Delete
. "</td><td>" . wp_kses($_GET['cName'], array()) . "</td></tr><tr><td>" .
[21] Fix | Delete
esc_html__('Theme Version:', 'wordfence') . "</td><td>" . wp_kses($_GET['cVersion'], array()) . "</td></tr>";
[22] Fix | Delete
} else if($cType == 'plugin'){
[23] Fix | Delete
echo esc_html__('Plugin File', 'wordfence') . "</td></tr><tr><td>" .
[24] Fix | Delete
esc_html__('Plugin Name:', 'wordfence') . "</td><td>" . wp_kses($_GET['cName'], array()) . "</td></tr><tr><td>" .
[25] Fix | Delete
esc_html__('Plugin Version:', 'wordfence') . "</td><td>" . wp_kses($_GET['cVersion'], array()) . "</td></tr>";
[26] Fix | Delete
} else {
[27] Fix | Delete
echo esc_html__('Unknown Type', 'wordfence') . "</td></tr>";
[28] Fix | Delete
}
[29] Fix | Delete
?>
[30] Fix | Delete
</table>
[31] Fix | Delete
[32] Fix | Delete
<?php
[33] Fix | Delete
if($diffResult){
[34] Fix | Delete
echo $diffResult;
[35] Fix | Delete
} else {
[36] Fix | Delete
echo "<br />" . esc_html__('There are no differences between the original file and the file in the repository.', 'wordfence');
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
?>
[40] Fix | Delete
[41] Fix | Delete
[42] Fix | Delete
<div class="diffFooter"><?php echo wp_kses(sprintf(__('&copy;&nbsp;%1$d to %2$d Wordfence &mdash; Visit <a href="http://wordfence.com/">Wordfence.com</a> for help, security updates and more.', 'wordfence'), date_i18n('Y', WORDFENCE_EPOCH), date_i18n('Y')), array('a'=>array('href'=>array()))) ?></div>
[43] Fix | Delete
</body>
[44] Fix | Delete
</html>
[45] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function