Skip to content

Convert config help summaries to use third-person singular verbs. #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ This package implements the following commands:

### wp config

Manage the wp-config.php file
Creates and retrieves the wp-config.php file.

~~~
wp config
@@ -25,7 +25,7 @@ wp config

### wp config create

Generate a wp-config.php file.
Generates a wp-config.php file.

~~~
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]
@@ -106,7 +106,7 @@ the database constants are correct.

### wp config get

Get variables, constants, and file includes defined in wp-config.php file.
Gets variables, constants, and file includes defined in wp-config.php file.

~~~
wp config get [--fields=<fields>] [--constant=<constant>] [--global=<global>] [--format=<format>]
@@ -153,7 +153,7 @@ wp config get [--fields=<fields>] [--constant=<constant>] [--global=<global>] [-

### wp config path

Get the path to wp-config.php file.
Gets the path to wp-config.php file.

~~~
wp config path
12 changes: 6 additions & 6 deletions src/Config_Command.php
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
use \WP_CLI\Utils;

/**
* Manage the wp-config.php file
* Creates and retrieves the wp-config.php file.
*/
class Config_Command extends WP_CLI_Command {

@@ -18,7 +18,7 @@ private static function get_initial_locale() {
}

/**
* Generate a wp-config.php file.
* Generates a wp-config.php file.
*
* Creates a new wp-config.php with database constants, and verifies that
* the database constants are correct.
@@ -163,7 +163,7 @@ public function create( $_, $assoc_args ) {
}

/**
* Get the path to wp-config.php file.
* Gets the path to wp-config.php file.
*
* ## EXAMPLES
*
@@ -183,7 +183,7 @@ public function path() {
}

/**
* Get variables, constants, and file includes defined in wp-config.php file.
* Gets variables, constants, and file includes defined in wp-config.php file.
*
* ## OPTIONS
*
@@ -290,7 +290,7 @@ public function get( $_, $assoc_args ) {
}

/**
* Filter wp-config.php file configurations.
* Filters wp-config.php file configurations.
*
* @param array $list
* @param array $previous_list
@@ -364,7 +364,7 @@ private function return_constant_or_global( $assoc_args, $get_constant, $wp_conf
}

/**
* Generate a unique key/salt for the wp-config.php file.
* Generates a unique key/salt for the wp-config.php file.
*
* @throws Exception
*