Commit 499adbba authored by Erick Hitter's avatar Erick Hitter
Browse files

Orchestrate endpoint uses JSON, which displayed errors will corrupt

parent 86f8471e
......@@ -29,6 +29,7 @@ function prepare_environment() {
// Set DOING_CRON when appropriate
if ( isset( $cmd[1] ) && 'orchestrate' === $cmd[1] ) {
@ini_set( 'display_errors', false );
\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