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:
parent
a51e35301f
commit
039b8aa6e5
|
@ -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