跳至主要內容
  • 登入
  • 註冊
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛目錄

  • 我的最愛
  • Beta 版測試
  • 開發者資訊
下載

Extend Revisions for Custom Fields and Taxonomies

由 Dennis Bareis 開發
  • 詳細資料
  • 使用者評論
  • 開發資訊
技術支援

外掛說明

WordPress revisions don’t normally include custom fields or taxonomies. This plugin extends revisions to include taxonomies and custom fields from PODS etc, allowing previous states to be captured, compared & restored as expected.

Usage

There is no user interface, once installed and activated it will start
capturing custom field and taxonomy information. The rest is stock WordPress revision functionality, except that this plugin formats the extra data into an easy to read format for display in the comparison screens.

The look for the compare screens can be changed in “settings.ini” (including turn off or changing the CSS used).

Features

  • Taxonomies are saved as metadata with a key such as “$TAXONOMY:light_conditions” for the “light_conditions” custom category. The values are a list of “ID=Name” pairs. These would generally sort to the top (or close to it).

  • WordPress limits how the data is presented in the “Compare Revisions” screen, so the data is displayed as an alphabetically sorted list of fields and their values.

  • You can filter out metadata keys with one or more regular expressions if you don’t care about their values. Filtered out metadata is not saved, displayed or restored.

  • Some CSS is applied to the WordPress “Compare Revisions” screen which I believe makes it easier to understand, however you can disable this by renaming or deleting the CSS file (or adjusting “settings.ini”).

  • The unicode characters also make the output easier to read and you can change their values or remove them via “settings.ini”. For example, you can tell the difference between a repeating field and a single field with many lines.

  • Note that the “Restore This Revision” button restores what is on the right hand column and explains why it is greyed out for the last revision slot.

Reporting Issues
Please turn on both “debug” and “info” in settings, perform the failing
operation, and include the php log (part or all, if later specify the problem’s time as per the log)…
Please provide screenshots if possible.

螢幕擷圖

  • Example of "settings.ini" configuration.
  • This shows what comparing revisions looks like with the DEFAULT CSS and options.

使用者評論

Possibly the only plugin that supports taxononomy revisions?

dbareis 2023 年 5 月 9 日
Just getting the ball rolling 🙂
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Extend Revisions for Custom Fields and Taxonomies〉的開發相關工作。

參與者
  • dbareis

將〈Extend Revisions for Custom Fields and Taxonomies〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

社群版外掛

這個外掛由社群人員開發及提供技術支援。

中繼資料

  • 版本: 2023.05.09
  • 最後更新: 5 個月前
  • 啟用安裝數: 10+
  • WordPress 版本需求: 6.1 或更新版本
  • 已測試相容的 WordPress 版本: 6.2.2
  • PHP 版本需求: 7.4 或更新版本
  • 語言:
    English (US)
  • 標籤:
    custom fieldsmeta datarevisions
  • 進階檢視

評分

檢視全部
  • 5 星 1
  • 4 星 0
  • 3 星 0
  • 2 星 0
  • 1 星 0
登入以提交評論

參與者

  • dbareis

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 贊助基金會
  • 紀念品
  • 技術支援
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛目錄
  • 佈景主題目錄
  • 區塊版面配置目錄
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Taiwan 正體中文

  • 造訪我們的 Facebook 粉絲專頁
  • 造訪我們的 Twitter 帳號
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
程式碼,如詩