From 36d004c2ee2ac5093e9104627b41958bf6de5bf3 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 27 May 2026 11:27:20 +0200 Subject: [PATCH] Add `db_password` argument alias --- README.md | 4 ++-- src/Config_Command.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 41da9966..02762b44 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ wp config delete [--type=] [--config-file=] Generates a wp-config.php file. ~~~ -wp config create [--dbname=] [--dbuser=] [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--locale=] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=] [--insecure] [--ssl] +wp config create [--dbname=] [--dbuser=] [--dbpass|db_password=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--locale=] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=] [--insecure] [--ssl] ~~~ Creates a new wp-config.php with database constants, and verifies that @@ -218,7 +218,7 @@ the database constants are correct. [--dbuser=] Set the database user. Required unless `--skip-check` is used or the SQLite integration drop-in is detected. - [--dbpass=] + [--dbpass|db_password=] Set the database user password. --- sensitive: true diff --git a/src/Config_Command.php b/src/Config_Command.php index 02ddde8e..62f8f18b 100644 --- a/src/Config_Command.php +++ b/src/Config_Command.php @@ -126,7 +126,7 @@ private static function get_initial_locale() { * [--dbuser=] * : Set the database user. Required unless `--skip-check` is used or the SQLite integration drop-in is detected. * - * [--dbpass=] + * [--dbpass|db_password=] * : Set the database user password. * --- * sensitive: true