• Resolved toyNN

    (@toynn)


    The new features for revisions aren’t helping me and a bit of a hindrance.

    I’ve got wp-config.php setting,

    define('WP_POST_REVISIONS',3);

    Which previously would limit the number of saved revisions and now seems to be ignored.

    Also the post preview in the browser is tied to a revision so when I update the post from external post writer like Live Writer I can no longer just refresh the browser window to refresh the post preview. I’ve got to go back to the Edit Post window, refresh it, hit the Preview button, and switch back to now updated post preview window.

    Any suggestions on regaining control over revisions in 3.6?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Some users could not get this to function until moving the command to the first line under the initial block comment in config.php.

    Thread Starter toyNN

    (@toynn)

    Thanks for the suggestion which worked!

    I moved the WP_POST_REVISIONS setting to the top of my wp-config.php file and now the extra revisions beyond 3 are being removed when I next saved the post.

    I was also seeing that the Autosave feature was creating needless revisions which is significant when only keeping 3. Using the external post writer makes the WP autosave not very meaningful so I found and added setting to limit autosave (short of disabling).

    define('AUTOSAVE_INTERVAL', 3600 );

    Still would like to get the Preview back to always showing the newest revision always by default but that may not be possible.

    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tame revisions in 3.6’ is closed to new replies.