Title: WP-Post-Meta-Revisions
Author: Adam Silverstein
Published: <strong>Disyembre 4, 2014</strong>
Last modified: Hulyo 17, 2023

---

Maghanap ng mga plugin

![](https://ps.w.org/wp-post-meta-revisions/assets/banner-772x250.jpg?rev=1038298)

Ang plugin na ito ay **hindi pa nasusubukan sa pinakabagong 3 major release ng WordPress**.
Maaaring hindi na ito minamantine o sinusuportahan at maaaring may mga isyu sa compatibility
kapag ginamit sa mas bagong bersyon ng WordPress.

![](https://ps.w.org/wp-post-meta-revisions/assets/icon-256x256.png?rev=1038294)

# WP-Post-Meta-Revisions

 Ni [Adam Silverstein](https://profiles.wordpress.org/adamsilverstein/)

[I-download](https://downloads.wordpress.org/plugin/wp-post-meta-revisions.2.0.0.zip)

 * [Mga Detalye](https://tl.wordpress.org/plugins/wp-post-meta-revisions/#description)
 * [Mga Review](https://tl.wordpress.org/plugins/wp-post-meta-revisions/#reviews)
 * [Development](https://tl.wordpress.org/plugins/wp-post-meta-revisions/#developers)

 [Suporta](https://wordpress.org/support/plugin/wp-post-meta-revisions/)

## Deskripsyon

This plugin implements a post meta revisioning feature as arrived at in https://
core.trac.wordpress.org/ticket/20564.

The goal of releasing this code as a plugin is to allow as many people as possible
to easily test the post meta revisioning feature, and also hopefully move towards
inclusion of the feature into core, following the [Features as Plugins](https://make.wordpress.org/core/features-as-plugins/)
model.

Further development of the code for this plugin will continue on its [GitHub repository](https://github.com/adamsilverstein/wp-post-meta-revisions).
Pull requests welcome!

To use this plugin, you must be running WordPress 4.1 or newer, two hooks were added
in 4.1 that are required for this implementation.

To revision a post meta, you add its key via a filter:

    ```
    function add_meta_keys_to_revision( $keys ) {
        $keys[] = 'meta-key-to-revision';
        return $keys;
    }
    add_filter( 'wp_post_revision_meta_keys', 'add_meta_keys_to_revision' );
    ```

Features:

 * Allows for a whitelisted array of ‘revisioned’ meta keys (which can change at
   any time)
 * A revision for the meta is stored on save (if the meta value has changed)
 * A meta revision save (if changed) is also triggered during auto-saves
 * Restoring a revision restores the revisioned meta field’s values at that revision(
   including auto-saves)
 * Supports storing of multiple values for a single key (and restoring them)
 * Adds revisioned meta to the preview data via get_post_metadata
 * Includes unit tests demonstrating feature
 * Travis CI tests integrated with GitHub repository, props @mattheu

## Mga Screenshot

[[

[[

## Mga Review

![](https://secure.gravatar.com/avatar/6cfc8c01f1ea3a75ec6f7dba8f2a014ef4cca4fd63a50fb3c8772e492e472ecc?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work in 6.2, lots of PHP warnings etc](https://wordpress.org/support/topic/doesnt-work-in-6-2-lots-of-php-warnings-etc/)󠁿

 [Dennis Bareis](https://profiles.wordpress.org/dbareis/) Abril 2, 2023

I assume it used to work, didn’t work for me.

![](https://secure.gravatar.com/avatar/35314daa56602a02eb8470bb014971b2b9d090bb75b38792ac1399fb066a2650?
s=60&d=retro&r=g)

### 󠀁[Still working fine](https://wordpress.org/support/topic/still-working-fine-7/)󠁿

 [Marcos Nakamine](https://profiles.wordpress.org/marcosnakamine/) Setyembre 24,
2021

I tested on WP 5.8.1

![](https://secure.gravatar.com/avatar/344653ee76e4fc90cb406062cd8a6fc04977571f5eb09af7ae58736249d65f98?
s=60&d=retro&r=g)

### 󠀁[Freakin' sweet!](https://wordpress.org/support/topic/freakin-sweet/)󠁿

 [Ryan Hellyer](https://profiles.wordpress.org/ryanhellyer/) Setyembre 3, 2016

DUDE! Why did I never think of this before? This is an awesome idea! I haven’t even
installed the plugin and you are getting five stars straight off the bat for solving
a problem I didn’t even know I had. Thanks 🙂

 [ Basahin lahat ng 5 na review ](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/)

## Mga Contributor at Developer

Ang “WP-Post-Meta-Revisions” ay open source software. Ang mga sumusunod na tao ay
nag-ambag sa plugin na ito.

Mga Contributor

 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)

[Isalin ang “WP-Post-Meta-Revisions” sa iyong wika.](https://translate.wordpress.org/projects/wp-plugins/wp-post-meta-revisions)

### Interesado sa development?

[Tingnan ang code](https://plugins.trac.wordpress.org/browser/wp-post-meta-revisions/),
i-check ang [SVN repository](https://plugins.svn.wordpress.org/wp-post-meta-revisions/),
o mag-subscribe sa [development log](https://plugins.trac.wordpress.org/log/wp-post-meta-revisions/)
sa pamamagitan ng [RSS](https://plugins.trac.wordpress.org/log/wp-post-meta-revisions/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * Post meta storage mechanism simplified to use copy approach. This change updates
   the way meta is stored on the revision to mirror the meta on the post it is created
   from. props @aaemnnosttv, see https://github.com/adamsilverstein/wp-post-meta-
   revisions/pull/56.
    NOTE: This is a breaking change – restoring revisions saved
   in the previous format may result in the array of values restored as a single
   value rather than adding a value for each item in the array. The storage of single
   meta values is unaffected.

#### 1.0.0

Tagging release as 1.0.

#### 1.0.0

 * Simplify by no longer storing whitelist per revision.

#### 0.1.9

 * Initial release.

## Meta

 *  Bersyon **2.0.0**
 *  Huling na-update **3 taon ang nakalipas**
 *  Mga aktibong installation **400+**
 *  Bersyon ng WordPress ** 4.1 o mas bago **
 *  Sinubukan hanggang **6.2.9**
 *  Wika
 * [English (US)](https://wordpress.org/plugins/wp-post-meta-revisions/)
 *  [Advanced View](https://tl.wordpress.org/plugins/wp-post-meta-revisions/advanced/)

## Mga Rating

 4.2 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/#new-post)

[Tingnan lahat ng review](https://wordpress.org/support/plugin/wp-post-meta-revisions/reviews/)

## Mga Contributor

 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)

## Suporta

May gusto kang sabihin? Kailangan ng tulong?

 [Tingnan ang support forum](https://wordpress.org/support/plugin/wp-post-meta-revisions/)