[WordPress] 外掛分享: Revision Strike

首頁外掛目錄 › Revision Strike
70+
安裝啟用
★★★★★
5/5 分(1 則評價)
3105 天前
最後更新
問題解決
WordPress 4.2+ PHP 5.4+ v0.6.0 上架:2015-08-09

內容簡介

如果不明確限制文章修訂,WordPress 的修訂版會隨著時間累積成龐大的量。雖然保留部分最新內容的修訂歷史很好,但舊版修訂的必要性隨著文章發佈時間的增加而降低。Revision Strike 設計來自動刪除舊版修訂的發佈文章。

它如何運作?

首先,它會設置一個閾值,預設為 30 天。每天,Revision Strike 將執行並找到數據庫中附加到發佈於至少 30 天(或自訂閾值)之前的文章的文章修訂版本,將其「strike」(拆除並從 WordPress 數據庫中刪除)。

貢獻

如果您想要幫助建立 Revision Strike,請 訪問該外掛的 GitHub 頁面。歡迎貢獻者,有關詳細資訊可以在該存儲庫的 README 文件中找到。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Unless post revisions are explicitly limited, WordPress will build up a hefty sum of revisions over time. While it’s great to have revision history for some recent content, the chances that old revisions will be necessary diminish the longer a post has been published. Revision Strike is designed to automatically remove these unneeded revisions on older, published posts.
How does it work?
First, a threshold is set, with a default of 30 days. Once a day, Revision Strike will run and find any post revisions in the database attached to published posts with a post date of at least 30 (or your custom threshold) days ago, and “strike” (tear-down and remove) them from the WordPress database.
Contributing
If you’d like to help build Revision Strike, please visit the plugin’s GitHub page. Contributors are welcome, and details can be found in the repo’s README file.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon