Disabling WordPress Autosave – it worked for me !

I faced some troubles after installing wp on my webspace. Since its a free webspace, the provider seems to append his javascripts to some of my pages. This caused problems when used with the autosave feature of wp. So i had to disable it.

Here is how its done :

In both /wp-admin/post-new.php and /wp-admin/page-new.php, insert “//” (without the quotes) at the beginning of this line (currently line 8):

wp_enqueue_script('autosave');

In /wp-admin/post.php, insert “//” (without the quotes) at the beginning of this line (currently line 63):

wp_enqueue_script('autosave');

In /wp-admin/page.php, insert “//” (without the quotes) at the beginning of this line (currently line 58):

wp_enqueue_script('autosave');

Then… tadaa.. the problem get solved!

HTH 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: