Skip to content

Commit 6361c93

Browse files
authored
Merge branch 'WordPress:trunk' into trac-22225/date-i18n-day-number-ordinals
2 parents 72254c8 + 2e2b657 commit 6361c93

File tree

690 files changed

+25234
-11288
lines changed

Some content is hidden

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

690 files changed

+25234
-11288
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ a96fa164b00ed51c7c0481574834cff92ab9b1f0 # [60043]
5959
1aa6da693ad739b78752a55d154cd48cb757b90b # [60047]
6060
d44e1c2ce2dc638e89ed6a1d02b1cfadb8a15fe7 # [60048]
6161
a18719e7ea49ab7ac0091e076840cb7efdf51cc5 # [60049]
62+
63+
# 6.9 Coding Standards
64+
cbb6519119276ceba4279eaee73ab66294ebd820 # [60402]

.github/dependabot.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,87 @@ updates:
127127
- "lodash"
128128
- "moment"
129129
- "underscore"
130+
131+
# Monitor npm dependencies within default themes.
132+
- package-ecosystem: "npm"
133+
directory: "/src/wp-content/themes/twentytwentyfive"
134+
schedule:
135+
interval: "weekly"
136+
open-pull-requests-limit: 20
137+
groups:
138+
twentytwentyfive-css:
139+
patterns:
140+
- "**browserslist*"
141+
- "*css*"
142+
143+
- package-ecosystem: "npm"
144+
directory: "/src/wp-content/themes/twentytwentytwo"
145+
schedule:
146+
interval: "weekly"
147+
open-pull-requests-limit: 20
148+
groups:
149+
twentytwentytwo-css:
150+
patterns:
151+
- "**browserslist*"
152+
- "*css*"
153+
154+
- package-ecosystem: "npm"
155+
directory: "/src/wp-content/themes/twentytwentyone"
156+
schedule:
157+
interval: "weekly"
158+
open-pull-requests-limit: 20
159+
groups:
160+
twentytwentyone-sass-css:
161+
patterns:
162+
- "**browserslist*"
163+
- "autoprefixer"
164+
- "*css*"
165+
- "*sass*"
166+
- "!*stylelint*"
167+
twentytwentyone-eslint:
168+
patterns:
169+
- "**eslint*"
170+
twentytwentyone-stylelint:
171+
patterns:
172+
- "**stylelint*"
173+
twentytwentyone-miscellaneous:
174+
patterns:
175+
- "chokidar-cli"
176+
- "minimist"
177+
- "npm-run-all"
178+
179+
- package-ecosystem: "npm"
180+
directory: "/src/wp-content/themes/twentytwenty"
181+
schedule:
182+
interval: "weekly"
183+
open-pull-requests-limit: 20
184+
groups:
185+
twentytwenty-css:
186+
patterns:
187+
- "**browserslist*"
188+
- "autoprefixer"
189+
- "*css*"
190+
twentytwenty-stylelint:
191+
patterns:
192+
- "*stylelint*"
193+
twentytwenty-miscellaneous:
194+
patterns:
195+
- "concurrently"
196+
- "@wordpress/scripts"
197+
198+
- package-ecosystem: "npm"
199+
directory: "/src/wp-content/themes/twentynineteen"
200+
schedule:
201+
interval: "weekly"
202+
open-pull-requests-limit: 20
203+
groups:
204+
twentynineteen-css-sass:
205+
patterns:
206+
- "**browserslist*"
207+
- "autoprefixer"
208+
- "*css*"
209+
- "*sass*"
210+
twentynineteen-miscellaneous:
211+
patterns:
212+
- "chokidar-cli"
213+
- "npm-run-all"

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

Lines changed: 6 additions & 0 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:
@@ -44,3 +48,5 @@ jobs:
4448
# This prevents an unnecessary second run after changes are committed back because Dependabot always rebases and force pushes.
4549
if: ${{ github.repository == 'wordpress/wordpress-develop' && ( github.actor != 'dependabot[bot]' || github.event.commits < 2 ) }}
4650
uses: ./.github/workflows/reusable-check-built-files.yml
51+
permissions:
52+
contents: read

.github/workflows/coding-standards.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ on:
2323
- '**.php'
2424
# These files configure npm. Changes could affect the outcome.
2525
- 'package*.json'
26+
- '.npmrc'
27+
- '.nvmrc'
2628
# These files configure Composer. Changes could affect the outcome.
2729
- 'composer.*'
2830
# This file configures JSHint. Changes could affect the outcome.
@@ -48,15 +50,15 @@ permissions: {}
4850
jobs:
4951
# Runs the PHP coding standards checks.
5052
phpcs:
51-
name: PHP coding standards
53+
name: Coding standards
5254
uses: ./.github/workflows/reusable-coding-standards-php.yml
5355
permissions:
5456
contents: read
5557
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
5658

5759
# Runs the JavaScript coding standards checks.
5860
jshint:
59-
name: JavaScript coding standards
61+
name: Coding standards
6062
uses: ./.github/workflows/reusable-coding-standards-javascript.yml
6163
permissions:
6264
contents: read

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

Lines changed: 4 additions & 2 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

@@ -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 }}

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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,7 +56,7 @@ 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
@@ -63,6 +65,8 @@ jobs:
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

.github/workflows/install-testing.yml

Lines changed: 6 additions & 5 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:
@@ -94,11 +94,12 @@ jobs:
9494
- db-version: '9.0'
9595
- db-version: '9.1'
9696
- db-version: '9.2'
97+
- db-version: '9.3'
9798
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
9899
- php: '7.2'
99-
db-version: '9.3'
100+
db-version: '9.4'
100101
- php: '7.3'
101-
db-version: '9.3'
102+
db-version: '9.4'
102103

103104
services:
104105
database:
@@ -117,7 +118,7 @@ jobs:
117118
118119
steps:
119120
- name: Set up PHP ${{ matrix.php }}
120-
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
121+
uses: shivammathur/setup-php@20529878ed81ef8e78ddf08b480401e6101a850f # v2.35.3
121122
with:
122123
php-version: '${{ matrix.php }}'
123124
coverage: none

.github/workflows/javascript-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ on:
2121
- '**.js'
2222
# These files configure npm and the task runner. Changes could affect the outcome.
2323
- 'package*.json'
24+
- '.npmrc'
25+
- '.nvmrc'
2426
- 'Gruntfile.js'
2527
- 'webpack.config.js'
2628
- 'tools/webpack/**'

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
- 'Gruntfile.js'
1818
- 'webpack.config.js'
1919
- 'tools/webpack/**'
20+
- '.npmrc'
21+
- '.nvmrc'
2022
# These files configure Composer. Changes could affect the local environment.
2123
- 'composer.*'
2224
# These files define the versions to test.
@@ -41,6 +43,8 @@ on:
4143
- 'Gruntfile.js'
4244
- 'webpack.config.js'
4345
- 'tools/webpack/**'
46+
- '.npmrc'
47+
- '.nvmrc'
4448
# These files configure Composer. Changes could affect the local environment.
4549
- 'composer.*'
4650
# These files define the versions to test.
@@ -73,7 +77,7 @@ jobs:
7377
permissions:
7478
contents: read
7579
secrets: inherit
76-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
80+
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
7781
with:
7882
wp-version: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
7983

@@ -99,11 +103,12 @@ jobs:
99103
- db-version: '9.0'
100104
- db-version: '9.1'
101105
- db-version: '9.2'
106+
- db-version: '9.3'
102107
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
103108
- php: '7.2'
104-
db-version: '9.3'
109+
db-version: '9.4'
105110
- php: '7.3'
106-
db-version: '9.3'
111+
db-version: '9.4'
107112

108113
with:
109114
os: ${{ matrix.os }}

.github/workflows/performance.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ on:
2323
- '**.php'
2424
# These files configure npm and the task runner. Changes could affect the outcome.
2525
- 'package*.json'
26+
- '.npmrc'
27+
- '.nvmrc'
2628
- 'Gruntfile.js'
2729
- 'webpack.config.js'
2830
- 'tools/webpack/**'
@@ -52,7 +54,8 @@ jobs:
5254
name: Determine Matrix
5355
runs-on: ubuntu-24.04
5456
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) && ! contains( github.event.before, '00000000' ) }}
55-
permissions: {}
57+
permissions:
58+
actions: read
5659
env:
5760
TARGET_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
5861
outputs:
@@ -98,7 +101,7 @@ jobs:
98101
strategy:
99102
fail-fast: false
100103
matrix:
101-
memcached: [ true, false ]
104+
memcached: [ false, true ]
102105
multisite: [ true, false ]
103106
subject: ${{ fromJson( needs.determine-matrix.outputs.subjects ) }}
104107
with:
@@ -116,8 +119,9 @@ jobs:
116119
strategy:
117120
fail-fast: false
118121
matrix:
119-
memcached: [ true, false ]
122+
memcached: [ false, true ]
120123
multisite: [ true, false ]
124+
# A matrix value is needed in the 'name' directive for proper grouping in the GitHub UI.
121125
label: [ Compare ]
122126
with:
123127
memcached: ${{ matrix.memcached }}

0 commit comments

Comments
 (0)