Skip to content

Commit ce909ee

Browse files
authored
Generate stubs for WordPress 6.0.0 (#35)
* updated to wp6.0.0 * Add blank line back to end of composer.json in source dir. Moved v6 to new line in release-latest-versions.sh * Add blank line back to end of composer.json in source dir. Moved v6 to new line in release-latest-versions.sh
1 parent bab860b commit ce909ee

File tree

3 files changed

+3223
-1632
lines changed

3 files changed

+3223
-1632
lines changed

release-latest-versions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ CORE_JSON="$(wget -q -O- "https://packagist.org/packages/johnpbloch/wordpress-co
3535

3636
# @TODO Use branches!
3737
for MINOR in 4.7 4.8 4.9 \
38-
5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9; do
38+
5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 \
39+
6.0; do
3940
# Find latest version
4041
printf -v JQ_FILTER '.package.versions[].version | select(test("^%s\\\\.%s\\\\.\\\\d+$"))' "${MINOR%.*}" "${MINOR#*.}"
4142
LATEST_FIVE="$(jq -r "$JQ_FILTER" <<<"$CORE_JSON" | sort -t "." -k 3 -g | tail -n 5)"

source/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ext-mbstring": "*",
88
"ext-openssl": "*",
99
"ext-sodium": "*",
10-
"johnpbloch/wordpress": "5.9.3"
10+
"johnpbloch/wordpress": "6.0.0"
1111
},
1212
"minimum-stability": "stable",
1313
"config": {

0 commit comments

Comments
 (0)