wp-cli
wp-cli copied to clipboard
⚙️ WP-CLI framework
### Background WP-CLI is traditionally run using the CLI SAPI. This means the program is loaded from disk as PHP code, parsed, and then finally executed. When there is a...
When I run `cli cache prune` it does nothing and echos "Success: Cache pruned." When I run `cli cache clear` it does remove cache files and echos "Success: Cache cleared."...
Switch all main branches for the bundled packages from `master` to `main`. :warning: However, this will cause all open PRs to become invalid and immediately be closed! :warning: Therefore, this...
WP-CLI started out as a singe repository in git and was split up into multiple packages many years later. When splitting up the packages, we tried to make sure that...
The `-context=admin` logic was hooking some of its logic to the `admin_init` action. However, as the loading was adapted, the requirement for triggering the `admin_init` action ended up within the...
Does require WSL or Git Bash, but they are fairly common. Impacts OSx (especially newer machines) and Windows 10 Fixes #5480
Let's say I have a multisite installation with multiple blogs (subdomain installs). the main blog in the network is `www.example.com`. Now, I have another blog in the network at `test.example.com`....
## 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,...
Hey, installing wp-cli I get the following deprecated messages: ``` Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/wp-cli/vendor/wp-cli/wp-cli/php/utils.php on line 981 Deprecated: realpath():...
Fixes #5649 ## Proposed changes Allows use of a custom `config-spec.php` file (for registering global parameters or disabling existing) by defining a `WP_CLI_CONFIG_SPEC_PATH` constant. The use of a constant (instead...