Support » Plugin: BuddyPress Group Email Subscription » [Plugin: BuddyPress Group Email Subscription] Cron Jobs not scheduled properly

  • I found this plug-in was causing problems with other plug-ins that use the cron.

    The developer of the other plug-in found the following. I was wondering if this could be improved as it’s causing a problem?

    They [you] are not using the cron_schedules filter hook correctly. The hook’s API is here: http://codex.wordpress.org/Plugin_API/Filter_Reference/cron_schedules . They are entirely replacing the schedules and not appending to it as they should.

    I added line #338 to the bp-activity-subscription-digest.php file and added line #2250 to the bp-activity-subscription-functions.php file. Both inside the “buddypress-group-email-subscription” plugin folder.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @simon – it sounds like you fixed a bug that i’m working on, but i don’t fully understand – WHAT did you add to lines 338 and 2250? thanks.

    Plugin Author Dwenaus

    (@dwenaus)

    At first I thought the cron was done wrong, however upon further investigation, the add_filter is actually combined with an array merge in the parent function, so you can simply pass back the array and it won’t replace it – but will be added to the cron array. clear as mud?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: BuddyPress Group Email Subscription] Cron Jobs not scheduled properly’ is closed to new replies.