跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Extend Revisions for Custom Fields and Taxonomies

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Extend Revisions for Custom Fields and Taxonomies

作者:Dennis Bareis
下载
  • 详情
  • 评价
  • 开发进展
支持

描述

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.

屏幕截图

  • 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?

Dennis Bareis 2023 年 5 月 9 日
Just getting the ball rolling 🙂
阅读所有1条评价

贡献者及开发者

「Extend Revisions for Custom Fields and Taxonomies」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Dennis Bareis

帮助将「Extend Revisions for Custom Fields and Taxonomies」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

社区插件

该插件由社区开发和支持。

额外信息

  • 版本 2024.10.17
  • 最后更新:1 年前
  • 活跃安装数量 30+
  • WordPress 版本 6.1 或更高版本
  • 已测试的最高版本为 6.6.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    custom fieldsmeta datarevisions
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

添加我的评价

查看全部评论

贡献者

  • Dennis Bareis

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.