[wp-hackers] Data recovery
Kimmo Suominen
kimmo+key+wordpress.c4f53f at suominen.com
Sat Feb 11 21:44:45 GMT 2006
On Sat, Feb 11, 2006 at 09:37:26PM +0000, David House wrote:
> On 11/02/06, Podz <podz at tamba2.org.uk> wrote:
> > Users are used to a recycle bin, and gearing WP toward multiple users it
> > would seem a decent option to be able to recover anything deleted within
> > a timescale set by the blog owner.
> > As usual I haven't the slightest clue how to do it, but I would imagine
> > such a feature would be well received.
>
> Another use for an integrated cron. Once a week/month, we could just
> garbage-collect on a wp-trash table.
Rather than copy data around in the database, using flag fields would
be more efficient. Also makes it possible to recover to the same ID,
since the data never leaves the table until garbage collect time.
Best regards,
+ Kimmo
--
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
More information about the wp-hackers
mailing list