[resolved] Disabled post revisions and AutoSave Interval - But WP disobeys (2 posts)

  1. Tara
    Volunteer Moderator
    Posted 4 years ago #

    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.

  2. Tara
    Volunteer Moderator
    Posted 3 years ago #

    these codes

    define('WP_POST_REVISIONS', false);

    define('AUTOSAVE_INTERVAL', 9999 );

    go in the wp-config.php.

Topic Closed

This topic has been closed to new replies.

About this Topic