I would like to show you briefly what the new function trash is all about.
Users of Gmail are aware of the possibility in a web application: you move content into the trash and the content will be deleted after a certain time. Alternatively, you can also restore the content, always depending on a defined time frame.
WordPress integrates this function also in WordPress 2.9 for articles and comments. Some screenshots showing the function in articles and comments.
The time period is via constant defined, default are 30 days. If you want to change this value, it must be defined in
define( 'EMPTY_TRASH_DAYS', 30 );
For developers, there are two hooks - for articles and comments, where you can intervene.
* @uses do_action() on 'untrash_post' before undeletion
* @uses do_action() on 'untrashed_post' after undeletion
* @uses do_action() on 'untrash_comment' before undeletion
* @uses do_action() on 'untrashed_comment' after undeletion
Otherwise, version 2.9 gets some more advanced features for media, as the users in the last survey decided. These will also be available in the core and thus the system continues to inflate. A pity, in my view that the user does not use the option of "Canonical Plugins" .