[wp-hackers] Trash Emptying Too Fast

David Morris dvmorris at gmail.com
Wed Sep 29 16:34:43 UTC 2010


Hmm, that's a good point. I will look into that. We were having
problems with multiple web server timestamps being out of sync, but
I'll check again and make sure nothing else is going on.

Thanks for your help,

Dave

On Wed, Sep 29, 2010 at 12:08 AM, Otto <otto at ottodestruct.com> wrote:
> On Tue, Sep 28, 2010 at 10:49 PM, David Morris <dvmorris at gmail.com> wrote:
>> I had some bloggers complain that after upgrading to 3.0 their blog
>> post and comment trash cans are getting emptied faster than 30 days.
>> We have only been live on the 3.0 platform for 5 days, so I just
>> wanted to see if anyone out there has experienced any issues like
>> this. Here is a quote from one blogger:
>>
>> - We noticed the trash on blogs is getting emptied very quickly,
>> making it difficult to monitor blog comments.
>> - I'm pretty sure that before the v.3.0.1 upgrade, trash got emptied
>> no sooner than 30 days after an item (post or comment) was dumped
>> there.
>>
>> Any ideas why they might be experiencing early trash emptying like
>> this? I first suspected that an mu-plugin was the culprit, but I don't
>> see any code in our entire source tree that references
>> EMPTY_TRASH_DAYS other than the core WP code that sets it to 30.
>
> The webserver's time() is actually being used to determine how old the
> data is, which triggers when the trash gets emptied. Are you sure the
> server isn't getting its time reset to some wrong value every so
> often?
>
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Dave Morris
http://dave.showviz.net/
http://3dcamphouston.com/


More information about the wp-hackers mailing list