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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-05-03 21:46:19 +00:00
parent a51e35301f
commit 039b8aa6e5
1 changed files with 1 additions and 1 deletions

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