diff --git a/README.md b/README.md index 57375520..ed06f79d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ wp-cli/config-command Generates and reads the wp-config.php file. -[![Build Status](https://travis-ci.org/wp-cli/config-command.svg?branch=master)](https://travis-ci.org/wp-cli/config-command) +[![Testing](https://github.com/wp-cli/config-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/config-command/actions/workflows/testing.yml) Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support) @@ -76,7 +76,7 @@ wp config delete [--type=] Generates a wp-config.php file. ~~~ -wp config create --dbname= --dbuser= [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--locale=] [--extra-php] [--skip-salts] [--skip-check] [--force] +wp config create --dbname= --dbuser= [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--locale=] [--extra-php] [--skip-salts] [--skip-check] [--force] [--insecure] ~~~ Creates a new wp-config.php with database constants, and verifies that @@ -132,6 +132,9 @@ the database constants are correct. [--force] Overwrites existing files, if present. + [--insecure] + Retry API download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack. + **EXAMPLES** # Standard wp-config.php file @@ -369,17 +372,29 @@ wp config set [--add] [--raw] [--anchor=] [--placement=

...] [--force] [--insecure] ~~~ **OPTIONS** + [...] + One ore more keys to shuffle. If none are provided, this falls back to the default WordPress Core salt keys. + + [--force] + If an unknown key is requested to be shuffled, add it instead of throwing a warning. + + [--insecure] + Retry API download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack. + **EXAMPLES** # Get new salts for your wp-config.php file $ wp config shuffle-salts Success: Shuffled the salt keys. + # Add a cache key salt to the wp-config.php file + $ wp config shuffle-salts WP_CACHE_KEY_SALT --force + ## Installing This package is included with WP-CLI itself, no additional installation necessary. @@ -412,7 +427,7 @@ Once you've decided to commit the time to seeing your pull request through, [ple ## Support -Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support +GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support *This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*