Skip to content

Commit 67e1330

Browse files
committed
Merge branch 'trunk' into secrets-require-key
2 parents d7abced + 2f8310c commit 67e1330

434 files changed

Lines changed: 22336 additions & 2673 deletions

File tree

Some content is hidden

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

‎.github/pull_request_template.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Hi there! Thanks for contributing to WordPress!
33
44
Pull Requests in this GitHub repository **must** be linked to a ticket in the WordPress Core Trac instance (https://core.trac.wordpress.org), and are only used for code review. **No pull requests will be merged on GitHub.**
55
6-
See the WordPress Handbook page on using PRs for Code Review more information: https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/
6+
See the WordPress Handbook page on using PRs for Code Review for more information: https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/
7+
8+
Do not open pull requests for security vulnerabilities. Please follow the responsible disclosure policy instead: https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/
79
810
If this is your first time contributing, you may also find reviewing these guides first to be helpful:
911
- FAQs for New Contributors: https://make.wordpress.org/core/handbook/tutorials/faq-for-new-contributors/

‎.github/workflows/coding-standards.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ on:
7575

7676
# Cancels all previous workflow runs for pull requests that have not completed.
7777
concurrency:
78-
# The concurrency group contains the workflow name and the branch name for pull requests
78+
# The concurrency group contains the workflow name and the pull request number for pull requests
7979
# or the commit hash for any other events.
80-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
80+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
8181
cancel-in-progress: true
8282

8383
# Disable permissions for all available scopes by default.

‎.github/workflows/end-to-end-tests.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ on:
5050

5151
# Cancels all previous workflow runs for pull requests that have not completed.
5252
concurrency:
53-
# The concurrency group contains the workflow name and the branch name for pull requests
53+
# The concurrency group contains the workflow name and the pull request number for pull requests
5454
# or the commit hash for any other events.
55-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
55+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
5656
cancel-in-progress: true
5757

5858
# Disable permissions for all available scopes by default.

‎.github/workflows/install-testing.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ on:
3737

3838
# Cancels all previous workflow runs for pull requests that have not completed.
3939
concurrency:
40-
# The concurrency group contains the workflow name and the branch name for pull requests
40+
# The concurrency group contains the workflow name and the pull request number for pull requests
4141
# or the commit hash for any other events.
42-
group: ${{ github.workflow }}-${{ inputs.wp-version || github.event_name == 'pull_request' && github.head_ref || github.sha }}
42+
group: ${{ github.workflow }}-${{ inputs.wp-version || github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4343
cancel-in-progress: true
4444

4545
# Disable permissions for all available scopes by default.
@@ -138,15 +138,15 @@ jobs:
138138
- name: Set up WP-CLI
139139
uses: $/.github/actions/setup-wp-cli
140140
with:
141-
version: ${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && '2.4.0' || 'latest' }}
141+
version: ${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && '2.4.0' || contains( fromJSON('["5.6", "7.0", "7.1"]'), matrix.php ) && '2.12.0' || 'latest' }}
142142

143-
# WP-CLI extracts tarballs with PharData, which truncates paths longer than 100 characters.
144-
# Nightly builds are only available as a zip, which is not affected.
143+
# WP-CLI 2.x extracts tarballs with PharData, which truncates paths longer than 100 characters.
144+
# Zip archives are not affected, so download the zip for every version.
145145
- name: Download WordPress
146146
run: |
147147
case "${WP_VERSION}" in
148148
nightly|trunk) wp core download --version=nightly ;;
149-
*) curl -fsSL "https://wordpress.org/wordpress-${WP_VERSION}.tar.gz" | tar xz --strip-components=1 ;;
149+
*) wp core download "https://wordpress.org/wordpress-${WP_VERSION}.zip" ;;
150150
esac
151151
env:
152152
WP_VERSION: ${{ inputs.wp-version || 'nightly' }}

‎.github/workflows/javascript-tests.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ on:
7676

7777
# Cancels all previous workflow runs for pull requests that have not completed.
7878
concurrency:
79-
# The concurrency group contains the workflow name and the branch name for pull requests
79+
# The concurrency group contains the workflow name and the pull request number for pull requests
8080
# or the commit hash for any other events.
81-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
81+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
8282
cancel-in-progress: true
8383

8484
# Disable permissions for all available scopes by default.

‎.github/workflows/javascript-type-checking.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ on:
3131

3232
# Cancels all previous workflow runs for pull requests that have not completed.
3333
concurrency:
34-
# The concurrency group contains the workflow name and the branch name for pull requests
34+
# The concurrency group contains the workflow name and the pull request number for pull requests
3535
# or the commit hash for any other events.
36-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
36+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3737
cancel-in-progress: true
3838

3939
# Disable permissions for all available scopes by default.

‎.github/workflows/local-docker-environment.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ on:
6464

6565
# Cancels all previous workflow runs for pull requests that have not completed.
6666
concurrency:
67-
# The concurrency group contains the workflow name and the branch name for pull requests
67+
# The concurrency group contains the workflow name and the pull request number for pull requests
6868
# or the commit hash for any other events.
69-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
69+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
7070
cancel-in-progress: true
7171

7272
# Disable permissions for all available scopes by default.

‎.github/workflows/performance.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ on:
5151

5252
# Cancels all previous workflow runs for pull requests that have not completed.
5353
concurrency:
54-
# The concurrency group contains the workflow name and the branch name for pull requests
54+
# The concurrency group contains the workflow name and the pull request number for pull requests
5555
# or the commit hash for any other events.
56-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
56+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
5757
cancel-in-progress: true
5858

5959
# Disable permissions for all available scopes by default.

‎.github/workflows/php-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ on:
6464

6565
# Cancels all previous workflow runs for pull requests that have not completed.
6666
concurrency:
67-
# The concurrency group contains the workflow name and the branch name for pull requests
67+
# The concurrency group contains the workflow name and the pull request number for pull requests
6868
# or the commit hash for any other events.
69-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
69+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
7070
cancel-in-progress: true
7171

7272
# Disable permissions for all available scopes by default.

‎.github/workflows/phpstan-static-analysis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ on:
2626

2727
# Cancels all previous workflow runs for pull requests that have not completed.
2828
concurrency:
29-
# The concurrency group contains the workflow name and the branch name for pull requests
29+
# The concurrency group contains the workflow name and the pull request number for pull requests
3030
# or the commit hash for any other events.
31-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
31+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3232
cancel-in-progress: true
3333

3434
# Disable permissions for all available scopes by default.

0 commit comments

Comments
 (0)