diff --git a/wp-includes/cron.php b/wp-includes/cron.php index d0f62d0e9e..921f8c8661 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -224,7 +224,7 @@ function spawn_cron( $local_time = 0 ) { while ( @ob_end_flush() ); flush(); - @include_once(ABSPATH . 'wp-cron.php'); + WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' ); return; }