• Oh Jesus, is there a way of deleting old revisions of posts or better still, turning off the revision feature?!

    It may be useful to some but for me, it simply generates tens of unwanted database entries that are very irritating.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Why do you find them irritating? Just ignore them. They’re only there for emergencies anyway, in case you mess up and need to revert a revision or two.

    Also:
    define('WP_POST_REVISIONS', false); in the wp-config.php disables them, I think.

    Thread Starter mystifier

    (@mystifier)

    My site has over 300, sometimes long posts – the last thing I want is five or six versions of them; this would certainly exceed the phpadmin import filesize on my hosting package requiring that I split it.

    Thanks for the wp-config entry, I will try it after I have hand deleted tens of unwanted posts ??

    Thread Starter mystifier

    (@mystifier)

    define(‘WP_POST_REVISIONS’, false);

    Does not have the desired effect. I correct one character and it unconditionally saves a whole new version of a several hundred word post.

    At the moment, I am bitterly regretting upgrading ??

    Thread Starter mystifier

    (@mystifier)

    My apologies, define(‘WP_POST_REVISIONS’, false); DOES work!

    I was confused by the new auto_save which happens regardless as a single ‘revision’. I would rather not have this either because it will double my database but I can live with it. My main problem was that because of the nature of my site, large posts get many revisions.

    I don’t like code hacks because they have to be re-made every update but I may hack auto_save to kill it.

    Oh thank goodness someone knows how to stop the revision, they are driving me mad, I’d like to see solution for the auto save as well, its almost the same, thanks people!

    Fully delete revisions (+ associated terms, meta info)

    https://andreineculau.com/blog/2008/07/delete-wordpress-26-revisions/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Delete Revisions (or better still, prevent them)’ is closed to new replies.