We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 408796b commit 493a346Copy full SHA for 493a346
1 file changed
src/Valet_Command.php
@@ -87,7 +87,10 @@ class Valet_Command
87
* ---
88
*
89
* [--dbpass=<dbpass>]
90
- * : Set the database user password (MySQL only). Default: ''
+ * : Set the database user password (MySQL only).
91
+ * ---
92
+ * Default: ''
93
94
95
* [--dbprefix=<dbprefix>]
96
* : Set the database table prefix. Default: 'wp_'
@@ -188,7 +191,7 @@ protected function configure_wp()
188
191
$this->wp('core config', [], [
189
192
'dbname' => $this->args['dbname'] ?: "wp_{$this->site_name}",
190
193
'dbuser' => $this->args['dbuser'],
- 'dbpass' => $this->args['dbpass'],
194
+ 'dbpass' => isset($this->args['dbpass']) ? $this->args['dbpass'] : '',
195
'dbprefix' => $this->args['dbprefix'],
196
]);
197
}
0 commit comments