• Resolved inesm

    (@inesm)


    Hi,
    I was looking in Forum about disabling Auto Draft and Post Revision.
    I only found old suggestion, I’m running WP 4.4.2 at the moment.

    I’ve already set in wp-config.php the following code:

    define( 'WP_POST_REVISIONS', false );
    define( 'AUTOSAVE_INTERVAL', 86400 ); // seconds (Default: 1 day)

    It doesn’t work.

    Is anyone there with a solution “effectively working”?
    Thanks
    Ines

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    I don’t know where you placed these snippets in wp-config.php

    Try adding this to your active theme’s wp-config.php file above the
    /* That’s all, stop editing! Happy blogging. */ line

    Thread Starter inesm

    (@inesm)

    Thank for your suggestion.
    Of course, I added the code in the file wp-config.php, and in the right position (above /*That’s all ecc. */)

    Moderator t-p

    (@t-p)

    Then should work.

    They work just fine in my wp-config.php

    To rule out any theme/plugin specific conflict, try:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder).
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter inesm

    (@inesm)

    I tried in an other site and it worked, setting the codes in wp-config.php such as I mentioned above (define… revisions and autosave interval ecc).
    Thank for you help, Tara.
    Ines

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disabling effectively Auto Draft and Post Revision’ is closed to new replies.