Don't suppress errors when including cron if WP_DEBUG. Props sivel. fixes #11507

git-svn-id: https://develop.svn.wordpress.org/trunk@14414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-05-03 21:46:19 +00:00
parent 066caaa9fa
commit eee631b773

View File

@ -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;
}