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: issue-wfThemeUpgrade.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* Presents an issue template.
[3] Fix | Delete
*/
[4] Fix | Delete
echo wfView::create('scanner/issue-base', array(
[5] Fix | Delete
'internalType' => 'wfThemeUpgrade',
[6] Fix | Delete
'displayType' => __('Theme Upgrade', 'wordfence'),
[7] Fix | Delete
'iconSVG' => '<svg viewBox="0 0 20 20"><g><path d="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z"/></g></svg>',
[8] Fix | Delete
'summaryControls' => array(wfView::create('scanner/issue-control-ignore', array('ignoreC' => __('Ignore ', 'wordfence'))), wfView::create('scanner/issue-control-show-details')),
[9] Fix | Delete
'detailPairs' => array(
[10] Fix | Delete
__('Theme Name', 'wordfence') => '${data.name}',
[11] Fix | Delete
__('Current Theme Version', 'wordfence') => '${data.version}',
[12] Fix | Delete
__('New Theme Version', 'wordfence') => '${data.newVersion}',
[13] Fix | Delete
null,
[14] Fix | Delete
__('Details', 'wordfence') => '{{if data.vulnerable}}<strong>' . esc_html__('Update includes security-related fixes.', 'wordfence') . '</strong><br>{{/if}}{{html longMsg}}<br><a href="' . get_admin_url() . 'update-core.php' . '">' . esc_html__('Click here to update now', 'wordfence') . '</a>.',
[15] Fix | Delete
null,
[16] Fix | Delete
__('Theme URL', 'wordfence') => '<a href="${data.URL}" target="_blank" rel="noopener noreferrer"><span class="wf-hidden-xs wf-split-word">${data.URL}</span><span class="wf-visible-xs">' . __('View', 'wordfence') . '</span><span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>',
[17] Fix | Delete
__('Vulnerability Information', 'wordfence') => array('data.vulnerabilityLink', '<a href="${data.vulnerabilityLink}" target="_blank" rel="noopener noreferrer"><span class="wf-hidden-xs wf-split-word">${data.vulnerabilityLink}</span><span class="wf-visible-xs">' . __('View', 'wordfence') . '</span><span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>'),
[18] Fix | Delete
__('Vulnerability Severity', 'wordfence') => array('data.cvssScore', '${data.cvssScore}/10.0 (<span class="${data.severityClass}" data-tooltip="test" title="This is the severity of the vulnerability itself, which can differ from the scan result severity. Some lower-severity vulnerabilities may still be important to address depending on your site\'s configuration and user base, so they are still important for you to review.">${data.severityLabel}</span>)'),
[19] Fix | Delete
),
[20] Fix | Delete
'detailControls' => array(
[21] Fix | Delete
'<a href="#" class="wf-btn wf-btn-default wf-btn-callout-subtle wf-issue-control-mark-fixed" role="button">' . __('Mark as Fixed', 'wordfence') . '</a>',
[22] Fix | Delete
'<a href="' . esc_url(wfUtils::wpAdminURL('update-core.php')) . '" class="wf-btn wf-btn-default wf-btn-callout-subtle wf-issue-control-view-updates">' . __('View Updates', 'wordfence') . '</a>',
[23] Fix | Delete
),
[24] Fix | Delete
'textOutput' => (isset($textOutput) ? $textOutput : null),
[25] Fix | Delete
'textOutputDetailPairs' => array(
[26] Fix | Delete
__('Theme Name', 'wordfence') => '$data.name',
[27] Fix | Delete
__('Current Theme Version', 'wordfence') => '$data.version',
[28] Fix | Delete
__('New Theme Version', 'wordfence') => '$data.newVersion',
[29] Fix | Delete
null,
[30] Fix | Delete
__('Details', 'wordfence') => '$longMsg',
[31] Fix | Delete
__('Vulnerability Status', 'wordfence') => array('$data.vulnerable', __('Update includes security-related fixes.', 'wordfence')),
[32] Fix | Delete
null,
[33] Fix | Delete
__('Theme URL', 'wordfence') => '$data.URL',
[34] Fix | Delete
__('Vulnerability Information', 'wordfence') => '$data.vulnerabilityLink',
[35] Fix | Delete
__('Vulnerability Severity', 'wordfence') => '${data.cvssScore}/10.0 (${data.severityLabel})',
[36] Fix | Delete
),
[37] Fix | Delete
))->render();
[38] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function