WordPress Hanging or Freezing   

Mar 20th, 2011 // In: Help, Wordpress // By: Comments 0

I experienced regular hanging when logged into my WordPress blog for over a year. It has been really driving me crazy at times, I tend to work fast and this was simply slowing me down. I never really got close to figuring out what what causing it until today, when I was creating a new Landing Page for Easy CSV Importer. That is something that needs a lot of editing and previewing. While on the Edit Post page I had the Firebug error console open on Mozilla, something I don’t normally do while creating posts.

I finally realised what was causing the hanging and forcing me to “Clear Recent History” in my browser and even restart the browser. Let me be clear that this happens on any browser.

The problem is Auto Save, something performed by admin-ajax.php and you can switch it off.

  1. Find wp_enqueue_script(‘autosave’); in post.php, currently line 177
  2. Comment it out or remove the line i.e two forward slashes at the front //wp_enqueue_script(‘autosave’);
  3. Do the same with post-new.php, currently line 46
  4. the wp_enqueue_script(‘autosave’); is only used once in each file

Leave a Reply

You must be logged in to post a comment.