Commit 67287655 authored by Erick Hitter's avatar Erick Hitter Committed by GitHub
Browse files

Explain why we're suppressing errors (#130)

parent a981a2e3
...@@ -29,7 +29,7 @@ function prepare_environment() { ...@@ -29,7 +29,7 @@ function prepare_environment() {
// Set DOING_CRON when appropriate // Set DOING_CRON when appropriate
if ( isset( $cmd[1] ) && 'orchestrate' === $cmd[1] ) { if ( isset( $cmd[1] ) && 'orchestrate' === $cmd[1] ) {
@ini_set( 'display_errors', '0' ); @ini_set( 'display_errors', '0' ); // @codingStandardsIgnoreLine - error output breaks JSON used by runner
\Automattic\WP\Cron_Control\set_doing_cron(); \Automattic\WP\Cron_Control\set_doing_cron();
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment