[wp-trac] [WordPress Trac] #11209: Problem when Trash is disabled when something is already trashed
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 26 14:22:32 UTC 2009
#11209: Problem when Trash is disabled when something is already trashed
--------------------------+-------------------------------------------------
Reporter: sirzooro | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Trash | Version: 2.9
Severity: normal | Keywords: has-patch 2nd-opinion
--------------------------+-------------------------------------------------
Changes (by caesarsgrunt):
* keywords: needs-patch => has-patch 2nd-opinion
Comment:
The patch resolves the issue by ''immediately'' emptying the trash when
trash is disabled, rather than waiting until the next scheduled emptying
(which could be up to 24 hours).
The patch also unschedules trash emptying when trash is disabled, so as
not to waste resources.
Not sure that this immediate deletion is really necessary, but it does
"fix" the "problem" described above where trash remains in the DB for up
to 24 hours after setting EMpTY_TRASH_DAYS to 0.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11209#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list