[WordPress] 外掛分享: Wonderful Revision Cleaner

首頁 › 外掛目錄 › Wonderful Revision Cleaner
20+
安裝啟用
—
尚無評分
13 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.1 上架:2026-08-12

內容簡介

Wonderful Revision Cleaner 是一款幫助 WordPress 用戶清理文章修訂的外掛。隨著時間推移,WordPress 會儲存每次編輯的修訂版本,這可能會導致資料庫膨脹並影響效能。此外掛提供簡單安全的清理方式,讓用戶能夠設定規則,預覽將被刪除的內容,並進行確認後再執行。

【主要功能】
• 設定保留每篇文章的最新修訂數量
• 刪除超過指定天數的修訂
• 預覽清理結果,確認後再執行
• 提醒用戶備份資料庫
• 使用 WordPress 原生刪除功能,確保資料正確清理
• 支援批次處理並顯示進度條

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

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

原文外掛簡介

Over time WordPress stores a copy of every edit as a post revision. On busy sites this quietly bloats the wp_posts and wp_postmeta tables with thousands of rows you will never look at again — slowing down the database and inflating backups.
Wonderful Revision Cleaner gives you a simple, safe way to clean them up. You decide the rules, preview precisely what would be removed, and only then delete.
Two cleanup rules

Keep newest revisions per post — keep only the N most recent revisions of each post and remove the rest (for example, keep 5).
Delete revisions older than X days — remove any revision older than a chosen age (for example, 30 days).

Each rule has its own checkbox and both can be combined: a revision is removed as soon as at least one enabled rule applies. With no rule enabled, nothing can be deleted at all.
Safety first

Dry run / preview — before anything is deleted, the preview shows exactly how many revisions match, how many posts are affected, and how many revision metadata (postmeta) and term-relationship rows would be cleaned up. Nothing is touched until you explicitly confirm.
Backup reminder — the tool reminds you to back up your database, because deleting revisions is permanent and can only be undone from a backup.
WordPress-native deletion — revisions are removed through the official wp_delete_post_revision() function, which also cleans up their metadata correctly. There are no raw DELETE queries against your tables.
Batched with a progress bar — very large sites are cleaned up in automatic batches so a single request never runs away; a progress bar runs the whole job to completion without freezing your browser. (If JavaScript is disabled, it falls back to one batch per click.)

It is the ideal maintenance tool for blogs, magazines, and any content-heavy WordPress site that has accumulated years of revisions.

延伸相關外掛

文章
Filter
Mastodon