跳到内容

Trash emptier

v0.9

Mark-k · 2012年12月9日 上架

Provides a configurable control over the trash emptying algorithm wordpress uses without changing wp-config.php

正在使用
10+
评分
1.0 / 5
累计下载
2,427
最近更新
2012年12月9日
1 条评价需要 WordPress 3.0+已测试到 3.5.2

贡献者

Once a day wordpress deletes all trashed items which had been in the trash for more then N days, where N stands for the value of EMPTY_TRASH_DAYS constant which may be defined in wp-config.php file.

This plugin presents a different way to control the number of trashed days. Instead of manually editing wp-config.php which is usually not convenient and somewhat dangerous, you can set the number of days in a settings page.
In addition there is a tool to empty the cache from Items older the a specified number of days.

Usage:
Get to the settings page via the menu “Options” >> “Empty trash”
Get to the delete trash tool page via the menu “Tools” >> “Empty trash”

Network considerations:
The plugin was not tested in a network installation, but it should work gibing the individual site admin a control over his trash which is possibly different then other sites on the network.
The plugin do not have network wide settings

Important:
For better or worse the plugin employs exactly the same deleting algorithm used by the wordpress version running the site.

Limitations:
The plugin will not be able to function well if you have EMPTY_TRASH_DAYS set in your wp-confing.php

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums