[wp-hackers] custom post type revisions that support post meta

Andrew Nacin wp at andrewnacin.com
Fri Apr 27 05:56:12 UTC 2012


On Mon, Apr 23, 2012 at 7:23 PM, Nuno Morgadinho
<nuno.morgadinho at gmail.com>wrote:

> Hi Hackers,
>
> I have a custom post type and I want to enable revisions.
>
> I know that in register_post_type() I can pass in the 'revisions'
> option in the 'supports' array but this doesn't support post meta,
> right?
>

Post meta is not currently revisioned and there is no way via the API to
simply add support for it. You may wish to look at
http://wordpress.org/extend/plugins/revision-manager/.

Nacin


More information about the wp-hackers mailing list