Skip to content

Commit a95a713

Browse files
authored
Merge branch 'WordPress:trunk' into permalinks-settings-ltr
2 parents 73c06f8 + 9306d11 commit a95a713

File tree

1,050 files changed

+66698
-29334
lines changed

Some content is hidden

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

1,050 files changed

+66698
-29334
lines changed

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ LOCAL_WP_TESTS_DOMAIN=example.org
6767

6868
# The URL to use when running e2e tests.
6969
WP_BASE_URL=http://localhost:${LOCAL_PORT}
70+
71+
##
72+
# This silences the tips output by the dotenv package.
73+
##
74+
DOTENV_CONFIG_QUIET=true

.git-blame-ignore-revs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,16 @@ a96fa164b00ed51c7c0481574834cff92ab9b1f0 # [60043]
5959
1aa6da693ad739b78752a55d154cd48cb757b90b # [60047]
6060
d44e1c2ce2dc638e89ed6a1d02b1cfadb8a15fe7 # [60048]
6161
a18719e7ea49ab7ac0091e076840cb7efdf51cc5 # [60049]
62+
63+
# 6.9 Coding Standards
64+
d0d89b62485e724e3d06f01981dd1940b2f36fce # [60074]
65+
c53010159b60735ffa6ba5fa8a416ff0e86a159c # [60109]
66+
cbb6519119276ceba4279eaee73ab66294ebd820 # [60402]
67+
3d736c763e0b1384c65abfa3bcf6d3bc45869516 # [60664]
68+
b96f25f5c31bfd1580c21084c368098792b4c741 # [60780]
69+
ff6c5fadfa6272685d910b474917ecb6adc17f10 # [60808]
70+
08b2f9cfe9064873a501c3543e2c995405431dcc # [60816]
71+
e683403cc1856113e3cb010b1579dcd01cdef5fc # [61036]
72+
8d24041c08a58b2f79504699fb3f63d01737b876 # [61075]
73+
87cbbb1dfcf19fcfc128fc66603462a649d01502 # [61087]
74+
db1b4811e5ab8df343b03032d7607abe01a9e8e2 # [61138]

.github/dependabot.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/workflows/check-built-files.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@ on:
1919
- '**.sass'
2020
# These files configure npm and the task runner. Changes could affect the outcome.
2121
- 'package*.json'
22+
- '.npmrc'
23+
- '.nvmrc'
2224
- 'Gruntfile.js'
2325
- 'webpack.config.js'
2426
- 'tools/webpack/**'
2527
# These files configure Composer. Changes could affect the outcome.
2628
- 'composer.*'
2729
# Confirm any changes to relevant workflow files.
2830
- '.github/workflows/check-built-files.yml'
31+
# Changes to the default themes should be handled by the themes workflows.
32+
- '!src/wp-content/themes/twenty**'
2933

3034
# Cancels all previous workflow runs for pull requests that have not completed.
3135
concurrency:
@@ -41,6 +45,7 @@ permissions: {}
4145
jobs:
4246
check-for-built-file-changes:
4347
name: Check built files
44-
# This prevents an unnecessary second run after changes are committed back because Dependabot always rebases and force pushes.
45-
if: ${{ github.repository == 'wordpress/wordpress-develop' && ( github.actor != 'dependabot[bot]' || github.event.commits < 2 ) }}
48+
if: ${{ github.repository == 'wordpress/wordpress-develop' }}
4649
uses: ./.github/workflows/reusable-check-built-files.yml
50+
permissions:
51+
contents: read

.github/workflows/coding-standards.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ on:
99
- '3.[89]'
1010
- '[4-9].[0-9]'
1111
tags:
12-
- '[0-9]+.[0-9]'
13-
- '[0-9]+.[0-9].[0-9]+'
14-
- '!3.7.[0-9]+'
12+
- '3.[89]'
13+
- '3.[89].[0-9]+'
14+
- '[4-9].[0-9]'
15+
- '[4-9].[0-9].[0-9]+'
1516
pull_request:
1617
branches:
1718
- trunk
@@ -23,6 +24,8 @@ on:
2324
- '**.php'
2425
# These files configure npm. Changes could affect the outcome.
2526
- 'package*.json'
27+
- '.npmrc'
28+
- '.nvmrc'
2629
# These files configure Composer. Changes could affect the outcome.
2730
- 'composer.*'
2831
# This file configures JSHint. Changes could affect the outcome.
@@ -48,19 +51,19 @@ permissions: {}
4851
jobs:
4952
# Runs the PHP coding standards checks.
5053
phpcs:
51-
name: PHP coding standards
54+
name: Coding standards
5255
uses: ./.github/workflows/reusable-coding-standards-php.yml
5356
permissions:
5457
contents: read
55-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
58+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
5659

5760
# Runs the JavaScript coding standards checks.
5861
jshint:
59-
name: JavaScript coding standards
62+
name: Coding standards
6063
uses: ./.github/workflows/reusable-coding-standards-javascript.yml
6164
permissions:
6265
contents: read
63-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
66+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
6467

6568
slack-notifications:
6669
name: Slack Notifications
@@ -96,7 +99,7 @@ jobs:
9699
97100
steps:
98101
- name: Dispatch workflow run
99-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
102+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
100103
with:
101104
retries: 2
102105
retry-exempt-status-codes: 418

.github/workflows/commit-built-file-changes.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Commit Built File Changes (PRs)
33

44
on:
55
workflow_run:
6-
workflows: [ 'Check Built Files (PRs)' ]
6+
workflows:
7+
- 'Check Built Files (PRs)'
8+
- 'Test Default Themes & Create ZIPs'
79
types:
810
- completed
911

@@ -41,7 +43,7 @@ jobs:
4143
contents: write
4244
steps:
4345
- name: Download artifact
44-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
46+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
4547
with:
4648
script: |
4749
const artifacts = await github.rest.actions.listWorkflowRunArtifacts( {
@@ -121,7 +123,7 @@ jobs:
121123
rm -f private-key.pem
122124
123125
- name: Checkout repository
124-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
125127
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
126128
with:
127129
repository: ${{ github.event.workflow_run.head_repository.full_name }}
@@ -158,7 +160,7 @@ jobs:
158160
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
159161
working-directory: 'pr-repo'
160162
run: |
161-
git commit -m "Automation: Updating built files with changes. [dependabot skip]"
163+
git commit -m "Automation: Updating built files with changes."
162164
163165
- name: Push changes
164166
if: ${{ steps.artifact-check.outputs.exists == 'true' }}

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
- '5.[3-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '[0-9]+.[0-9]'
12-
- '[0-9]+.[0-9].[0-9]+'
13-
- '![34].[0-9].[0-9]+'
14-
- '!5.[0-2].[0-9]+'
11+
- '5.[3-9]'
12+
- '5.[3-9].[0-9]+'
13+
- '[6-9]+.[0-9]'
14+
- '[6-9]+.[0-9].[0-9]+'
1515
pull_request:
1616
branches:
1717
- trunk
@@ -24,6 +24,8 @@ on:
2424
- '**.php'
2525
# These files configure npm and the task runner. Changes could affect the outcome.
2626
- 'package*.json'
27+
- '.npmrc'
28+
- '.nvmrc'
2729
- 'Gruntfile.js'
2830
- 'webpack.config.js'
2931
- 'tools/webpack/**'
@@ -54,15 +56,17 @@ env:
5456
jobs:
5557
# Runs the end-to-end test suite.
5658
e2e-tests:
57-
name: Test with SCRIPT_DEBUG ${{ matrix.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }}
59+
name: ${{ matrix.label }}
5860
uses: ./.github/workflows/reusable-end-to-end-tests.yml
5961
permissions:
6062
contents: read
61-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
63+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
6264
strategy:
6365
fail-fast: false
6466
matrix:
6567
LOCAL_SCRIPT_DEBUG: [ true, false ]
68+
# A matrix value is needed in the 'name' directive for proper grouping in the GitHub UI.
69+
label: [ 'E2E Tests' ]
6670
with:
6771
LOCAL_SCRIPT_DEBUG: ${{ matrix.LOCAL_SCRIPT_DEBUG }}
6872

@@ -99,7 +103,7 @@ jobs:
99103
)
100104
steps:
101105
- name: Dispatch workflow run
102-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
106+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
103107
with:
104108
retries: 2
105109
retry-exempt-status-codes: 418

.github/workflows/failed-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Rerun a workflow
33-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
33+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
3434
with:
3535
retries: 15
3636
retry-exempt-status-codes: 418

.github/workflows/install-testing.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
permissions:
4848
contents: read
4949
secrets: inherit
50-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
50+
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
5151
with:
5252
wp-version: ${{ inputs.wp-version }}
5353

@@ -63,7 +63,7 @@ jobs:
6363
permissions:
6464
contents: read
6565
runs-on: ${{ matrix.os }}
66-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
66+
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
6767
timeout-minutes: 10
6868
needs: [ build-test-matrix ]
6969
strategy:
@@ -92,11 +92,15 @@ jobs:
9292
db-version: '8.4'
9393
# Only test the latest innovation release.
9494
- db-version: '9.0'
95+
- db-version: '9.1'
96+
- db-version: '9.2'
97+
- db-version: '9.3'
98+
- db-version: '9.4'
9599
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
96100
- php: '7.2'
97-
db-version: '9.1'
101+
db-version: '9.5'
98102
- php: '7.3'
99-
db-version: '9.1'
103+
db-version: '9.5'
100104

101105
services:
102106
database:
@@ -115,7 +119,7 @@ jobs:
115119
116120
steps:
117121
- name: Set up PHP ${{ matrix.php }}
118-
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
122+
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
119123
with:
120124
php-version: '${{ matrix.php }}'
121125
coverage: none
@@ -168,7 +172,7 @@ jobs:
168172
169173
steps:
170174
- name: Dispatch workflow run
171-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
175+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
172176
with:
173177
retries: 2
174178
retry-exempt-status-codes: 418

0 commit comments

Comments
 (0)