diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 3a9d31dd82..1f541abbfc 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -65,9 +65,9 @@ function wp_next_scheduled( $hook ) { } function spawn_cron() { - $crons = get_option( 'cron' ) + $crons = get_option( 'cron' ); - if( !is_array($crons) ) + if ( !is_array($crons) ) return; $keys = array_keys( $crons );