From: scribu Date: Tue, 23 Jul 2013 00:23:58 +0000 (+0300) Subject: add --locale parameter to 'wp core config'. fixes #607 X-Git-Tag: v0.11.0~28 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ec4d54403a1a1712c8e40e6b50041446573dc8e7;p=wvm%2Fwvm.git add --locale parameter to 'wp core config'. fixes #607 --- diff --git a/man-src/core-config.txt b/man-src/core-config.txt index 2f592099..9945a05c 100644 --- a/man-src/core-config.txt +++ b/man-src/core-config.txt @@ -20,6 +20,10 @@ Set the database table prefix. Default: 'wp_' +* `--locale`=: + + Set the WPLANG constant. Defaults to $wp_local_package variable. + * `--extra-php`: If set, the command reads additional PHP code from STDIN. @@ -27,7 +31,7 @@ ## EXAMPLES # Standard wp-config.php file - wp core config --dbname=testing --dbuser=wp --dbpass=securepswd + wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --locale=ro_RO # Enable WP_DEBUG and WP_DEBUG_LOG wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php < --dbuser= [--dbpass=] [--dbhost=] [--dbprefix=] [--extra-php] + * @synopsis --dbname= --dbuser= [--dbpass=] [--dbhost=] [--dbprefix=] [--locale=] [--extra-php] */ public function config( $_, $assoc_args ) { if ( Utils\locate_wp_config() ) {