[wp-hackers] Retain Meta Data on Status Change

Peter Westwood peter.westwood at ftwr.co.uk
Thu Jan 1 16:13:32 GMT 2009

On 1 Jan 2009, at 05:41, Aaron Axelsen wrote:

> Is there an easy way for a post to retain the meta data on status
> change?  I'm trying to have my plugin retain a meta tag when it is  
> being
> changed from future to published - or published to draft.  The meta  
> data
> seems to get removed on status change.

Are you ending up with the meta data associated with the revision  
rather than the main post?

Peter Westwood

More information about the wp-hackers mailing list