Disabling autosave in Wordpress


To disable Autosave in Wordpress Follow the below steps

First Option

1.Comment the line wp_enqueue_script(’autosave’) in post-new.php in
wp-admin folder

Note:
1.In case you do n’t know how to comment just put // in front of line.
2.This file will be automatically updated during wordpress update.So you
have to redo this again whenever you do an update.

Second Option
1. Edit wp_settings.php
2. Search for: define( =91AUTOSAVE_INTERVAL=92, 60 );
3. Change to: define( =91AUTOSAVE_INTERVAL=92, 9999999 );

This is a permanent solution for disabling autosave in Wordpress.

This entry was posted on Monday, July 27th, 2009 at 1:15 am and is filed under Wordpress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Post a Comment