WordPress.org

Ready to get started?Download WordPress

Ideas

Stop Auto-Save Draft

  1. drilon
    Member

    12345

    An option to disable Auto-Save Draft...

    Posted: 5 years ago #
  2. Ahmet Topal
    Member

    12345

    There is a chance to make this:
    open with an editor your wp-config.php and add this line:

    define ('WP_POST_REVISIONS', false);

    Then it disables the auto save

    Posted: 5 years ago #
  3. ravenkai
    Member

    This worked for me. Thank you so much! It was a huge help.

    Posted: 5 years ago #
  4. hakan___
    Member

    remove "wp_enqueue_script('autosave');" line from your post-new.php file which is in the wp-admin folder. then your posts will not be autosaved anymore

    Posted: 5 years ago #
  5. megabulk
    Member

    @hakan___ Tried your suggestion and it breaks the "Preview Changes" button on already-published posts and pages, alas.

    Posted: 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    4 Votes
  • Status

    This idea has been implemented

Tags