I’m running into an issue I haven’t encountered before where WP-CLI is not recognizing plugin updates for commercial plugins. The plugin updates appear in my WordPress dashboard, but running...
I’d like to automate the task of importing a remote database using the WP-CLI. The current process is to ssh to the server, and run an export to file...
I currently use this code in the main plugins file itself. But that plugin is not my own so I would prefer to be able to upgrade it normally...
I want to automate updating plugin options. There are some things that I repeat a lot. With wp-cli I know I can update simple options like this: php wp-cli.phar...
I get this error when I try to create something with WP CLI: Error establishing a database connection. This either means that the username and password information in your...
I have WordPress Multisite with several sites. I set up DISABLE_WP_CRON to true in my wp-config.php. If we set up cron task with wget or curl we have 30...
I use the wonderful WP-CLI tool. Due to dependence on Apache environment variables for a specific use case, I need to enable a bit of code to run only...
wp-cli is great. But it’s not clear how I can quickly change a user password with it. How to change a user’s password programatically can probably help to figure...