Skip to content

Commit 5f7c9f5

Browse files
authored
Merge branch 'main' into copilot/refactor-config-command-validation
2 parents 47304a6 + 3ec95c2 commit 5f7c9f5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/copilot-setup-steps.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
24+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2525
with:
2626
persist-credentials: false
2727

@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Set up PHP environment
3333
if: steps.check_composer_file.outputs.files_exists == 'true'
34-
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2
34+
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
3535
with:
3636
php-version: 'latest'
3737
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ wp config delete <name> [--type=<type>] [--config-file=<path>]
204204
Generates a wp-config.php file.
205205

206206
~~~
207-
wp config create [--dbname=<dbname>] [--dbuser=<dbuser>] [--dbpass=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=<path>] [--insecure] [--ssl]
207+
wp config create [--dbname=<dbname>] [--dbuser=<dbuser>] [--dbpass|db_password=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=<path>] [--insecure] [--ssl]
208208
~~~
209209

210210
Creates a new wp-config.php with database constants, and verifies that
@@ -218,7 +218,7 @@ the database constants are correct.
218218
[--dbuser=<dbuser>]
219219
Set the database user. Required unless `--skip-check` is used or the SQLite integration drop-in is detected.
220220

221-
[--dbpass=<dbpass>]
221+
[--dbpass|db_password=<dbpass>]
222222
Set the database user password.
223223
---
224224
sensitive: true

‎src/Config_Command.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private static function get_initial_locale() {
126126
* [--dbuser=<dbuser>]
127127
* : Set the database user. Required unless `--skip-check` is used or the SQLite integration drop-in is detected.
128128
*
129-
* [--dbpass=<dbpass>]
129+
* [--dbpass|db_password=<dbpass>]
130130
* : Set the database user password.
131131
* ---
132132
* sensitive: true

0 commit comments

Comments
 (0)