• michaeldayla

    (@michaeldayla)


    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.

    https://www.ads-software.com/plugins/revision-control/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    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.

    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.

    Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP_POST_REVISIONS is defined in your wp-config.php. Revision Control cannot ope’ is closed to new replies.