Skip to content

Commit 42c86f4

Browse files
authored
Merge pull request #279 from todeveni/patch-1
2 parents ab65d19 + 3ce65a6 commit 42c86f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ public function update_db( $args, $assoc_args ) {
13161316

13171317
// WP upgrade expects `$_SERVER['HTTP_HOST']` to be set in `wp_guess_url()`, otherwise get PHP notice.
13181318
if ( ! isset( $_SERVER['HTTP_HOST'] ) ) {
1319-
$_SERVER['HTTP_HOST'] = 'http://example.com';
1319+
$_SERVER['HTTP_HOST'] = 'example.com';
13201320
}
13211321

13221322
wp_upgrade();

0 commit comments

Comments
 (0)