diff --git a/src/Core_Command.php b/src/Core_Command.php index 5bee2550..6f7add86 100644 --- a/src/Core_Command.php +++ b/src/Core_Command.php @@ -1316,7 +1316,7 @@ public function update_db( $args, $assoc_args ) { // WP upgrade expects `$_SERVER['HTTP_HOST']` to be set in `wp_guess_url()`, otherwise get PHP notice. if ( ! isset( $_SERVER['HTTP_HOST'] ) ) { - $_SERVER['HTTP_HOST'] = 'http://example.com'; + $_SERVER['HTTP_HOST'] = 'example.com'; } wp_upgrade();