PATH:
home
/
lab2454c
/
archfort.com
/
wp-content
/
plugins
/
wordfence
/
views
/
scanner
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents the Performance Options group. * * Expects $scanner and $stateKey. * * @var wfScanner $scanner * @var string $stateKey The key under which the collapse state is stored. * @var bool $collapseable If defined, specifies whether or not this grouping can be collapsed. Defaults to true. */ if (!isset($collapseable)) { $collapseable = true; } ?> <div class="wf-row"> <div class="wf-col-xs-12"> <div class="wf-block<?php if (!$collapseable) { echo ' wf-always-active'; } else { echo (wfPersistenceController::shared()->isActive($stateKey) ? ' wf-active' : ''); } ?>" data-persistence-key="<?php echo esc_attr($stateKey); ?>"> <div class="wf-block-header"> <div class="wf-block-header-content"> <div class="wf-block-title"> <strong><?php esc_html_e('Performance Options', 'wordfence'); ?></strong> </div> <?php if ($collapseable): ?><div class="wf-block-header-action"><div class="wf-block-header-action-disclosure" role="checkbox" aria-checked="<?php echo (wfPersistenceController::shared()->isActive($stateKey) ? 'true' : 'false'); ?>" tabindex="0"></div></div><?php endif; ?> </div> </div> <div class="wf-block-content"> <ul class="wf-block-list"> <?php $options = array( array('key' => 'lowResourceScansEnabled', 'label' => __('Use low resource scanning (reduces server load by lengthening the scan duration)', 'wordfence'), 'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_SCAN_OPTION_LOW_RESOURCE)), array('key' => 'scan_maxIssues', 'label' => __('Limit the number of issues sent in the scan results email', 'wordfence'), 'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_SCAN_OPTION_LIMIT_ISSUES), 'view' => 'options/option-text', 'parameters' => array('subtitle' => __('0 or empty means unlimited issues will be sent', 'wordfence'))), array('key' => 'scan_maxDuration', 'label' => __('Time limit that a scan can run in seconds', 'wordfence'), 'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_SCAN_OPTION_OVERALL_TIME_LIMIT), 'view' => 'options/option-text', 'parameters' => array('subtitle' => sprintf(/* translators: Time until. */ __('0 or empty means the default of %s will be used', 'wordfence'), wfUtils::makeDuration(WORDFENCE_DEFAULT_MAX_SCAN_TIME)))), array('key' => 'maxMem', 'label' => __('How much memory should Wordfence request when scanning', 'wordfence'), 'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_SCAN_OPTION_MEMORY_LIMIT), 'view' => 'options/option-text', 'parameters' => array('subtitle' => __('Memory size in megabytes', 'wordfence'))), array('key' => 'maxExecutionTime', 'label' => __('Maximum execution time for each scan stage ', 'wordfence'), 'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_SCAN_OPTION_STAGE_TIME_LIMIT), 'view' => 'options/option-text', 'parameters' => array('subtitle' => sprintf(/* translators: PHP max execution time (number). */ __('0 for default. Must be %d or greater and 10-20 or higher is recommended for most servers', 'wordfence'), intval(WORDFENCE_SCAN_MIN_EXECUTION_TIME)))), ); foreach ($options as $o): ?> <li> <?php if (isset($o['view']) && $o['view'] == 'options/option-text') { if (!isset($o['parameters'])) { $o['parameters'] = array(); } echo wfView::create($o['view'], array_merge(array( 'textOptionName' => $o['key'], 'textValue' => wfConfig::get($o['key']), 'title' => $o['label'], 'helpLink' => $o['helpLink'], ), $o['parameters']))->render(); } else { echo wfView::create('options/option-toggled', array( 'optionName' => $o['key'], 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get($o['key']) ? 1 : 0, 'title' => $o['label'], 'helpLink' => $o['helpLink'], 'disabled' => isset($o['disabled']) ? $o['disabled'] : false, ))->render(); } ?> </li> <?php endforeach; ?> </ul> </div> </div> </div> </div> <!-- end performance options -->
[-] issue-checkGSB.php
[edit]
[-] issue-knownfile.php
[edit]
[-] issue-wfUpgrade.php
[edit]
[-] issue-wfPluginVulnerable.php
[edit]
[-] issue-checkSpamIP.php
[edit]
[-] issue-easyPassword.php
[edit]
[-] issue-timelimit.php
[edit]
[-] issue-wpscan_fullPathDiscl.php
[edit]
[+]
..
[-] issue-checkHowGetIPs.php
[edit]
[-] options-group-general.php
[edit]
[-] scan-progress-element.php
[edit]
[-] site-cleaning-beta-sigs.php
[edit]
[-] issue-wfPluginRemoved.php
[edit]
[-] issue-control-repair.php
[edit]
[-] issue-wafStatus.php
[edit]
[-] issue-wpscan_directoryList.php
[edit]
[-] issue-control-show-details.php
[edit]
[-] issue-control-edit-user.php
[edit]
[-] issue-publiclyAccessible.php
[edit]
[-] site-cleaning-high-sense.php
[edit]
[-] issue-skippedPaths.php
[edit]
[-] options-group-basic.php
[edit]
[-] options-group-advanced.php
[edit]
[-] issue-wfPluginUpgrade.php
[edit]
[-] issue-commentBadURL.php
[edit]
[-] scanner-status.php
[edit]
[-] issue-postBadURL.php
[edit]
[-] issue-wfUpgradeError.php
[edit]
[-] issue-wfPluginAbandoned.php
[edit]
[-] issue-database.php
[edit]
[-] issue-control-hide-file.php
[edit]
[-] issue-spamvertizeCheck.php
[edit]
[-] issue-file.php
[edit]
[-] issue-postBadTitle.php
[edit]
[-] issue-base.php
[edit]
[-] scan-results.php
[edit]
[-] site-cleaning.php
[edit]
[-] issue-coreUnknown.php
[edit]
[-] site-cleaning-bottom.php
[edit]
[-] issue-suspiciousAdminUsers.php
[edit]
[-] options-group-scan-schedule.php
[edit]
[-] scan-progress-detailed.php
[edit]
[-] option-scan-signatures.php
[edit]
[-] issue-optionBadURL.php
[edit]
[-] scan-progress.php
[edit]
[-] scan-type.php
[edit]
[-] issue-control-edit-comment.php
[edit]
[-] no-issues.php
[edit]
[-] issue-diskSpace.php
[edit]
[-] issue-wfThemeUpgrade.php
[edit]
[-] scan-failed.php
[edit]
[-] scan-starter.php
[edit]
[-] scan-scheduling.php
[edit]
[-] issue-configReadable.php
[edit]
[-] issue-control-ignore.php
[edit]
[-] issue-geoipSupport.php
[edit]
[-] issue-control-edit-post.php
[edit]
[-] options-group-performance.php
[edit]