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:
parent
066caaa9fa
commit
eee631b773
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user