[wordpress插件] Better Revisions更好的修订

wordpress 插件 文章 2020-03-04 04:20 532 0 全屏看文

AI助手支持GPT4.0

评分
90
描述

Revisions are a main part of every content management system.

修订是每个内容管理系统的主要部分。

Normal wordpress revisions only containing the title, content and excerpt.

正常的wordpress修订版仅包含标题,内容和摘录。

And WordPress by itself will only add a new revision, when one (or more) of these three fields were changed.

当这三个字段中的一个(或多个)发生更改时,WordPress本身只会添加一个新修订。

This means, if someone only changes the permalink for example, then WordPress doesn’t add any revision.

这意味着,例如,如果某人仅更改了永久链接,则WordPress不会添加任何修订。

And if someone changes the content and maybe the author, then WordPress adds a revision, but only with the old content – the author change will be lost.

而且,如果有人更改了内容(可能是作者),那么WordPress将添加一个修订,但仅包含旧内容–作者更改将丢失。

For small blogs this will be ok, but what’s about multi-author websites or blogs?

对于小型博客来说,这没问题,但是关于多作者网站或博客呢?

I wrote this small plugin for you – for a better revision management in multi-author blogs and sites, for better monitoring the changes of every site, post or custom-post-type and finally for better restoring older revisions.

我为您编写了这个小插件–以便在多作者博客和网站中更好地管理修订版,更好地监视每个网站,帖子或自定义帖子类型的更改,并最终更好地还原旧版本。

p>

>

So, this plugin adds following fields to the revision system:

因此,此插件将以下字段添加到修订系统:

    • The Author
    • 作者

    • Post Date
    • 发布日期

    • Permalink
    • 固定链接

    • Post Status
    • 发布状态

    • Post Password
    • 发布密码

    • Comment Status
    • 评论状态

    • Ping Status
    • Ping状态

    • Post/Page Parent
    • 帖子/页面父级

    • Menu Order
    • 菜单顺序

    • more to come
    • 更多未来

    This Plugin also adds a new revision, if only one of the fields above were changed.

    如果仅更改了以上字段之一,则此插件还会添加一个新修订。

    And it works with automated post/page saves (to the server) too.

    它也可以与自动的帖子/页面保存(到服务器)一起使用。

    But I have disabled the client side autosave – becaus on multi-author blogs/sites these function makes no sense and confuses authors more than it helps.

    但是我禁用了客户端的自动保存功能-因为在多作者博客/站点上,这些功能没有任何意义,并且使作者感到困惑,而无济于事。

    But the autosave to the server works perfectly well with all of the fields above added.

    但是,自动添加到服务器与上面添加的所有字段都可以很好地工作。

    If you want to restore a revision, the fields above will restored too.

    如果要还原修订,以上字段也将还原。

    And in case of deleting a post/page, than all revision with all fields above will be deleted too – for a smaller and cleaner database.

    而且,在删除帖子/页面的情况下,也将同时删除具有以上所有字段的所有修订版-对于更小更整洁的数据库。

    No further configuration is needed, the plugin doesn’t add any database tables rather saves additional revision data to post-meta and works with custom-post-types too.

    无需进一步配置,该插件无需添加任何数据库表,而是将其他修订数据保存到后元数据中,并且也可以使用自定义后类型。

    It’s translation ready and allready translated into german.

    它已经准备好翻译,并且已经翻译成德语。

    Gutenberg support was added

    添加了古腾堡支持

    Now it works with the new Block-Editoe (Gutenberg) and the old Classic-Editor (tinyMCE).

    现在,它可以与新的Block-Editoe(Gutenberg)和旧的Classic-Editor(tinyMCE)一起使用。

安装步骤

    1. Upload the better-revisions folder to the /wp-content/plugins/ directory
    2. better-revisions 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the Better Revisions plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活“更好的修订”插件

    5. No further configuration is needed
    6. 不需要进一步的配置

下载地址
https://downloads.wordpress.org/plugin/better-revisions.0.3.zip
-EOF-

AI助手支持GPT4.0