[WordPress] 外掛分享: WP Revisions Control

首頁外掛目錄 › WP Revisions Control
40,000+
安裝啟用
★★★★
4.7/5 分(13 則評價)
258 天前
最後更新
問題解決
WordPress 3.6+ PHP 5.6+ v1.4.4 上架:2013-07-01

內容簡介

WordPress 3.6 允許使用者控制每一個支援的文章類型儲存多少個版本的修訂記錄。你再也不必依賴 WP_POST_REVISIONS 常數,因為它是全域性的。這個外掛提供了一個介面,讓你可以使用這個新功能。

啟用這個外掛後,在 "設定 > 撰寫" 中,你可以為每個文章類型指定要保留的修訂版本數。

這有什麼好處呢?修訂版本存在資料庫中,如果存在大量的修訂版本,可能會造成資料庫充滿垃圾資訊,進而導致查詢速度變慢,對效能造成顯著的影響。留存修訂版本的價值也取決於何種類型的文章在追蹤。例如,我可能想儲存我所編寫的每篇文章的每個修訂版本,但只想要在我的網站上保留每頁最新的五個版本。從 WordPress 3.6 開始,這個控制權就被提供了。WordPress 無法提供原生介面來指定修訂版本的數量,所以我寫了這個快速的外掛來處理這個問題。

感謝 Maria Ramos 在 WebHostingHub 的幫助下,這個外掛現在也提供西班牙文。非常感謝她的努力!

開發位於 https://git.ethitter.com/wp-plugins/wp-revisions-control。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WordPress 3.6 allows users to control how many revisions are stored for each supported post type. No longer must you rely on the WP_POST_REVISIONS constant, which applied universally. This plugin provides an interface for this new functionality.
With this plugin enabled, simply visit Settings > Writing to specify the number of revisions retained for each post type.
Why is this helpful? Revisions are stored in the database, and if many are stored, can cause bloat. This bloat may lead to slower queries, which can have a noticeable performance impact. The value of these revisions also depends on what is being tracked. For example, I may want to store every revision of the posts I write, but only desire to keep the latest five versions of each page on my site. Starting in WordPress 3.6, this control is available. WordPress doesn’t provide a native interface to specify revisions quantities, so I wrote this quick plugin to do so.
Thanks to Maria Ramos at WebHostingHub, the plugin is also available in Spanish. Many thanks to her for her efforts!
Development is at https://git.ethitter.com/wp-plugins/wp-revisions-control.

延伸相關外掛

文章
Filter
Mastodon