Skip to content

Commit 5e49712

Browse files
committed
Merge branch 'trunk' of https://github.com/WordPress/wordpress-develop into trac-43258
2 parents 33b524b + 066499a commit 5e49712

File tree

197 files changed

+7516
-2238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+7516
-2238
lines changed

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
phpunit-tests:
121121
name: ${{ inputs.phpunit-test-groups && format( '{0} / ', inputs.phpunit-test-groups ) || '' }}PHP ${{ inputs.php }} ${{ ! inputs.phpunit-test-groups && ! inputs.coverage-report && '/ ' || 'with ' }}${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.db-innovation && ' (innovation release)' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }}
122122
runs-on: ${{ inputs.os }}
123-
timeout-minutes: ${{ inputs.coverage-report && 120 || 20 }}
123+
timeout-minutes: ${{ inputs.coverage-report && 120 || inputs.php == '8.4' && 30 || 20 }}
124124

125125
steps:
126126
- name: Configure environment variables

.github/workflows/slack-notifications.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
with:
136136
retries: 2
137137
retry-exempt-status-codes: 418
138+
result-encoding: string
138139
script: |
139140
const commit_details = await github.rest.repos.getCommit({
140141
owner: context.repo.owner,
@@ -143,18 +144,10 @@ jobs:
143144
});
144145
return commit_details.data.commit.message;
145146
146-
- name: Prepare commit message.
147-
id: commit-message
148-
run: |
149-
# shellcheck disable=SC2016
150-
COMMIT_MESSAGE="$(echo "${COMMIT_MSG_RAW}" | awk 'NR==1' | sed 's/`/\\`/g' | sed 's/\"/\\\\\\"/g' | sed 's/\$/\\$/g')"
151-
echo "commit_message_escaped=${COMMIT_MESSAGE}" >> "$GITHUB_OUTPUT"
152-
env:
153-
COMMIT_MSG_RAW: ${{ ( github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ) && fromJson( steps.current-commit-message.outputs.result ) || github.event.head_commit.message }}
154-
155147
- name: Construct payload and store as an output
156148
id: create-payload
157149
run: |
150+
COMMIT_MSG="$(echo "${COMMIT_MSG_RAW}" | awk 'NR==1')"
158151
PAYLOAD="$( jq \
159152
-n \
160153
--arg workflow_name "${GITHUB_WORKFLOW}" \
@@ -165,7 +158,7 @@ jobs:
165158
)"
166159
echo "payload=$PAYLOAD" >> "$GITHUB_OUTPUT"
167160
env:
168-
COMMIT_MSG: ${{ steps.commit-message.outputs.commit_message_escaped }}
161+
COMMIT_MSG_RAW: ${{ ( github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ) && steps.current-commit-message.outputs.result || github.event.head_commit.message }}
169162

170163
# Posts notifications when a workflow fails.
171164
failure:

.github/workflows/upgrade-develop-testing.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,17 @@ jobs:
6363
php: [ '7.2', '8.4' ]
6464
db-type: [ 'mysql' ]
6565
db-version: [ '5.7', '8.4' ]
66-
wp: [ '6.5', '6.6', '6.7' ]
66+
# WordPress 4.9 is the oldest version that supports PHP 7.2.
67+
wp: [ '4.9', '6.5', '6.6', '6.7' ]
6768
multisite: [ false, true ]
6869

6970
exclude:
7071
# The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
7172
- php: '7.2'
7273
db-version: '8.4'
74+
# WordPress 4.9 does not support PHP 8.4.
75+
- php: '8.4'
76+
wp: '4.9'
7377
with:
7478
os: ${{ matrix.os }}
7579
php: ${{ matrix.php }}

.github/workflows/upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
concurrency:
2828
# The concurrency group contains the workflow name and the branch name for pull requests
2929
# or the commit hash for any other events.
30-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
30+
group: ${{ github.workflow }}-${{ inputs.new-version || github.event_name == 'pull_request' && github.head_ref || github.sha }}
3131
cancel-in-progress: true
3232

3333
# Disable permissions for all available scopes by default.

.jshintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"curly": true,
44
"eqeqeq": true,
55
"eqnull": true,
6-
"esversion": 6,
6+
"esversion": 10,
77
"expr": true,
88
"immed": true,
99
"noarg": true,

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"ext-dom": "*"
1919
},
2020
"require-dev": {
21-
"composer/ca-bundle": "1.5.5",
21+
"composer/ca-bundle": "1.5.6",
2222
"squizlabs/php_codesniffer": "3.10.3",
2323
"wp-coding-standards/wpcs": "~3.1.0",
2424
"phpcompatibility/phpcompatibility-wp": "~2.1.3",

jsdoc.conf.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"linenums": true
2020
},
2121
"opts": {
22-
"template": "./node_modules/ink-docstrap/template",
2322
"recurse": true,
2423
"private": true
2524
}

0 commit comments

Comments
 (0)