Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Trash status

Effect of setting EMPTY_TRASH_DAYS to -1

This article should include another common integer value for constants: -1.

Setting EMPTY_TRASH_DAYS to 0 may disable the Trash functionality, but what does -1 do? Does it make items that have been trashed remain in the database without ever being permanently deleted?

(0 probably should be the "unlimited" option and -1 or false be "disable trash", but that sort of talk doesn't belong here. ;-)

Voyagerfan5761[Talk/en.wp] 20:16, 9 November 2010 (UTC)