WordPress Trash Is Coming

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 wp-config.php.
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” .

Comments are closed.


  1. Trisha Cupra

    Cool. This is certainly a handy feature to have. I hate anything that permanently deletes things forever. It’s so… undo-able. :o)

  2. Otto

    I’m extremely happy about this feature, as its existence is pushing for the introduction of standardized comment-metadata, which is something I’ve wanted for a long, long time.

  3. Emanuele

    Seems really useful. Thanks for showing it up! 😉

  4. Tomas Kapler

    btw will be any user rights for this? Because what i hate now is that autor can create article, admin can publish it, but author then can change it / delete it … without admin permision. I think it should be so that author can change it, but this change goes as revision and then admin must publish this revision

5 pingbacks

  1. Wordpress 2.9 con papelera de reciclaje | aNieto2K
  2. Wordpress 2.9 con papelera de reciclaje : Blogografia
  3. WordPress 2.9 incluirá una papelera de reciclaje | Ayuda WordPress
  4. Adelantos WP: La versión 2.9 traerá papelera | Summarg
  5. Wordpress 2.9 Coming Soon – Features, Tips and Screenshots