From c558177886651bcc1a7ee9415f9492ff27bf2f30 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 27 May 2026 11:27:10 +0200 Subject: [PATCH] Add `admin_pass` argument alias --- README.md | 4 ++-- src/Core_Command.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aee0b530..8933a041 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ Subsequent uses of command will use the local cache if it still exists. Runs the standard WordPress installation process. ~~~ -wp core install --url= --title= --admin_user= [--admin_password=] --admin_email= [--locale=] [--skip-email] +wp core install --url= --title= --admin_user= [--admin_password|admin_pass=] --admin_email= [--locale=] [--skip-email] ~~~ Creates the WordPress tables in the database using the URL, title, and @@ -201,7 +201,7 @@ user_login doesn't exist, a new user will be created. --admin_user= The name of the admin user. - [--admin_password=] + [--admin_password|admin_pass=] The password for the admin user. Defaults to randomly generated string. --admin_email= diff --git a/src/Core_Command.php b/src/Core_Command.php index b65f7c01..b2cb31ec 100644 --- a/src/Core_Command.php +++ b/src/Core_Command.php @@ -502,7 +502,7 @@ public function is_installed( $args, $assoc_args ) { * --admin_user= * : The name of the admin user. * - * [--admin_password=] + * [--admin_password|admin_pass=] * : The password for the admin user. Defaults to randomly generated string. * * --admin_email=