diff --git a/php/utils.php b/php/utils.php index d2499de33d..5c9ffcf811 100644 --- a/php/utils.php +++ b/php/utils.php @@ -713,7 +713,7 @@ function get_temp_dir() { } if ( ! @is_writable( $temp ) ) { - WP_CLI::warning( "Temp directory isn't writable: {$temp}" ); + \WP_CLI::warning( "Temp directory isn't writable: {$temp}" ); } return $trailingslashit( $temp );