Skip to content

Commit

Permalink
Merge pull request #41 from leewillis77/bugfix/cron-interval-property
Browse files Browse the repository at this point in the history
Fix cron_interval property support
  • Loading branch information
A5hleyRich committed Feb 12, 2018
2 parents 8db1a54 + ab52f7f commit a7be647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/wp-background-process.php
Expand Up @@ -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.
Expand Down

0 comments on commit a7be647

Please sign in to comment.