Update v-run-wp-cli: removing --skip-plugins and --skip-themes

This commit is contained in:
myvesta 2024-05-30 17:23:43 +02:00 committed by GitHub
parent 357b20cc52
commit edf1f616b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,7 @@ phpver=$(/usr/local/vesta/bin/v-get-php-version-of-domain "$domain")
#----------------------------------------------------------#
cd /home/$USER/web/$domain/public_html
sudo -u $USER /usr/bin/php$phpver /usr/local/bin/wp $wp_command --skip-plugins=$(sudo -H -u$USER /usr/bin/php$phpver /usr/local/bin/wp plugin list --field=name | tr '\n' ',') --skip-themes;
sudo -u $USER /usr/bin/php$phpver /usr/local/bin/wp $wp_command
#----------------------------------------------------------#
# Vesta #