OSDN Git Service

core config: fix notice when not passing --dbpass
authorscribu <mail@scribu.net>
Sun, 2 Jun 2013 14:32:13 +0000 (17:32 +0300)
committerscribu <mail@scribu.net>
Sun, 2 Jun 2013 14:32:13 +0000 (17:32 +0300)
php/commands/core.php

index 37d6a6d..b088af5 100644 (file)
@@ -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 );