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-configReadable.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' => 'configReadable',
[6] Fix | Delete
'displayType' => __('Publicly Accessible Config/Backup/Log', 'wordfence'),
[7] Fix | Delete
'iconSVG' => '<svg viewBox="0 0 20 20"><g><path d="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z"/></g></svg>',
[8] Fix | Delete
'summaryControls' => array(wfView::create('scanner/issue-control-hide-file'), 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
__('URL', 'wordfence') => '<a href="${data.url}" target="_blank" rel="noopener noreferrer">${data.url}<span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>',
[11] Fix | Delete
null,
[12] Fix | Delete
__('Details', 'wordfence') => '{{html longMsg}}'
[13] Fix | Delete
),
[14] Fix | Delete
'detailControls' => array(
[15] Fix | Delete
'{{if data.fileExists}}<a target="_blank" class="wf-btn wf-btn-default wf-btn-callout-subtle" rel="noopener noreferrer" href="${WFAD.makeViewFileLink(data)}">' . __('View File', 'wordfence') . '<span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>{{/if}}',
[16] Fix | Delete
'{{if data.canDelete}}<a href="#" class="wf-btn wf-btn-default wf-btn-callout-subtle wf-issue-control-delete-file" role="button">' . __('Delete File', 'wordfence') . '</a>{{/if}}',
[17] 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>',
[18] Fix | Delete
),
[19] Fix | Delete
'textOutput' => (isset($textOutput) ? $textOutput : null),
[20] Fix | Delete
'textOutputDetailPairs' => array(
[21] Fix | Delete
__('URL', 'wordfence') => '$data.url',
[22] Fix | Delete
null,
[23] Fix | Delete
__('Details', 'wordfence') => '$longMsg',
[24] Fix | Delete
),
[25] Fix | Delete
))->render();
[26] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function