WordPress.org

Ready to get started?Download WordPress

Forums

Allow deactivation of automatic trash emptying (1 post)

  1. weizenspreu
    Member
    Posted 4 years ago #

    I don't like the trash to be emptied automatically after X days. Therefore I've looked how to add the possibility to activate the trash while deactivating the automatic emptying.

    Only minor changes are needed which I haved posted on my blog:
    http://weizenspr.eu/2010/wordpress-trash-ohne-automatische-leerung/

    An automatic Google translation of the entry can be found here (please beware that the Google translator likes to break translated source code):
    http://weizenspr.eu/en/2010/wordpress-trash-ohne-automatische-leerung/

    After applying the patch the following holds true for the EMPTY_TRASH_DAYS value:
    bigger than zero: number of days after which entries are automatically deleted from the trash
    equal to zero: the trash is deactivated as a whole
    smaller than zero: the trash is active but the entries will not be deleted automatically

    With kind regards,
    Kenny

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.