WordPress之wp-config.php参数

WordPress之wp-config.php参数

define('WP_POST_REVISIONS', false);
define('WP_MEMORY_LIMIT', '256M');
define('AUTOSAVE_INTERVAL', 300); // 300 seconds is 5 mins
define('EMPTY_TRASH_DAYS', 1); // replace 1 with whatever number you have in mind
define('WP_CACHE', true); // only when caching plugin is used
/** define('TEMPLATEPATH', '/absolute/path/to/wp-content/themes/active-theme'); (optional) */
/** define('STYLESHEETPATH', '/absolute/path/to/wp-content/themes/active-theme'); (optional) */

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据