Skip to content

Commit 00888ee

Browse files
Merge pull request wp-cli#212 from guillaumemolter/issue-3366
Removing extra parenthesis
2 parents 1f8f709 + 152e149 commit 00888ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/common-issues/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Before accessing a value on the `$_SERVER` superglobal, you should check if the
5757

5858
When using `$_SERVER['HTTP_HOST']` in your `wp-config.php`, you'll need to set a default value in WP-CLI context:
5959

60-
if ( defined( 'WP_CLI' ) && WP_CLI ) && ! isset( $_SERVER['HTTP_HOST'] ) {
60+
if ( defined( 'WP_CLI' ) && WP_CLI && ! isset( $_SERVER['HTTP_HOST'] ) ) {
6161
$_SERVER['HTTP_HOST'] = 'wp-cli.org';
6262
}
6363

0 commit comments

Comments
 (0)