Skip to content

Commit

Permalink
Update bin/php-tests.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Mario Aguiar <mario.aguiar@xwp.co>
  • Loading branch information
PatelUtkarsh and emeaguiar committed Apr 26, 2022
1 parent ddaa0c9 commit f1cd344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/php-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ else
# since http version is no longer working we need to use https.
download https://api.wordpress.org/core/version-check/1.7/ /tmp/wp-latest.json

# which https version we are using first version from array.
# with https version we are using first version from array.
LATEST_VERSION=$(grep -o '"version":"[^"]*' /tmp/wp-latest.json | sed 's/"version":"//' | head -1)
if [[ -z "$LATEST_VERSION" ]]; then
echo "Latest WordPress version could not be found"
Expand Down

0 comments on commit f1cd344

Please sign in to comment.