diff --git a/bin/install-wp-tests.sh b/bin/install-wp-tests.sh index 2d18e8a..5a64adc 100755 --- a/bin/install-wp-tests.sh +++ b/bin/install-wp-tests.sh @@ -15,7 +15,7 @@ set -ex # set up a WP install WP_CORE_DIR=/tmp/wordpress/ mkdir -p $WP_CORE_DIR -wget -nv -O /tmp/wordpress.tar.gz https://github.com/WordPress/WordPress/archive/$WP_VERSION.tar.gz +wget -nv -O /tmp/wordpress.tar.gz https://github.com/WordPress/WordPress/tarball/$WP_VERSION tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C $WP_CORE_DIR # set up testing suite