• Resolved peterelzinga

    (@peterelzinga)


    Bug in ./class.ecalypse-rental.php will cause that the cron task will be added with every page load, making the wordpress option “cron” massive and cause slow queries.

    This line:

    
    if (!wp_next_scheduled('ecalypse_webhook_resend')) {
       wp_schedule_event(time(), 'hourly', 'ecalypse_cron_webhook_resend');
    }
    

    Should be:

    
    if (!wp_next_scheduled('ecalypse_cron_webhook_resend')) {
       wp_schedule_event(time(), 'hourly', 'ecalypse_cron_webhook_resend');
    }
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Cron bug’ is closed to new replies.