[WordPress] 外掛分享: Trash emptier

首頁外掛目錄 › Trash emptier
20+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
4848 天前
最後更新
問題解決
WordPress 3.0+ v0.9 上架:2012-12-08

內容簡介

WordPress每天會刪除在垃圾桶中超過N天的已刪除項目,其中N表示EMPTY_TRASH_DAYS常數的值,EMPTY_TRASH_DAYS常數可以在wp-config.php文件中定義。

此外,該外掛提供了一種不同的方式來控制垃圾桶中保留項目的數量。您可以在設置頁面中設置保留天數,而不是手動編輯通常不方便且有些危險的wp-config.php文件。另外還有一個工具可以清除N天前的項目。

使用方法:
通過菜單“選項”>>“清空垃圾桶”進入設置頁面。
通過菜單“工具”>>“清空垃圾桶”進入刪除垃圾桶工具頁面。

網絡考慮:
該外掛未在網絡安裝中進行測試,但它應該能夠為每個網站管理員提供控制其垃圾桶的功能,這可能與網絡上的其他網站不同。
該外掛沒有網絡覆蓋的設置

重要提示:
無論是好是壞,該外掛採用的刪除算法與運行網站的WordPress版本完全相同。

限制:
如果您在wp-confing.php中設置了EMPTY_TRASH_DAYS,該外掛將無法正常運行。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.9) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Trash emptier」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon