diff options
Diffstat (limited to 'plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php')
-rw-r--r-- | plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php b/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php index 56f21bc4..85da12d8 100644 --- a/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php +++ b/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php @@ -1,4 +1,6 @@ <?php +use Automattic\Jetpack\Status; + /** * Jetpack Connection Testing * @@ -319,7 +321,7 @@ class Jetpack_Cxn_Test_Base { */ public function output_results_for_cli( $type = 'all', $group = 'all' ) { if ( defined( 'WP_CLI' ) && WP_CLI ) { - if ( Jetpack::is_development_mode() ) { + if ( ( new Status() )->is_development_mode() ) { WP_CLI::line( __( 'Jetpack is in Development Mode:', 'jetpack' ) ); WP_CLI::line( Jetpack::development_mode_trigger_text() ); } |