[wp-hackers] Data recovery (post_status?)
Mark Jaquith
mark.wordpress at txfx.net
Sun Feb 12 10:18:59 GMT 2006
On Feb 12, 2006, at 5:11 AM, David House wrote:
> * We lose all indication of what the post/comment/user etc was before.
> If you delete a draft then restore it it should restore to a draft,
> similarily with posts
Could use postmeta to store the old value.
> Personally, I'm a fan of prepending some character that doens't
> normally appear in slugs, like a period.
You mean, like going from `post_status` = 'draft' to `post_status` =
'.draft' ? That way you could imply "trash" and "where was it
originally" in one go.
--
Mark Jaquith
http://txfx.net/
More information about the wp-hackers
mailing list