Permalink
Browse files

Merge pull request #41 from leewillis77/bugfix/cron-interval-property

Fix cron_interval property support
  • Loading branch information...
A5hleyRich committed Feb 12, 2018
2 parents 8db1a54 + ab52f7f commit a7be647cbe6195a9b9440a808348cd8cf1f21b49
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/wp-background-process.php
@@ -416,7 +416,7 @@ public function schedule_cron_healthcheck( $schedules ) {
$interval = apply_filters( $this->identifier . '_cron_interval', 5 );
if ( property_exists( $this, 'cron_interval' ) ) {
$interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval_identifier );
$interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval );
}
// Adds every 5 minutes to the existing schedules.

0 comments on commit a7be647

Please sign in to comment.