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

Nuno Morgadinho nuno.morgadinho at gmail.com
Mon Apr 23 23:23:39 UTC 2012


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?

I saw there is a filter '_wp_post_revision_fields' but according to
ticket #13382 it won't do because this runs only once.

Any other approaches I can take? Hints?

Thanks,
-- 
Nuno Morgadinho
http://www.morgadinho.org
http://twitter.com/morgadin


More information about the wp-hackers mailing list