WordPress.org

Ready to get started?Download WordPress

Forums

Empty Trash (9 posts)

  1. Steve
    Member
    Posted 4 years ago #

    Is anyone else having problem when it comes to emptying Trash? I had 12 posts in there and it took about 3 minutes to delete them.

  2. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    I thought it was kinda slow so I limited time to hold Trash - http://techie-buzz.com/how-to/disable-or-limit-trash-function-in-wordpress-29.html

  3. Steve
    Member
    Posted 4 years ago #

    Well its a solution in that it does it automatically (I guess it does via the cron) but it doesn't address the problem that delete is really slow.

    I might, if I get time and have the motivation, put some debug in and see just what is so slow.

  4. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    SteveAtty, I'm guilty of taking the path of least resistance :-)
    I put in a 3 day limit in WPMU installs and disabled trash feature completely in some WP blogs.

  5. Steve
    Member
    Posted 4 years ago #

    Well I dont blame you but its silly

    2 minutes and 36 seconds to delete 8 posts.

    The odd thing is that mysql and apache are sitting there doing nothing.

  6. Steve
    Member
    Posted 4 years ago #

    I think its plugins doing odd things.

  7. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    Could be plugins, SteveAtty. Or could be Google Gears if you're using Firefox version less than 3.5.

  8. Steve
    Member
    Posted 4 years ago #

    It was a plugin - it had a delete post hook and it was getting fired for each deletion, even for the draft posts.

  9. rabmaster
    Member
    Posted 4 years ago #

    Which plugin was it causing you the problem? My trash deletion is ludicrously slow - hadn't thought to check the plugins. I will try turning off all plugins and see if it improves, but some of them are fairly essential!

    It is important, for example, that the sitemap is rebuilt, or the cache refreshed if a post is removed for obvious reasons, however, if it was a draft (or trash) post, then this is obviously something that isn't required.

    The trash feature for me seems unnecessary in any case - the nag box was enough to prevent accidental deletion IMO. Rather frustrating. It is slower to delete a post than to trash it, even if I switch off trash altogether, though I assumed this was because deleting takes longer than trashing?

Topic Closed

This topic has been closed to new replies.

About this Topic