config-command icon indicating copy to clipboard operation
config-command copied to clipboard

Generates and reads the wp-config.php file.

Results 20 config-command issues
Sort by recently updated
recently updated
newest added

The example on the `wp config create` command's page has an issue. When I create a config like this: ``` wp config create --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php

command:config
command:config-create

## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...

bug
command:config-create

Right now we have two separate code paths that deal with setting values in the `wp-config.php` file. While we created a new library `wp-cli/wp-config-transformer` to deal with config file manipulations,...

command:config-create

`config set --add` is a deviation from our standard syntax. Typically, `set` and `add` are two separate operations (e.g. `option set` vs. `option add`, and `cache set` vs. `cache add`)....

command:config

## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...

bug
command:config
command:config-has

This pull request fixes following issue - #165 I refactored the code to return the string representation of a boolean value (i.e., 'true' or 'false'), which is easier to display...

eval() was printing notices/warnings/errors coming from wp-config.php twice. This introduces output buffering to discard the "internal" printing. Fixes: https://github.com/wp-cli/wp-cli/issues/4944 Part of https://github.com/wp-cli/wp-cli/issues/5985

- [x] Add new `config add` command that adds a constant/variable (fails if it already exists) - [x] Add new `config update` command that updates or adds a constant/variable (upsert...

## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** In the wordpress-develop repo, running `npm run env:install` does...

command:config-set

Corrected 2 inline docs for return_value(): 1. 3rd param is `$values` not a redundant `$type`. 2. It's also an array since we loop the variable and looking for `$value['name']` &...