WordPress Trash Is Coming

post-trash
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.


trash-comment
edit-posts

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” .


Posted

in

by

Comments

9 responses to “WordPress Trash Is Coming”

  1. […] de las funcionalidades que nos podremos encontrar en el nuevo WordPress 2.9 es la posibilidad de usar una papelera de reciclaje. Al igual que en los sistemas operativos, será un lugar en el que el post no aparecerá listado en […]

  2. […] de las funcionalidades que nos podremos encontrar en el nuevo WordPress 2.9 es la posibilidad de usar una papelera de reciclaje. Al igual que en los sistemas operativos, será un lugar en el que el post no aparecerá listado en […]

  3. […] que hizo Windows con Mac OS, en la próxima versión de WordPress, la 2.9, habrá la posibilidad de recuperar posts o comentarios borrados desde la papelera de reciclaje de […]

  4. […] anieto2k me entero que en wpengineer hablan sobre una de las nuevas características de WordPress 2.9: La inclusión de una papelera de […]

  5. Trisha Cupra Avatar

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

  6. Otto Avatar

    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.

  7. Emanuele Avatar

    Seems really useful. Thanks for showing it up! 😉
    Bye,
    Emanuele

  8. Tomas Kapler Avatar

    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

  9. […] For some more developer related information on Trash Status, check WPEngineer’s Post. […]