GeoDirectory is disabling WP post revisions

This topic contains 4 replies, has 2 voices, and was last updated by  Guust 9 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #139058

    mstopa
    Buyer
    Post count: 212

    Hello GD Support,

    After losing three hours editing a post in WordPress because I couldn’t find any of the saved versions, I did some searching and asked my webhost, LightningBase, if they knew why revisions weren’t being saved. Here’s the reply I just received from LightningBase:


    Running a search on the files in your site, it appears that GeoDirectory is disabling these:

    ./wp-content/plugins/geodir_custom_posts/geodir_custom_posts.php: define( ‘WP_POST_REVISIONS’, 0); // To stop post revisions for wordpress
    ./wp-content/plugins/geodirectory/geodirectory.php:if (!defined(‘WP_POST_REVISIONS’)) define(‘WP_POST_REVISIONS’, 0);

    I’m not sure why they are doing that, it could be for performance reasons or some type of conflict. One option would be to manually edit the code, but that is cumbersome, you’ll have to redo it every time GeoDirectory updates, and if they are deactivating these for a reason it may be harmful. The better option if revisions are important to you would be to contact GeoDirectory and ask why they are disabling post revisions.

    Can this setting be changed? If saving WP revisions is problematic going forward I will know better and change how I write and edit in WordPress, but I just lost three hours of good work.

    Thanks for your help.

    Marsha

    #139108

    Guust
    Moderator
    Post count: 29970
    #139116

    mstopa
    Buyer
    Post count: 212

    Thanks Guust.

    Because most people who are accustomed to working in WordPress are used to having the revisions feature enabled, may I suggest you include a warning somewhere within GD that revisions across someone’s entire WordPress site are disabled by default? Or maybe I missed it.

    Thanks for your help.

    Marsha

    #139124

    mstopa
    Buyer
    Post count: 212

    One more question: Will that change be over-ridden when I update GeoDirectory in the future?

    Thanks!

    Marsha

    #139232

    Guust
    Moderator
    Post count: 29970

    No, that will not be over-written, you should be safe.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount