[wp-trac] [WordPress Trac] #20564: Framework for storing revisions of Post Meta

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 28 08:51:36 UTC 2012


#20564: Framework for storing revisions of Post Meta
-------------------------+-----------------------------
 Reporter:  alexkingorg  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Revisions    |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 There are a couple of tickets that would seem to benefit from storing
 revisions of post meta (#11049, #20299). We had a need for this feature in
 our Carrington Build and RAMP products and built it a few years back.

 It handles the storing of post meta along with revisions, as well as
 restoring those revisions when someone restores an older version of a
 post(/page/etc.). There is an API for registering the post meta keys you
 want to track revisions of, it does not track all post meta keys by
 default.

 There are two versions of the code. The bare-bones revisions framework
 code is here:

 https://github.com/crowdfavorite/wp-revision-manager [[BR]]
 https://github.com/crowdfavorite/wp-revision-manager/blob/master/cf-
 revision-manager.php

 while I started adding features to a version that would be more user-
 friendly plugin, allowing the users to select which post meta keys they
 want to track revisions for:

 http://plugins.svn.wordpress.org/revision-manager/ [[BR]]
 http://plugins.svn.wordpress.org/revision-manager/trunk/cf-revision-
 manager.php

 If this would be a valuable addition to core, I'd be happy to help polish
 this up in whatever manner is most helpful. I'd recommend breaking out the
 code I started on for the admin form and having that be the extent of the
 "revision manager" plugin - basically it becomes a nicer UI for selecting
 additional post meta keys to track revisions for.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20564>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list