WordPress 2.9 Gets Recycle Bin!!!

wordpress 2.8 trashThe common problem faced by most blogger when using WordPress, is the accidental deletion of posts which they find it impossible to undo… WordPress in its latest version 2.9 has included the trash functionality similar to the recycle bin..

Recycle Bin function will work in the similar way as it does in an operating system. A users who intentionally or accidentally deletes a post can easily restore it from thetrash area. All deleted posts are retained for a period of 30 days by default after which they are permanently removed.

WordPress 2.9 gives the users an option to control the Restore Deleted Poststrash bin by editing the wp-config.php file.
The number of days that the trash bin can retain a deleted item before permanent deletion can be changed by using the following settings.

define(‘EMPTY_TRASH_DAYS’, 20); // keep items for 20 days
define(‘EMPTY_TRASH_DAYS’, 0); // Disable feature