From 7d386222f5c1ec487aa1ced64f2846d5a3e8174d Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Thu, 6 Jul 2017 06:13:22 -0700 Subject: [PATCH] Update examples to reflect new `wp config create` --- README.md | 9 +++++---- src/Config_Command.php | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4f1d5a69e..f2c6a27aa 100644 --- a/README.md +++ b/README.md @@ -87,25 +87,26 @@ the database constants are correct. **EXAMPLES** # Standard wp-config.php file - $ wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --locale=ro_RO + $ wp config create --dbname=testing --dbuser=wp --dbpass=securepswd --locale=ro_RO Success: Generated 'wp-config.php' file. # Enable WP_DEBUG and WP_DEBUG_LOG - $ wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php <] [--constant=] [--global=] [--format=] diff --git a/src/Config_Command.php b/src/Config_Command.php index c448e20bc..d2a800c44 100644 --- a/src/Config_Command.php +++ b/src/Config_Command.php @@ -76,11 +76,11 @@ private static function get_initial_locale() { * ## EXAMPLES * * # Standard wp-config.php file - * $ wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --locale=ro_RO + * $ wp config create --dbname=testing --dbuser=wp --dbpass=securepswd --locale=ro_RO * Success: Generated 'wp-config.php' file. * * # Enable WP_DEBUG and WP_DEBUG_LOG - * $ wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php <