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: scanner-status.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents the scanner status. * * Expects $scanner to be defined. * * @var wfScanner $scanner The scanner state. * @var wfDashboard $dashboard Dashboard statistics. */ ?> <ul class="wf-block-list wf-block-list-horizontal"> <?php if ($scanner->isEnabled() == 'enabled' && $scanner->signatureMode() == wfScanner::SIGNATURE_MODE_PREMIUM): ?> <li> <div class="wf-block-labeled-value wf-scan-status wf-scan-status-full-enabled"> <div class="wf-block-labeled-value-label"><?php switch (wfLicense::current()->getType()) { case wfLicense::TYPE_RESPONSE: esc_html_e('Wordfence Scan & Response License Enabled', 'wordfence'); break; case wfLicense::TYPE_CARE: esc_html_e('Wordfence Scan & Care License Enabled', 'wordfence'); break; default: esc_html_e('Wordfence Scan & Premium Enabled', 'wordfence'); break; } ?></div> </div> </li> <?php else: ?> <li> <?php if (!$scanner->isEnabled()): ?> <div class="wf-scan-status-disabled"> <p><h3><?php esc_html_e('Wordfence Scan Deactivated', 'wordfence'); ?></h3></p> <p><?php esc_html_e('A Wordfence scan examines all files, posts, pages, and comments on your WordPress website looking for malware, known malicious URLs, and known patterns of infections. It also does several other reputation and server checks.', 'wordfence'); ?></p> <p> <a class="wf-btn wf-btn-primary wf-btn-callout-subtle" href="#" target="_blank" rel="noopener noreferrer" id="wf-scan-top-enable-scans" role="button"><?php esc_html_e('Enable Automatic Scans', 'wordfence'); ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a> <script type="application/javascript"> (function($) { $(function() { $('#wf-scan-top-enable-scans').on('click', function(e) { e.preventDefault(); e.stopPropagation(); WFAD.setOption('scheduledScansEnabled', 1, function() { window.location.reload(true); }); }); }); })(jQuery); </script> </p> </div> <?php else: ?> <div class="wf-block-labeled-value wf-scan-status wf-scan-status-enabled"> <div class="wf-block-labeled-value-value"><i class="wf-fa wf-fa-check" aria-hidden="true"></i></div> <div class="wf-block-labeled-value-label"><?php esc_html_e('Wordfence Scan Enabled', 'wordfence'); ?></div> </div> <?php endif; ?> </li> <li> <?php if ($scanner->signatureMode() == wfScanner::SIGNATURE_MODE_COMMUNITY): ?> <div> <p><h3><?php esc_html_e('Premium Protection Disabled', 'wordfence'); ?></h3></p> <p><?php esc_html_e('As a free Wordfence user, you are currently using the Community version of the Threat Defense Feed. Premium users are protected by additional firewall rules and malware signatures as well as the Wordfence real-time IP blocklist. Upgrade to Premium today to improve your protection.', 'wordfence'); ?></p> <p><a class="wf-btn wf-btn-primary wf-btn-callout-subtle" href="https://www.wordfence.com/gnl1scanUpgrade/wordfence-signup/#premium-order-form" target="_blank" rel="noopener noreferrer"><?php esc_html_e('Upgrade to Premium', 'wordfence'); ?></a> <a class="wf-btn wf-btn-callout-subtle wf-btn-default" href="https://www.wordfence.com/gnl1scanLearn/wordfence-signup/" target="_blank" rel="noopener noreferrer"><?php esc_html_e('Learn More', 'wordfence'); ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></p> </div> <?php else: ?> <div class="wf-block-labeled-value wf-protection-status wf-protection-status-<?php echo esc_attr($scanner->signatureMode()); ?>"> <div class="wf-block-labeled-value-value"><i class="wf-fa wf-fa-check" aria-hidden="true"></i></div> <div class="wf-block-labeled-value-label"><?php esc_html_e('Premium Protection Enabled', 'wordfence'); ?></div> </div> <?php endif; ?> </li> <?php endif; ?> </ul>
Save Changes
Rename File
Rename