WordPress.org

Forums

The Events Calendar Housekeeper
[resolved] Deleting items > 1 year removes all expired (6 posts)

  1. Andy Fragen
    Member
    Posted 2 years ago #

    Oops, you need to add the following to protected function criteriaCutOffDate

    case 'oneYear': $criteria = strtotime('-12 months'); break;

    As this is not present I think all expired events are deleted. Not the intended effect.

    http://wordpress.org/extend/plugins/the-events-calendar-housekeeper/

  2. Barry Hughes
    Member
    Plugin Contributor

    Posted 2 years ago #

    Great catch, thanks Andy: should be fixed in 1.2.2.

  3. karenratte
    Member
    Posted 2 years ago #

    I installed housekeeping, but I think I overloaded my apache server, 512mg of RAM. Possible?
    Guess I was not protected from this by having it in my sandbox... sigh..

  4. Barry Hughes
    Member
    Plugin Contributor

    Posted 2 years ago #

    It's not impossible, but I'd be surprised. Can you share more details - in what way was it overloaded? How many expired events do you estimate there were?

    If you could also create a new thread for this, since it is after all quite different from what Andy reported, that would be appreciated.

  5. JoyceD6
    Member
    Posted 1 year ago #

    <strike>I just installed this and as I'm using the Pro version, too, I have recurring events. Some deleted all the events and some did not. I set it for deleting more than a week, but it deleted an event that took place today. So maybe the problem mention above hasn't been fixed yet? Should I not be using it with a calendar that has recurring events?</strike>

    I'll make a new support ticket, which should be more appropriate.

  6. Barry Hughes
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi JoyceD6, sorry for the delay and I will answer you in your other thread :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.