WordPress.org

Ready to get started?Download WordPress

Forums

Post Revisions (2 posts)

  1. A2JC4life
    Member
    Posted 1 year ago #

    Why is it the WordPress default to save infinite post revisions? And can we get an option to limit this in dashboard settings in the future, rather than have to resort to coding?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You can change this behaviour via the wp-config.php file. To disable all post revisions, add:
    define('WP_POST_REVISIONS', false );

    If you want to specify the Number of Post Revisions (eg 3), add:
    define('WP_POST_REVISIONS', 3);

Topic Closed

This topic has been closed to new replies.

About this Topic