wp-cli / extension-command

Manages plugins and themes, including installs, activations, and updates.
MIT License
90 stars 79 forks source link

Add `--insecure` flag to `plugin|theme install` & `plugin\theme update` commands #287

Closed schlessera closed 3 years ago

schlessera commented 3 years ago

The PR https://github.com/wp-cli/wp-cli/pull/5523 changes the default behavior for Utils\http_request() so that it does not automatically retry a remote request that failed its TLS handshake by skipping certificate validation.

This PR adds the --insecure flag to the following commands to explicitly switch back to the previous behavior: