Support » Fixing WordPress » Empty Trash

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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

    Thread Starter Steve

    (@steveatty)

    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.

    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.

    Thread Starter Steve

    (@steveatty)

    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.

    Thread Starter Steve

    (@steveatty)

    I think its plugins doing odd things.

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

    Thread Starter Steve

    (@steveatty)

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

    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Empty Trash’ is closed to new replies.