diff --git a/scripts/upgrade b/scripts/upgrade index 6ab0f42..a00b33a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -137,7 +137,7 @@ if [ -z "$phpversion" ]; then fi # Replace wp-fail2ban by wp-fail2ban-redux -wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O $final_path/wp-cli.phar +ynh_exec_warn_less wget --no-verbose https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar --output-document=$final_path/wp-cli.phar wpcli_alias="php$phpversion $final_path/wp-cli.phar --allow-root --path=$final_path" if [ $multisite -eq 1 ]; then plugin_network="--network"