WordPress.org

Ready to get started?Download WordPress

Forums

Revision Control
WP_POST_REVISIONS is defined in your wp-config.php. Revision Control cannot ope (4 posts)

  1. michaeldayla
    Member
    Posted 7 months ago #

    The above error message appears at the bottom of the meta box. I can manually delete post revisions but it does not seem to work automatically. For example, I have post revisions set to 2 but I had 10 revisions on my last post. I was able to delete all but the current and last one. I am running twenty-eleven theme. I saw a prior post regarding this issue, a year old, but I could not make any sense out of the resolution.

    http://wordpress.org/plugins/revision-control/

  2. Dion Hulse
    WordPress Dev
    Plugin Author

    Posted 7 months ago #

    Either you have WP_POST_REVISIONS in your wp-config.php file, or you're running another revisions plugin, in order for Revisions Control to be able to work it needs you to fix one of those cases.

    At this point I can't give further detailed support for individual sites.

  3. ssiruguri
    Member
    Posted 6 months ago #

    It appears that since WP 3.6, you can set the value of WP_POST_REVISIONS in wp-config.php to be the number of revisions you want to keep per post. I don't know enough WP to confirm this but I think it applies to "posts" as well as "pages," in the user sense, because both are "posts" in the platform code sense.

    So for the most basic uses, you might not need this plugin any more.

  4. Dion Hulse
    WordPress Dev
    Plugin Author

    Posted 6 months ago #

    This plugin has always been a wrapper for WP_POST_REVISIONS that also allows you to set it per-post.

    For basic uses, the plugin is overkill and just setting WP_POST_REVISIONS is enough for the use-case.

    WordPress 3.7 changed the way the constant can be used (and although the plugin is still compatible) could do with an update to use the new method which will avoid this error.. but I've had little time for it.

Reply

You must log in to post.

About this Plugin

About this Topic