OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2775ab
)
core config: fix notice when not passing --dbpass
author
scribu
<mail@scribu.net>
Sun, 2 Jun 2013 14:32:13 +0000
(17:32 +0300)
committer
scribu
<mail@scribu.net>
Sun, 2 Jun 2013 14:32:13 +0000
(17:32 +0300)
php/commands/core.php
patch
|
blob
|
history
diff --git
a/php/commands/core.php
b/php/commands/core.php
index
37d6a6d
..
b088af5
100644
(file)
--- 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 );