Skip to content

Commit 0bd788e

Browse files
authored
Merge pull request #266 from J0WI/update.sh-https
Use HTTPS to check for the current wordpress version
2 parents 1b48b4b + 30da440 commit 0bd788e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ ${#phpVersions[@]} -eq 0 ]; then
99
fi
1010
phpVersions=( "${phpVersions[@]%/}" )
1111

12-
current="$(curl -fsSL 'http://api.wordpress.org/core/version-check/1.7/' | jq -r '.offers[0].current')"
12+
current="$(curl -fsSL 'https://api.wordpress.org/core/version-check/1.7/' | jq -r '.offers[0].current')"
1313
sha1="$(curl -fsSL "https://wordpress.org/wordpress-$current.tar.gz.sha1")"
1414

1515
cliVersion="$(

0 commit comments

Comments
 (0)