Skip to content

Commit

Permalink
🏗 Install latest woocommerce with WP >= 6.2 for local environment s…
Browse files Browse the repository at this point in the history
…etup
  • Loading branch information
AnuragVasanwala committed Oct 9, 2023
1 parent 06d511f commit 0428fff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/local-env/install-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0428fff

Please sign in to comment.