WordPress.org

Support

Support » How-To and Troubleshooting » Clear post version’s hisotry

Clear post version’s hisotry

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clear post version’s hisotry’ is closed to new replies.
Skip to toolbar