File Editor
Directories:
.. (Back)
Files:
issue-base.php
issue-checkGSB.php
issue-checkHowGetIPs.php
issue-checkSpamIP.php
issue-commentBadURL.php
issue-configReadable.php
issue-control-edit-comment.php
issue-control-edit-post.php
issue-control-edit-user.php
issue-control-hide-file.php
issue-control-ignore.php
issue-control-repair.php
issue-control-show-details.php
issue-coreUnknown.php
issue-database.php
issue-diskSpace.php
issue-easyPassword.php
issue-file.php
issue-geoipSupport.php
issue-knownfile.php
issue-optionBadURL.php
issue-postBadTitle.php
issue-postBadURL.php
issue-publiclyAccessible.php
issue-skippedPaths.php
issue-spamvertizeCheck.php
issue-suspiciousAdminUsers.php
issue-timelimit.php
issue-wafStatus.php
issue-wfPluginAbandoned.php
issue-wfPluginRemoved.php
issue-wfPluginUpgrade.php
issue-wfPluginVulnerable.php
issue-wfThemeUpgrade.php
issue-wfUpgrade.php
issue-wpscan_directoryList.php
issue-wpscan_fullPathDiscl.php
no-issues.php
option-scan-signatures.php
options-group-advanced.php
options-group-basic.php
options-group-general.php
options-group-performance.php
options-group-scan-schedule.php
scan-failed.php
scan-progress-detailed.php
scan-progress-element.php
scan-progress.php
scan-results.php
scan-scheduling.php
scan-starter.php
scan-type.php
scanner-status.php
site-cleaning-beta-sigs.php
site-cleaning-bottom.php
site-cleaning-high-sense.php
site-cleaning.php
Create New File
Create
Edit File: issue-file.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents an issue template. */ echo wfView::create('scanner/issue-base', array( 'internalType' => 'file', 'displayType' => __('File', 'wordfence'), 'iconSVG' => '<svg viewBox="0 0 46 55" ><path d="M43.557,13.609l-11.214,-11.175c-1.303,-1.246 -2.962,-2.058 -4.747,-2.324l0,18.223l18.294,0c-0.269,-1.777 -1.084,-3.427 -2.333,-4.724l0,0Z" fill="#9e9e9e"/><path d="M26.465,22.921c-0.005,0 -0.011,0 -0.016,0c-1.885,0 -3.435,-1.545 -3.435,-3.423c0,-0.005 0,-0.011 0,-0.016l0,-19.482l-19.562,0c-0.921,-0.019 -1.809,0.346 -2.449,1.005c-0.658,0.637 -1.022,1.52 -1.003,2.434l0,48.127c-0.019,0.915 0.345,1.797 1.003,2.434c0.639,0.658 1.524,1.023 2.443,1.005l39.102,0c0.004,0.001 0.008,0.001 0.012,0.001c1.884,0 3.435,-1.546 3.435,-3.423c0,-0.006 0,-0.011 -0.001,-0.017l0,-28.645l-19.529,0Z" fill="#9e9e9e"/></svg>', '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') => '<span class="wf-split-word-xs">${data.realFile}</span>', __('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}}<br><br>{{if data.wpconfig}}<strong>' . esc_html__('This is your main configuration file and cannot be deleted. It must be cleaned manually.', 'wordfence') . '</strong>{{/if}}', ), 'detailControls' => array( '{{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}}', '{{if data.canDiff}}<a target="_blank" class="wf-btn wf-btn-default wf-btn-callout-subtle" rel="noopener noreferrer" href="${WFAD.makeDiffLink(data)}">' . __('View Differences', 'wordfence') . '<span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>{{/if}}', '{{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}}', '<a href="#" class="wf-btn wf-btn-default wf-btn-callout-subtle wf-issue-control-mark-fixed" role="button">' . __('Mark as Fixed', 'wordfence') . '</a>', ), 'textOutput' => (isset($textOutput) ? $textOutput : null), 'textOutputDetailPairs' => array( __('Filename', 'wordfence') => '$data.realFile', __('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();
Save Changes
Rename File
Rename