[wp-hackers] Post meta revisions

John Blackbourn johnbillion+wp at gmail.com
Tue Nov 30 08:03:10 UTC 2010


On Mon, Nov 29, 2010 at 8:00 PM, Andrew Nacin <wp at andrewnacin.com> wrote:
>
> Metadata cannot be stored for revisions, but we only enforce that on the
> *_post_meta() level. You can still use the *_metadata() functions to add
> metadata to revisions.

Thanks. Before I go digging, if there's post meta data for a
particular revision ID would this meta data be automatically restored
along with the post data if and when that revision is restored? If not
I'll see what hooks we've got in place so my plugin can handle this
itself.

John


More information about the wp-hackers mailing list