'file', 'displayType' => __('File', 'wordfence'), 'iconSVG' => '', 'summaryControls' => array(wfView::create('scanner/issue-control-repair'), wfView::create('scanner/issue-control-ignore', array('ignoreP' => __('Always Ignore', 'wordfence'), 'ignoreC' => __('Ignore Until File Changes', 'wordfence'))), wfView::create('scanner/issue-control-show-details')), 'detailPairs' => array( __('Filename', 'wordfence') => '${data.file}', __('File Type', 'wordfence') => '{{if data.cType}}${WFAD.ucfirst(data.cType)}{{else data.wpconfig}}' . __('WordPress Configuration File', 'wordfence') . '{{else}}' . __('Not a core, theme, or plugin file from wordpress.org', 'wordfence') . '.{{/if}}', __('Bad URL', 'wordfence') => array('(typeof data.badURL !== \'undefined\') && data.badURL', '${data.badURL}'), null, __('Details', 'wordfence') => '{{html longMsg}}

{{if data.wpconfig}}' . esc_html__('This is your main configuration file and cannot be deleted. It must be cleaned manually.', 'wordfence') . '{{/if}}', ), 'detailControls' => array( '{{if data.fileExists}}' . __('View File', 'wordfence') . ' (' . esc_html__('opens in new tab', 'wordfence') . '){{/if}}', '{{if data.canDiff}}' . __('View Differences', 'wordfence') . ' (' . esc_html__('opens in new tab', 'wordfence') . '){{/if}}', '{{if data.canDelete}}' . __('Delete File', 'wordfence') . '{{/if}}', '' . __('Mark as Fixed', 'wordfence') . '', ), 'textOutput' => (isset($textOutput) ? $textOutput : null), 'textOutputDetailPairs' => array( __('Filename', 'wordfence') => '$data.file', __('File Type', 'wordfence') => '$data.ucType', __('File Type', 'wordfence') => '$data.wpconfig', __('File Type', 'wordfence') => array(array('!$data.ucType', '!$data.wpconfig'), 'Not a core, theme, or plugin file from wordpress.org'), __('Bad URL', 'wordfence') => '$data.badURL', null, __('Details', 'wordfence') => '$longMsg', ), ))->render();