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: sysinfo.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } ?>
[0] Fix | Delete
<?php if(! wfUtils::isAdmin()){ exit(); } ?><!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
<title><?php esc_html_e('Wordfence System Info', 'wordfence') ?></title>
[4] Fix | Delete
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
[5] Fix | Delete
<link rel='stylesheet' id='wordfence-main-style-css' href='<?php echo wfUtils::getBaseURL() . wfUtils::versionedAsset('css/phpinfo.css'); ?>?ver=<?php echo WORDFENCE_VERSION; ?>' type='text/css' media='all' />
[6] Fix | Delete
<body>
[7] Fix | Delete
<?php
[8] Fix | Delete
ob_start();
[9] Fix | Delete
if (wfUtils::funcEnabled('phpinfo')) { phpinfo(INFO_ALL); } else { echo '<center><strong>' . esc_html__('Unable to output phpinfo content because it is disabled', 'wordfence') . "</strong></center>\n"; }
[10] Fix | Delete
$out = ob_get_clean();
[11] Fix | Delete
$out = str_replace('width="600"','width="900"', $out);
[12] Fix | Delete
// $out = preg_replace('/<hr.*?PHP Credits.*?<\/h1>/s', '', $out);
[13] Fix | Delete
$out = preg_replace('/<a [^>]+>/', '', $out);
[14] Fix | Delete
$out = preg_replace('/<\/a>/', '', $out);
[15] Fix | Delete
$out = preg_replace('/<title>[^<]*<\/title>/','', $out);
[16] Fix | Delete
echo $out;
[17] Fix | Delete
?>
[18] Fix | Delete
<div class="diffFooter"><?php echo wp_kses(sprintf(__('&copy;&nbsp;%d to %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>
[19] Fix | Delete
</body>
[20] Fix | Delete
</html>
[21] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function