Permalink
Browse files

Skip setting URLs on install

These are already set by the `--url` parameter to wp-cli
  • Loading branch information...
rmccue committed Mar 17, 2017
1 parent 70db683 commit 8fed97823435091e81721882a3b1ca984dbd84cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-config.php
View
@@ -86,7 +86,7 @@
// =====================
// URL hacks for Vagrant
// =====================
if ( WP_LOCAL_DEV && ! defined('WP_SITEURL') ) {
if ( WP_LOCAL_DEV && ! defined('WP_SITEURL') && ! defined( 'WP_INSTALLING' ) ) {
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp');
if ( ! defined( 'WP_HOME' ) ) {

0 comments on commit 8fed978

Please sign in to comment.