From 59f7dc5be40e6b490beff2fbd3456bd780624fb5 Mon Sep 17 00:00:00 2001 From: scribu Date: Sun, 2 Jun 2013 17:32:13 +0300 Subject: [PATCH] core config: fix notice when not passing --dbpass --- php/commands/core.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/commands/core.php b/php/commands/core.php index 37d6a6d2..b088af51 100644 --- a/php/commands/core.php +++ b/php/commands/core.php @@ -69,7 +69,8 @@ class Core_Command extends WP_CLI_Command { $defaults = array( 'dbhost' => 'localhost', - 'dbprefix' => 'wp_' + 'dbpass' => '', + 'dbprefix' => 'wp_', ); $assoc_args = array_merge( $defaults, $assoc_args ); -- 2.11.0