WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Disabled post revisions and AutoSave Interval – But WP disobeys

[Resolved] Disabled post revisions and AutoSave Interval – But WP disobeys

  • Tara
    Participant

    @t-p

    1. I have added this function to my functions.php (child theme -Twenty Ten)to disble post revions:
    define('WP_POST_REVISIONS', 'false');

    2. And I have added this function to change the AutoSave Interval from the default 60 seconds to 9999 seconds:
    define('AUTOSAVE_INTERVAL', 9999 );

    BUT THE WP DISOBEYS BOTH! That is, I still see autosave at 60 seconds as well as all revions saved in my dasbboard below the post editor.

    Is this a bug? Does anybody else has observed this in your WP? If it’s just me, then what Iam doing wrong?

    Thanks guys.

Viewing 1 replies (of 1 total)
  • Tara
    Participant

    @t-p

    these codes

    define('WP_POST_REVISIONS', false);

    define('AUTOSAVE_INTERVAL', 9999 );

    go in the wp-config.php.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Disabled post revisions and AutoSave Interval – But WP disobeys’ is closed to new replies.