Skip to content

Commit cc4da9b

Browse files
authored
Merge branch 'develop' into wordcamp-asia-2026-alt-text-loading-state-384
2 parents 8f3920c + 8322852 commit cc4da9b

File tree

171 files changed

+23177
-7992
lines changed

Some content is hidden

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

171 files changed

+23177
-7992
lines changed

.distignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
/.wordpress-org
55
/docs
66
/node_modules
7+
/routes
78
/src
89
/tests
10+
/tools
911

1012
# Files
1113
.*

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,36 @@ Closes <!-- #ISSUE-NUMBER or URL -->
1313
## How?
1414
<!-- How is your PR addressing the issue at hand? What are the implementation details? -->
1515

16-
<!-- If you are using AI tools, you must adhere to the AI Guidelines: https://make.wordpress.org/ai/handbook/ai-guidelines/ -->
17-
1816
### Use of AI Tools
1917
<!--
2018
You are free to use artificial intelligence (AI) tooling to contribute, but you must disclose what tooling you are using and to what extent a pull request has been authored by AI. It is your responsibility to review and take responsibility for what AI generates. See the WordPress AI Guidelines: <https://make.wordpress.org/ai/handbook/ai-guidelines/>.
19+
20+
Example disclosure:
21+
22+
AI assistance: Yes
23+
Tool(s): GitHub Copilot, ChatGPT
24+
Model(s): GPT-5.1
25+
Used for: Initial code skeleton and test suggestions; final implementation and tests were reviewed and edited by me.
2126
-->
2227

2328
## Testing Instructions
24-
<!-- Please include step by step instructions on how to test this PR. -->
25-
<!-- 1. Open a post or page. -->
26-
<!-- 2. Insert a heading block. -->
27-
<!-- 3. etc. -->
29+
<!-- Please provide steps on how to test or validate that the change in this PR works as described. -->
2830

29-
### Testing Instructions for Keyboard
30-
<!-- How can you test the changes by using the keyboard only? Please note, this is required for PRs that change the user interface (UI). This ensures the PR can be tested for any possible accessibility regressions. -->
31+
## Screenshots or screencast
32+
<!-- If this PR includes UI changes, please provide screenshots or a screen recording for clarity. -->
33+
<!-- This section can be removed if not applicable. -->
3134

32-
## Screenshots or screencast <!-- if applicable -->
35+
| Before | After |
36+
| ------ | ----- |
37+
| | |
3338

34-
<!-- If you would like to upload screenshots, feel free to use the table below when it is useful to show the difference between before and after the change. -->
35-
36-
|Before|After|
37-
|-|-|
38-
|<!-- Before screenshot here -->|<!-- After screenshot here -->|
39+
## Changelog Entry
40+
<!--
41+
Please include a summary for this PR, noting whether this is something being Added / Changed / Deprecated / Removed / Fixed / or Security related. You can replace the sample entries after this comment block with the single changelog entry line for this PR. -->
42+
> Added - New feature.
43+
> Changed - Existing functionality.
44+
> Deprecated - Soon-to-be removed feature.
45+
> Removed - Feature.
46+
> Fixed - Bug fix.
47+
> Security - Vulnerability.
48+
> Development Update - Development related updates.

.github/dependabot.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: '/'
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10
8+
commit-message:
9+
prefix: 'chore(ci)'
10+
labels:
11+
- dependencies
12+
groups:
13+
github-actions-updates:
14+
patterns: ['*']
15+
16+
- package-ecosystem: composer
17+
directory: '/'
18+
schedule:
19+
interval: weekly
20+
open-pull-requests-limit: 10
21+
cooldown:
22+
semver-major-days: 30
23+
semver-minor-days: 7
24+
semver-patch-days: 7
25+
versioning-strategy: increase
26+
commit-message:
27+
prefix: 'fix'
28+
include: 'scope'
29+
labels:
30+
- dependencies
31+
groups:
32+
composer-dev-minor-patch:
33+
dependency-type: 'development'
34+
update-types: [minor, patch]
35+
# We don't bundle minor or major production assets, so they're tested individually.
36+
composer-patch:
37+
dependency-type: 'production'
38+
update-types: [patch]
39+
40+
- package-ecosystem: npm
41+
directory: '/'
42+
schedule:
43+
interval: weekly
44+
open-pull-requests-limit: 10
45+
cooldown:
46+
semver-major-days: 30
47+
semver-minor-days: 7
48+
semver-patch-days: 7
49+
versioning-strategy: increase
50+
commit-message:
51+
prefix: 'fix'
52+
include: 'scope'
53+
labels:
54+
- dependencies
55+
groups:
56+
npm-dev-minor-patch:
57+
dependency-type: 'development'
58+
update-types: [minor, patch]
59+
npm-prod-minor-patch:
60+
dependency-type: 'production'
61+
update-types: [minor, patch]

.github/workflows/build-plugin-zip.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ jobs:
2525

2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3131
persist-credentials: false
3232

3333
- name: Set up PHP
34-
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
34+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
3535
with:
3636
php-version: '7.4'
3737
coverage: none
3838
tools: composer:v2
3939

4040
- name: Use desired version of Node.js
41-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
41+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4242
with:
4343
node-version-file: '.nvmrc'
4444
check-latest: true
@@ -47,7 +47,7 @@ jobs:
4747
run: npm ci
4848

4949
- name: Install Composer dependencies
50-
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1
50+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
5151
with:
5252
composer-options: '--no-dev'
5353

@@ -59,7 +59,7 @@ jobs:
5959
npm run plugin-zip
6060
6161
- name: Upload artifact
62-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
62+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
6363
with:
6464
name: ai-plugin-zip-pr${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
6565
path: ai.zip

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
contents: read
2020
steps:
2121
- name: Checkout Repository
22-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323

2424
- name: Dependency Review
25-
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
25+
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
2626
with:
2727
license-check: true
2828
vulnerability-check: false # Since we only want to use the license check, we need to set this to false as otherwise the default is true.

.github/workflows/plugin-check.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ jobs:
3232
timeout-minutes: 20
3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
35+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3636
with:
3737
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3838
persist-credentials: false
3939

4040
- name: Set up PHP
41-
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
41+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
4242
with:
4343
php-version: '8.3'
4444
coverage: none
4545

4646
- name: Install Composer dependencies
47-
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1
47+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
4848

4949
- name: Setup Node
50-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
50+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5151
with:
5252
cache: 'npm'
5353
node-version-file: '.nvmrc'
@@ -69,5 +69,6 @@ jobs:
6969
plugin_header_unsupported_plugin_name
7070
exclude-directories: |
7171
.github
72+
build
7273
docs
7374
tests

.github/workflows/pr-playground-preview.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- name: Extract PR metadata from artifact name
3535
id: pr-metadata
36-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
36+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
3737
with:
3838
script: |
3939
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
@@ -83,6 +83,9 @@ jobs:
8383
}
8484
8585
const blueprint = {
86+
preferredVersions: {
87+
wp: 'beta',
88+
},
8689
steps: [
8790
{
8891
step: 'installPlugin',

.github/workflows/props-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
format: 'git'
7777

7878
- name: Remove the props-bot label
79-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
79+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
8080
if: ${{ github.event.action == 'labeled' && 'props-bot' == github.event.label.name }}
8181
with:
8282
retries: 2

0 commit comments

Comments
 (0)