[WordPress] 外掛分享: Revision Buster

WordPress 外掛 Revision Buster 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Revision Buster」是 2025-01-04 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-01-05,距離現在已有 119 天。
  • 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

hilayt24 | sabbir1991 |

內容簡介

總結:這個 WordPress 外掛提供了定時清理歷史修訂、全域清理和編輯設定等功能,同時支援自訂清理排程和快取管理提升效能。

問題與答案:
1. 這個外掛提供了哪些清理功能?
- 選擇性修訂清理:可選擇特定文章或頁面刪除修訂版本。
- 全域清理:一鍵刪除所有文章和頁面的修訂版本。
- 修訂保留:為每篇文章或頁面配置要保留的修訂次數。
- 定時清理:設定自動清理排程(每小時、每天、每週、每月、或每年)。
- 快取管理:有效地快取文章和頁面以優化效能。
- 自訂 Cron 排程:支援月度和年度的 Cron 排程。

2. 在管理員頁面可以做哪些操作?
- 修訂清理設定:管理要保留的修訂次數並設定自動清理排程。
- 單一文章/頁面清理:選擇特定文章或頁面並刪除其修訂版本。
- 全域清理:刪除所有文章和頁面的修訂版本。

3. 什麼是自動清理?如何確保資料庫優化?
- 可以在不同的間隔(每小時、每天、每週、每月、或每年)安排清理任務,以確保資料庫保持最佳狀態。

4. 這個外掛如何管理快取?
- 外掛使用 WordPress 一時性資料來快取所有文章和頁面,以提升在處理大量文章時的效能。

5. 這個外掛的系統需求是什麼?
- 需要 WordPress 5.0 或更高版本。
- 需要 PHP 7.4 或更高版本。

原文外掛簡介

Features

Selective Revision Cleanup: Choose specific posts or pages to delete revisions for.
Global Cleanup: Remove revisions for all posts and pages in one click.
Revisions Retention: Configure the number of revisions to retain for each post or page.
Scheduled Cleanup: Set automated cleanup intervals (hourly, daily, weekly, monthly, or yearly).
Cache Management: Efficiently caches posts and pages to optimize performance.
Custom Cron Intervals: Supports monthly and yearly cron schedules.

Usage
Admin Page

Revision Cleanup Settings: Manage the number of revisions to retain and schedule automated cleanups.
Single Post/Page Cleanup: Select a specific post or page and delete its revisions.
Global Cleanup: Delete revisions for all posts and pages.

Automated Cleanup

Schedule cleanup tasks at intervals (hourly, daily, weekly, monthly, or yearly) to ensure your database remains optimized.

Hooks and Filters
Actions

revision_buster_run_revision_cleanup_cron: Executes the revision cleanup process.
save_post & delete_post: Invalidates cached posts when a post or page is updated or deleted.

Filters

cron_schedules: Adds custom intervals (monthly, yearly) to the WordPress cron schedules.

Technical Details
Cache Management
The plugin uses WordPress transients to cache all posts and pages, improving performance when processing large numbers of posts.
Cleanup Logic

Deletes all revisions for a post while retaining the specified number of recent revisions.
Supports batch processing for scalability.

Requirements

WordPress 5.0 or higher
PHP 7.4 or higher

Roadmap

Add support for custom post types.
Enhanced UI for managing cleanup settings.
Integration with third-party backup plugins.

Contribution
Feel free to submit issues or pull requests on the GitHub repository.
License
This plugin is open-source and licensed under the MIT License.
Acknowledgments
Developed by Hilay Trivedi.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Revision Buster」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Yoast SEO 》Yoast SEO:#1 WordPress SEO 外掛, 自 2008 年以來,Yoast SEO 幫助全球數百萬個網站在搜尋引擎中排名更高。, Yoast 的使命是為所有人提供 SEO 服務。我們的...。
  • Elementor Website Builder – More Than Just a Page Builder 》, 全球超過 1000 萬個網站的領先網站建立平台, Elementor 是專為 WordPress 設計的領先網站建立平台,使網站製作者能夠使用直覺式的視覺建立工具建立專業、像...。
  • Contact Form 7 》Contact Form 7 可以管理多個聯絡表單,並且您可以使用簡單的標記靈活地自訂表單和郵件內容。此表單支援 Ajax 提交、CAPTCHA、Akismet 垃圾郵件過濾等功能。,...。
  • Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
  • WooCommerce 》p>WooCommerce是全球最受歡迎的開源電子商務解決方案之一,擁有世界上最多的市場份額。, 我們的核心平臺是免費的、靈活的,並擁有全球社區的支持。開源的自由...。
  • LiteSpeed Cache 》LiteSpeed Cache for WordPress(LSCWP)是一種全方位的網站加速外掛,包括獨家的伺服器層快取和一系列的優化功能。, LSCWP 支援 WordPress Multisite 及大多...。
  • WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More 》f="https://wpforms.com/features/pre-built-form-templates/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin" rel="friend nofollow u...。
  • Akismet Anti-spam: Spam Protection 》Akismet會檢查您的評論和聯繫表單提交,將它們與全球垃圾郵件數據庫進行比對,以防止站點發佈惡意內容。您可以在部落格的“評論”管理畫面中檢查評論垃圾郵件的...。
  • Wordfence Security – Firewall, Malware Scan, and Login Security 》fective way to manage multiple WordPress sites with Wordfence installed from a single location., Monitor security status across all your sites from...。
  • Site Kit by Google – Analytics, Search Console, AdSense, Speed 》Site Kit是Google官方的WordPress外掛程式,提供有關人們如何尋找和使用您的網站的洞察。Site Kit是一站式解決方案,可部署、管理並獲取關鍵Google工具的見解...。
  • All-in-One WP Migration and Backup 》orage providers such as Dropbox, Google Drive, Amazon S3, and more, making it easy for you to securely store and access your website backups at any...。
  • WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin 》WordPress Mail SMTP外掛, 如果您的WordPress網站無法正確發送電子郵件,您並不孤單。超過三百萬個網站使用WP Mail SMTP可靠地發送電子郵件。, 我們的目標是...。
  • Really Simple Security – Simple and Performant Security (formerly Really Simple SSL) 》le Plugins include Complianz GDPR, Disable Updates Manager, and Really Simple CAPTCHA., , Really Simple SSL是一個外掛,自動配置你的網站最大程度上使...。
  • Jetpack – WP Security, Backup, Speed, & Growth 》search engines, and grow your traffic with Jetpack. It’s the ultimate toolkit for WordPress professionals and beginners alike., , Customize and des...。
  • Yoast Duplicate Post 》這個 WordPress 外掛可以讓使用者複製任何類型 (type) 的文章,或將其複製到新的草稿 (draft) 以供進一步編輯。, 使用方法:, , , 在「編輯文章」或「編輯頁...。

文章
Filter
Apply Filters
Mastodon