Title: WP Revised Status
Author: yivi
Published: <strong>2015 年 7 月 22 日</strong>
Last modified: 2016 年 8 月 9 日

---

搜索插件

![](https://ps.w.org/revised-publishing-status/assets/banner-772x250.jpg?rev=1249868)

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

![](https://s.w.org/plugins/geopattern-icon/revised-publishing-status_f1f0f1.svg)

# WP Revised Status

 作者：[yivi](https://profiles.wordpress.org/yivi/)

[下载](https://downloads.wordpress.org/plugin/revised-publishing-status.zip)

 * [详情](https://cn.wordpress.org/plugins/revised-publishing-status/#description)
 * [评价](https://cn.wordpress.org/plugins/revised-publishing-status/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/revised-publishing-status/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/revised-publishing-status/#developers)

 [支持](https://wordpress.org/support/plugin/revised-publishing-status/)

## 描述

Sometimes it would be useful to track changes in publishing status throughout time,
but native WP revisions will always inherit the parent’s publishing status.

This plugin enables saving the post status (‘published’, ‘draft’, ‘pending’, etc)
with each revision, so you can track publishing status where you have many users
and accountability is desirable.

#### Available Hooks

    ```
    wp-revised-status_tracked-posttypes
    ```

You can use this to set up posttypes to track without using the options page. Your
function should return an associative array.

E.g.:

    ```
     add_filter( 'wp-revised-status_tracked-posttypes', function( $enabled ) {
     $enabled['post'] = 1;
     $enabled['page'] = 1;

     return $enabled;
     }


    wp-revised-status_untracked-posttypes
    ```

Exactly the inverse of the previous hook. ** What you disable on this hook takes
precedence to what you enable in the `tracked_posttypes` one.

E.g.:

    ```
    function my_plugin_no_history( $disabled ) {
        $disabled['page'] = 1;

        return $disabled;
    }
    add_filter( 'wp-revised-status_untracked-posttypes', 'my_plugin_no_history' );


    wp-status-revised_disable-options
    ```

If you are using the plugin inside a theme or another plugin, and want to disable
the options page, you can just do:

    ```
    add_filter( 'wp-status-revised_disable-options', '__return_true' )
    ```

#### GitHub

Github repository at plugin at https://github.com/yivi/wp-revised-status

## 屏幕截图

[⌊The new revision status metabox⌉⌊The new revision status metabox⌉[

The new revision status metabox

[⌊Options page to enable publishing status history for registered post types.⌉⌊Options
page to enable publishing status history for registered post types.⌉[

Options page to enable publishing status history for registered post types.

## 安装

 1. Unzip plugin’s files in a folder inside `/wp-content/plugins/` directory
 2. 通过WordPress的的“Plugins”菜单激活插件

## 常见问题

  Where is published information saved?

An entry will be created on your post_meta for each revision, that will be deleted
whenever a revision is deleted.

  Are custom post types supported?

Any post type properly registered is supported. You need to enable support for any
post type either through the settings page or using the appropriate filters.

  Are custom post statuses supported?

Any custom post type registered should work… but let me know if it doesn’t. 🙂

  Does this work with PHP < 5.3?

No, sorry. PHP5.3 at a minimum, but at least 5.4 is recommended.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Revised Status」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ yivi ](https://profiles.wordpress.org/yivi/)

[帮助将「WP Revised Status」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/revised-publishing-status)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/revised-publishing-status/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/revised-publishing-status/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/revised-publishing-status/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/revised-publishing-status/)。

## 更新日志

#### 0.8.1

 * Inline documentation in settings page
 * Show which settings have been set via filter hooks, and disable the gui for those.

#### 0.7.0

 * Minor refactoring of main plugin classes

#### 0.6.2

 * Minor packaging fixes

#### 0.6

 * Initial public release

## 额外信息

 *  版本 **0.8.6**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.6.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/revised-publishing-status/)
 * 标签
 * [revisions](https://cn.wordpress.org/plugins/tags/revisions/)
 *  [高级视图](https://cn.wordpress.org/plugins/revised-publishing-status/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/revised-publishing-status/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/revised-publishing-status/reviews/)

## 贡献者

 *   [ yivi ](https://profiles.wordpress.org/yivi/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/revised-publishing-status/)