跳到内容

Extend Revisions for Custom Fields and Taxonomies

v2024.10.17

Dennis Bareis · 2023年5月9日 上架

WordPress revisions do not normally include custom fields or taxonomies. This plugin extends revisions to include taxonomies and custom fields from PO …

正在使用
30+
评分
5.0 / 5
累计下载
2,041
最近更新
2024年10月23日
1 条评价需要 WordPress 6.1+已测试到 6.6.12PHP 7.4+

贡献者

截图

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

WordPress revisions do not 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.

Try it out
Try it for free at TasteWP

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums