Clear post version's hisotry (4 posts)

  1. apstryk
    Posted 5 years ago #

    Simple question - is there any plugin, tool that clears post's version history?
    Or Is there a method to turn off creating history.

  2. henkholland
    Posted 5 years ago #

    Turn it off by adding these lines in your wp-config.php , beween the existing DB Collate and * /** The Database Collate type. define

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    /** Number of saved revisions; false = 0 */
    define('WP_POST_REVISIONS', 1);
     * Authentication Unique Keys.

    Deleting is more difficult. I don't know a good one.

  3. e7
    Posted 5 years ago #

    This is a good topic, this type of thing should be part of the wordpress admin settings. We should be able to specify the number of revs which are kept in history. For example keep history in the database but only the last 3 versions of the post being updated. I have one main page on my site which has hundreds of revisions since I update it every time I add new content to other places on the site.

  4. e7
    Posted 5 years ago #

    Actually it worked perfect, I just used

    define('WP_POST_REVISIONS', 3);

    Thanks for the helpful info henkholland.

    This should still be something that could be modified through the admin screens within the site though.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.