WordPress.org

Ready to get started?Download WordPress

Forums

disable/enable revisions optional (2 posts)

  1. raganichu
    Member
    Posted 2 years ago #

    I found a lot of info about disabling revisions.

    Why not include an option to enable/disable revisions for posts, pages and custom contents?

    Disabling autosave must be optional in wordpress core too.

    Regards,

    raganichu

  2. Modify Autosave

    Or if you must, put this in your functions.php (or make a plugin):

    function disable_autosave() {wp_deregister_script('autosave');}
    add_action( 'wp_print_scripts', 'disable_autosave' );

    Managing post revisions

Topic Closed

This topic has been closed to new replies.

About this Topic