From 0428fff03b44ae932a9b55308796cf5c5b71129e Mon Sep 17 00:00:00 2001 From: Anurag Vasanwala <75766877+AnuragVasanwala@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:09:01 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=20Install=20latest=20`woocommerce`?= =?UTF-8?q?=20with=20WP=20>=3D=206.2=20for=20local=20environment=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/local-env/install-wordpress.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/local-env/install-wordpress.sh b/bin/local-env/install-wordpress.sh index c27f329e2481..acdb41bb1592 100755 --- a/bin/local-env/install-wordpress.sh +++ b/bin/local-env/install-wordpress.sh @@ -145,13 +145,8 @@ wp plugin install rtl-tester --activate --force --quiet echo -e $(status_message "Installing WordPress importer...") wp plugin install wordpress-importer --activate --force --quiet -# WooCommerce 8.0+ requires WordPress 6.2, but we still support WordPress 6.1. echo -e $(status_message "Installing WooCommerce plugin...") -if [ "$WP_VERSION" == "latest" ]; then - wp plugin install woocommerce --activate --force --quiet -else - wp plugin install woocommerce --version=7.9.0 --activate --force --quiet -fi +wp plugin install woocommerce --activate --force --quiet echo -e $(status_message "Installing AMP plugin...") wp plugin install amp --force --quiet