This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

I want to disable post revisions. Having some issues .

Resolved 2 replies developergeneral
8 years ago · Last reply by alexander biscajin 8 years ago

I have use this code exactly same from the tutorial i have seen https://www.wpblog.com/disable-limit-wordpress-post-revisions/ but still having some issues as it’s not working properly or might be i am doing something wrong. Can anyone help me to disable the post revisions ?

define('AUTOSAVE_INTERVAL', 300);
define('WP_POST_REVISIONS', false);
define('WP_DEBUG" false);

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Alex S Staff 8 years, 2 months ago

    Hi Alexander,

    There’s an error with the provided code:

    define('WP_DEBUG" false);
    

    Should be:

    define('WP_DEBUG' false);
    

    Regardless, can you please elaborate on the issues you’re facing?

  2. alexander biscajin 8 years, 1 month ago

    Hey Alex, Thanks it works. Cheers :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread