Skip to content

Commit a8865be

Browse files
install offload only on 55 or higher
1 parent dd42547 commit a8865be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/run-wordpress

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ npx wp-env start || exit 1
3636

3737
echo "Installing compatible plugins.."
3838

39-
## use http until wp-env support certs
40-
npx wp-env run tests-cli wp plugin install --activate --force http://downloads.wordpress.org/plugin/amazon-s3-and-cloudfront.3.2.11.zip || exit 1
39+
if [ "$WORDPRESS_VERSION" -ge 55 ]; then
40+
echo "Installing compatible plugins for WordPress ${WORDPRESS_VERSION_FULL}.."
41+
npx wp-env run tests-cli wp plugin install amazon-s3-and-cloudfront || exit 1
42+
fi
4143

4244
echo "To stop, run: bin/stop-wordpress"

0 commit comments

Comments
 (0)