Forums

How to Disable WordPress Revisions (3 posts)

  1. ggggqqqqihc
    Member
    Posted 2 years ago #

    WordPress has an annoying "history revisions" function. It generates lots of rubbish in the database. So many people want to disable it. There are some plugins which attempt to solve the problem but the doesn't work well or need to disable autosave feature...

    I found a better method that can disable 'revisions' and no effect on autosave. Please go to my blog and see the details: How to Disable WordPress Revisions (No Plugin).

  2. mrmist
    Forum Janitor
    Posted 2 years ago #

    Or you can just stick

    define(’WP_POST_REVISIONS’, false);

    In your wp-config.

  3. ggggqqqqihc
    Member
    Posted 2 years ago #

    @mrmist : define('WP_POST_REVISIONS',false) doesn't work when autosave is enabled. I don't want to disable autosave.

Topic Closed

This topic has been closed to new replies.

About this Topic