관리-도구
편집 파일: settings.tpl.php
<?php namespace LiteSpeed; defined( 'WPINC' ) || exit; $this->form_action(); ?> <h3 class="litespeed-title-short"> <?php echo __( 'DB Optimization Settings', 'litespeed-cache' ); ?> <?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/database/#db-optimization-settings-tab' ); ?> </h3> <table class="wp-list-table striped litespeed-table"><tbody> <tr> <th> <?php $id = Base::O_DB_OPTM_REVISIONS_MAX; ?> <?php $this->title( $id ); ?> </th> <td> <?php $this->build_input( $id, 'litespeed-input-short' ); ?> <div class="litespeed-desc"> <?php echo __( 'Specify the number of most recent revisions to keep when cleaning revisions.', 'litespeed-cache' ); ?> <?php $this->_validate_ttl( $id, 1, 100, true ); ?> </div> </td> </tr> <tr> <th> <?php $id = Base::O_DB_OPTM_REVISIONS_AGE; ?> <?php $this->title( $id ); ?> </th> <td> <?php $this->build_input( $id, 'litespeed-input-short' ); ?> <?php echo __( 'Day(s)', 'litespeed-cache' ); ?> <div class="litespeed-desc"> <?php echo __( 'Revisions newer than this many days will be kept when cleaning revisions.', 'litespeed-cache' ); ?> <?php $this->_validate_ttl( $id, 1, 600, true ); ?> </div> </td> </tr> </tbody></table> <?php $this->form_end();