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: scan-progress-element.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents an individual element in the scan progress indicator. * * Expects $id, $title, and $scanner. $premiumOnly and $status may also be defined. * * @var string $id The element ID. * @var string $title The element title. * @var wfScanner $scanner The scanner state. * @var string $status One of the wfScanner::STATUS_ constants. */ if (!isset($premiumOnly)) { $premiumOnly = false; } $class = ''; switch ($status) { case wfScanner::STATUS_PENDING: //No class break; case wfScanner::STATUS_RUNNING: case wfScanner::STATUS_RUNNING_WARNING: $class = 'wf-scan-step-running'; break; case wfScanner::STATUS_COMPLETE_SUCCESS: $class = 'wf-scan-step-complete-success'; break; case wfScanner::STATUS_COMPLETE_WARNING: $class = 'wf-scan-step-complete-warning'; break; case wfScanner::STATUS_PREMIUM: $class = 'wf-scan-step-premium'; break; case wfScanner::STATUS_DISABLED: $class = 'wf-scan-step-disabled'; break; } ?> <li id="<?php echo esc_attr($id); ?>" class="wf-scan-step<?php if ($class) { echo " {$class}"; } ?>"> <div class="wf-scan-step-icon"> <?php if ($status == wfScanner::STATUS_PREMIUM): ?> <div class="wf-scan-step-premium"></div> <?php endif; ?> <div class="wf-scan-step-pending"></div> <div class="wf-scan-step-running"> <?php echo wfView::create('common/indeterminate-progress', array( 'size' => 50, ))->render(); ?> </div> <div class="wf-scan-step-complete-success"></div> <div class="wf-scan-step-complete-warning"></div> <div class="wf-scan-step-disabled"></div> </div> <div class="wf-scan-step-title"><?php echo esc_html($title); ?></div> <?php if ($status == wfScanner::STATUS_PREMIUM): ?> <div class="wf-scan-step-subtitle"><a href="https://www.wordfence.com/gnl1scanUpgrade/wordfence-signup/" target="_blank" rel="noopener noreferrer"><?php esc_html_e('Upgrade', 'wordfence'); ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></div> <?php endif; ?> </li>
Save Changes
Rename File
Rename