Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
4118d80
HTTP API: Add `wp_remote_request_multiple()` for concurrent requests.
swissspidy Sep 22, 2026
077ed59
HTTP API: Address PHPStan findings in `WP_Http::request_multiple()`.
swissspidy Sep 22, 2026
40803fc
HTTP API: Return a null `pre_http_request` value as is.
swissspidy Sep 22, 2026
791ab10
Merge branch 'trunk' into trac-37459-http-request-multiple
swissspidy Sep 25, 2026
b9fbfe5
HTTP API: Reference `WP_Http::request_multiple()` with `{@see}` in th…
swissspidy Sep 25, 2026
000e9a1
HTTP API: Type the batch request API for static analysis.
swissspidy Sep 25, 2026
bc7a505
Merge branch 'trunk' into trac-37459-http-request-multiple
swissspidy Sep 28, 2026
b880f2c
Merge branch 'trunk' into trac-37459-http-request-multiple
swissspidy Oct 7, 2026
cd697a0
Privacy: Add a check for post status in `wp_privacy_send_personal_dat…
t-hamano Nov 17, 2026
2726d2e
Networks and Sites: Return a 404 from `ms-files.php` when no file is …
SergeyBiryukov Nov 17, 2026
adf9a87
Build/Test Tools: Update `@types/node` to version 24.19.2.
desrosj Nov 17, 2026
f7135c8
Menus: Fix wp_get_nav_menu_items() dropping items when the term count…
audrasjb Nov 17, 2026
f14c157
Build/Test Tools: Update Sass to 1.108.2.
desrosj Nov 17, 2026
24c3400
Build/Test Tools: Update `@napi-rs/image` to version 1.16.0.
desrosj Nov 17, 2026
705791b
Build/Test Tools: Update npm `devDependencies`.
desrosj Nov 17, 2026
d5c0b77
WordPress 7.2 RC 1.
audrasjb Nov 17, 2026
ce78d2d
Post WordPress 7.2-RC1 version bump.
dream-encode Nov 17, 2026
0bab8d2
HTML API: Refactor `excerpt_remove_footnotes()`.
dmsnell Nov 17, 2026
54489a8
Tests: Remove redundant post-status fixture cleanup.
lancewillett Nov 17, 2026
3a7166e
Tests: Use the attachment factory for uploaded fixtures.
lancewillett Nov 17, 2026
ffebecc
Tests: Make page-list data providers static.
lancewillett Nov 17, 2026
b458e07
Tests: Share admin locators across E2E tests.
lancewillett Nov 17, 2026
e06adad
Merge branch 'trunk' into trac-37459-http-request-multiple
claude Nov 17, 2026
f15403f
HTTP API: Fix PHPStan return type errors in WP_Http::prepare_request().
claude Nov 17, 2026
567ce64
Tests: Remove empty REST icons test placeholders.
lancewillett Nov 17, 2026
19379c8
Build/Test Tools: Include PHPStan baselines via a PHP loader.
westonruter Nov 17, 2026
050bdaf
REST API: Return no terms when a term search resolves to no taxonomy.
johnbillion Nov 18, 2026
a891337
Customize: Sanitize option settings with sanitize_option() when previ…
johnbillion Nov 18, 2026
45c4c45
REST API: Escape a hyphen in `wp_is_json_media_type()`.
johnbillion Nov 18, 2026
1b7a7bc
REST API: Harden comment author handling.
johnbillion Nov 18, 2026
0e5a0ee
XML-RPC: Only return comments the user can read from `wp.getComments`.
johnbillion Nov 18, 2026
cc42ef4
Embeds: Return scripts from the oEmbed proxy only for embed handlers.
johnbillion Nov 18, 2026
e9acd04
Shortcodes: Prevent attribute escape sequences from forming HTML.
johnbillion Nov 18, 2026
0ed3c9e
Meta API: Validate the `relation` argument in `WP_Meta_Query`.
johnbillion Nov 18, 2026
75aab48
Customize: Harden nav menu args handling.
johnbillion Nov 18, 2026
1fdfb39
Query: Use prepared statements for more `WP_Query` clauses.
johnbillion Nov 18, 2026
ba9a93c
REST API: Only serve `rest_route` requests outside of the admin.
johnbillion Nov 18, 2026
86d0d8a
Comments: Check permissions before moving a comment to another post i…
johnbillion Nov 18, 2026
c2ee32b
XML-RPC: Process only one pingback per request.
johnbillion Nov 18, 2026
6b74030
Interactivity API: Escape the store namespace in `wp_interactivity_da…
johnbillion Nov 18, 2026
750136d
REST API: Restrict post and template author assignment to site members.
johnbillion Nov 18, 2026
ca8e4ca
Tests: Update the expected error for an invalid comment author.
johnbillion Nov 18, 2026
f276d60
General: Bump the pinned hash for Gutenberg to `efd7722`.
johnbillion Nov 18, 2026
a2c6459
WordPress 7.2 RC 2.
johnbillion Nov 18, 2026
bb6f370
Post WordPress 7.2-RC2 version bump.
johnbillion Nov 18, 2026
bf090db
HTTP API: Address review feedback on concurrent requests.
claude Nov 18, 2026
689cb33
Tests: Cover `wp_strict_cross_origin_referrer()`.
SergeyBiryukov Nov 18, 2026
7bc0de1
HTTP API: Address further review feedback on concurrent requests.
claude Nov 18, 2026
a21fd67
Build/Test Tools: Hold a project subset to PHPStan rule level 10.
westonruter Nov 18, 2026
96c60f0
Build/Test Tools: Run the mu-plugin E2E specs in parallel.
lancewillett Nov 18, 2026
12824a9
Tests: Avoid attachment ID collisions in media widget tests.
lancewillett Nov 19, 2026
ba75b6e
Build/Test Tools: Check where tracked CSS and JavaScript files live.
lancewillett Nov 19, 2026
2162cd6
Docs: Remove repeated word within `WP_Error` property.
desrosj Nov 19, 2026
6883e50
Docs: Correct the indentation of closing braces in hash notation.
johnbillion Nov 19, 2026
c27ffa2
Build/Test Tools: Split the PHPStan reusable workflow into -v1 and -v2.
desrosj Nov 19, 2026
fa05da8
External Libraries: Use the classic build of jQuery Form.
desrosj Nov 19, 2026
accd2d4
Tests: Cover `rsd_link()`.
SergeyBiryukov Nov 19, 2026
97f5bdf
Upgrade/Install: Update the `$_old_files` array for 7.2.
peterwilsoncc Nov 19, 2026
0f2e26a
Build/Test Tools: Share the release ZIP across test jobs.
lancewillett Nov 20, 2026
3faf586
Build/Test Tools: Run plugin management E2E tests in parallel.
lancewillett Nov 20, 2026
a5c41fa
Abilities API: Declare the `uri` format for the `link` output of `cor…
jorgefilipecosta Nov 20, 2026
5e0ad66
Editor: Validate the entity in the entity fields reads and REST route.
jorgefilipecosta Nov 20, 2026
93d10b0
Abilities API: Reject empty slugs and usernames in `core/users-query`.
jorgefilipecosta Nov 20, 2026
860be52
Tests: Isolate rewrite state in term link and redirect tests.
lancewillett Nov 20, 2026
d20a2fb
Tests: Load the menu quick search helper in test setup.
lancewillett Nov 20, 2026
a4a0272
Tests: Isolate theme, script module, and post password fixtures.
lancewillett Nov 20, 2026
f7c912e
Tests: Reconnect the database helper after disconnect tests.
lancewillett Nov 20, 2026
809c013
Build/Test Tools: Type-check three more JavaScript files.
lancewillett Nov 20, 2026
1f84b51
Administration: Revert the On This Day section of the Activity widget.
peterwilsoncc Nov 20, 2026
2b8adf7
Tests: Cover `esc_url_raw()`.
SergeyBiryukov Nov 20, 2026
cb7c390
Tests: Cover `format_for_editor()`.
SergeyBiryukov Nov 21, 2026
4038eb0
Tests: Delete the network created by the network option cache tests.
lancewillett Nov 22, 2026
78d8b11
Tests: Isolate script module registration in the entity action tests.
lancewillett Nov 22, 2026
2fcad86
Tests: Isolate stylesheet assertions in embed and Customizer tests.
lancewillett Nov 22, 2026
9fb84f4
Tests: Cover `user_can_richedit()`.
SergeyBiryukov Nov 22, 2026
9d7b7c2
Abilities API: Reject input that sanitization makes invalid
gziolo Nov 23, 2026
d09b315
Application Passwords: Send the created notification in the user's lo…
johnbillion Nov 23, 2026
89cc209
Tests: Reset the script queue after Customizer manager tests.
lancewillett Nov 23, 2026
13c2209
Build/Test Tools: Run theme management E2E tests in parallel.
lancewillett Nov 23, 2026
3d4146d
Build/Test Tools: Run the trash end-to-end tests in parallel.
lancewillett Nov 23, 2026
8d1741e
Mail: Guard against line feeds in untrusted header sources.
dmsnell Nov 23, 2026
9669668
Tests: Restore theme features after image header tests.
lancewillett Nov 23, 2026
f668959
Tests: Log out after creating privileged class fixtures.
lancewillett Nov 23, 2026
1ccce21
Tests: Cover `wp_default_editor()`.
SergeyBiryukov Nov 23, 2026
5ae0af9
Media: Create image sizes that share dimensions on upload.
adamsilverstein Nov 23, 2026
9f134f6
Editor: Restore the default block editor styles.
peterwilsoncc Nov 24, 2026
14f13cb
Comments: Tighten note and reaction rules in all handlers.
adamsilverstein Nov 24, 2026
91b5036
General: Bump the pinned hash for Gutenberg to `c5bdc7f`.
Mamaduka Nov 24, 2026
649b316
Abilities API: Read the schema default in `core/settings-get`.
jorgefilipecosta Nov 24, 2026
9f62d93
Help/About: Update the About page for 7.2.
t-hamano Nov 24, 2026
d0ba880
Tests: Keep the oEmbed suite running without SimpleXML.
lancewillett Nov 24, 2026
2d7fd1e
Tests: Allow hosts to opt out of HTTP loopback fixtures.
lancewillett Nov 24, 2026
bc37c94
WordPress 7.2 RC 3.
audrasjb Nov 24, 2026
119ed74
Tests: Simplify post type cleanup.
lancewillett Nov 24, 2026
ef06eef
Post WordPress 7.2 RC 3 version bump.
audrasjb Nov 24, 2026
546a35a
Revert [65758].
audrasjb Nov 24, 2026
084145c
Post WordPress 7.2 RC 3 version bump.
audrasjb Nov 24, 2026
0f60ced
Tests: Remove redundant taxonomy cleanup.
lancewillett Nov 24, 2026
e9b0cd3
Build/Test Tools: Post-branching updates for trunk.
johnbillion Nov 24, 2026
7824ab0
Build/Test Tools: Show individual end-to-end test names in CI.
lancewillett Nov 24, 2026
b412a3a
Tests: Cover `wp_heartbeat_settings()`.
SergeyBiryukov Nov 24, 2026
5cb65d8
Build/Test Tools: Update PHPStan to 2.3.7.
westonruter Nov 25, 2026
2da24ad
Code Quality: Call `process_blocks_custom_css()` statically.
westonruter Nov 25, 2026
635c42c
Code Quality: Correct by-ref types in UTF-8 compat functions.
westonruter Nov 25, 2026
916de6f
Editor: Update the post editor preload paths for the DataForm inspector.
ntsekouras Nov 25, 2026
fa31aae
Code Quality: Resolve the `deadCode.unreachable` PHPStan errors.
westonruter Nov 25, 2026
967cbe9
I18N: Place translator comments directly before their strings.
swissspidy Nov 25, 2026
9fedd3c
Bundled Themes: Place translator comments directly before their strings.
swissspidy Nov 25, 2026
00a656a
Code Quality: Add PHPStan integer ranges and literal types.
swissspidy Nov 25, 2026
31b09c2
Code Quality: Add PHPStan array shapes.
swissspidy Nov 25, 2026
cf37b95
Merge remote-tracking branch 'upstream/trunk' into pr-work
swissspidy Nov 25, 2026
d622142
HTTP API: Do not resend batched requests when a batch fails.
swissspidy Nov 25, 2026
c591e4f
Merge pull request #98 from swissspidy/claude/relaxed-sagan-wvvj44
swissspidy Nov 25, 2026
0b9eda5
HTTP API: Narrow PHPStan types for concurrent requests.
swissspidy Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ paths:
.github/workflows/**/*.yml:
ignore:
- 'specifying action "\$/[^"]+" in invalid format because ref is missing'
- 'reusable workflow call "\$/[^"]+" at "uses" is not following the format'
182 changes: 182 additions & 0 deletions .github/workflows/file-type-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
name: File Type Check

on:
push:
branches:
- trunk
- '6.[8-9]'
- '[7-9].[0-9]'
paths:
# Inward check: files added to CSS/JS directories.
- 'src/wp-includes/css/**'
- 'src/wp-includes/js/**'
- 'src/wp-admin/css/**'
- 'src/wp-admin/js/**'
# Outward check: CSS/JS files placed outside designated directories.
- 'src/wp-includes/**.css'
- 'src/wp-includes/**.js'
- 'src/wp-admin/**.css'
- 'src/wp-admin/**.js'
# Confirm any changes to the workflow file itself.
- '.github/workflows/file-type-check.yml'
pull_request:
branches:
- trunk
- '6.[8-9]'
- '[7-9].[0-9]'
paths:
- 'src/wp-includes/css/**'
- 'src/wp-includes/js/**'
- 'src/wp-admin/css/**'
- 'src/wp-admin/js/**'
- 'src/wp-includes/**.css'
- 'src/wp-includes/**.js'
- 'src/wp-admin/**.css'
- 'src/wp-admin/**.js'
- '.github/workflows/file-type-check.yml'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

permissions: {}

jobs:
# Verifies that CSS and JS files live in the directories intended for them.
#
# The JS sources in src/js/ are out of scope. The build system decides where
# those are placed, so only its output is checked.
check-file-types:
name: Verify file types in CSS/JS directories
runs-on: ubuntu-26.04
permissions:
contents: read
if: |
github.repository == 'WordPress/wordpress-develop' || (
github.event_name == 'pull_request' && (
! github.event.repository.private ||
! github.event.pull_request.draft ||
contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' )
)
)
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
persist-credentials: false

- name: Check for misplaced CSS and JS files
run: |
# Git does the filtering, so no path is ever matched as text. Shell
# patterns break on names holding a tab, a newline or a quote: Git
# C-quotes those, and core.quotePath=false does not stop it.
#
# Each check is a bare assignment, so `set -e` sees a failure from Git.
#
# Every exclude starts with src/, the directory the positive pathspecs share.
# git ls-files strips that shared directory from every pathspec, excludes
# included, without checking that it is there. An exclude such as *.js is
# then cut down to a pattern that can match every file.
#
# Only tracked files are checked. The PHP that Gutenberg generates
# into css/dist and js/dist is untracked, so it never appears here.
# Whether it should be tracked, moved, or not copied at all is still
# open in #65278. If it becomes tracked, this check will flag it.
# Git exits 0 when a pathspec matches nothing.
if [ -z "$( git ls-files -- src/wp-includes src/wp-admin )" ]; then
echo "::error::No tracked files found under src/wp-includes or src/wp-admin."
exit 1
fi
# The SCSS sources for the admin color schemes are the only tracked
# non-CSS files in these directories.
inward_css=$( git ls-files -- src/wp-includes/css src/wp-admin/css \
':(exclude,glob)src/wp-includes/css/**/*.css' \
':(exclude,glob)src/wp-admin/css/**/*.css' \
':(exclude,glob)src/wp-admin/css/colors/**/*.scss' )
# Both directories are gitignored in full, so this only catches a file
# committed with `git add -f`.
inward_js=$( git ls-files -- src/wp-includes/js src/wp-admin/js \
':(exclude,glob)src/wp-includes/js/**/*.js' \
':(exclude,glob)src/wp-admin/js/**/*.js' )
# src/wp-includes/build/ is tracked, not gitignored: it holds the
# generated routes and pages.
outward=$( git ls-files -- \
':(glob)src/wp-includes/**/*.css' ':(glob)src/wp-includes/**/*.js' \
':(glob)src/wp-admin/**/*.css' ':(glob)src/wp-admin/**/*.js' \
':(exclude,glob)src/wp-includes/css/**' \
':(exclude,glob)src/wp-includes/js/**' \
':(exclude,glob)src/wp-admin/css/**' \
':(exclude,glob)src/wp-admin/js/**' \
':(exclude,glob)src/wp-includes/build/**' )
violations=$( printf '%s\n%s\n%s' "$inward_css" "$inward_js" "$outward" | grep -v '^$' || true )
if [ -n "$violations" ]; then
echo "::error::Misplaced files found."
echo
echo "$violations"
echo
echo "CSS directories should contain only .css files and JS directories only .js files."
echo ".css and .js files belong in those directories, not elsewhere in wp-includes/ or wp-admin/."
echo "If a file is a legitimate exception, update .github/workflows/file-type-check.yml."
exit 1
fi
echo "All tracked CSS and JS files are correctly placed."
slack-notifications:
name: Slack Notifications
uses: ./.github/workflows/slack-notifications.yml
permissions:
actions: read
contents: read
needs: [ check-file-types ]
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
with:
calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
secrets:
SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ check-file-types, slack-notifications ]
if: |
always() &&
github.repository == 'WordPress/wordpress-develop' &&
github.event_name != 'pull_request' &&
github.run_attempt < 2 &&
(
contains( needs.*.result, 'cancelled' ) ||
contains( needs.*.result, 'failure' )
)
steps:
- name: Dispatch workflow run
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
retries: 2
retry-exempt-status-codes: 418
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: `${context.runId}`,
}
});
31 changes: 29 additions & 2 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- '.github/workflows/install-testing.yml'
- '.version-support-*.json'
- '.github/workflows/reusable-support-json-reader-v1.yml'
- '.github/workflows/reusable-download-wordpress-release.yml'
pull_request:
# Always test the workflow when changes are suggested.
paths:
Expand All @@ -27,6 +28,7 @@ on:
- '.version-support-*.json'
- '.github/workflows/install-testing.yml'
- '.github/workflows/reusable-support-json-reader-v1.yml'
- '.github/workflows/reusable-download-wordpress-release.yml'

schedule:
- cron: '0 0 * * 1'
Expand Down Expand Up @@ -59,6 +61,16 @@ jobs:
with:
wp-version: ${{ inputs.wp-version }}

# Downloads a release zip once for every matrix job, waiting until WordPress.org serves it.
download-wordpress:
name: Download WordPress
uses: $/.github/workflows/reusable-download-wordpress-release.yml
permissions:
contents: read
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
with:
version: ${{ inputs.wp-version || 'nightly' }}

# Test the WordPress installation process through WP-CLI.
#
# Performs the following steps:
Expand All @@ -74,7 +86,7 @@ jobs:
runs-on: ${{ matrix.os }}
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
timeout-minutes: 15
needs: [ build-test-matrix ]
needs: [ build-test-matrix, download-wordpress ]

env:
WP_ADMIN_USER: admin
Expand Down Expand Up @@ -147,9 +159,24 @@ jobs:
with:
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' }}

- name: Download the WordPress release artifact
if: ${{ needs.download-wordpress.outputs.artifact != '' }}
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: ${{ needs.download-wordpress.outputs.artifact }}
path: ${{ runner.temp }}

# WP-CLI 2.4.0 cannot install from a local zip, so unzip it.
- name: Extract WordPress
if: ${{ needs.download-wordpress.outputs.artifact != '' }}
run: |
unzip -q "${RUNNER_TEMP}/wordpress.zip" -d "${RUNNER_TEMP}"
mv "${RUNNER_TEMP}"/wordpress/* .

# WP-CLI 2.x extracts tarballs with PharData, which truncates paths longer than 100 characters.
# Zip archives are not affected, so download the zip for every version.
- name: Download WordPress
if: ${{ needs.download-wordpress.outputs.artifact == '' }}
# WP-CLI requests WordPress from WordPress.org once, so a network error fails the job.
# It extracts only after a complete download, so a retry starts from an empty directory.
uses: $/.github/actions/run-with-retry
Expand Down Expand Up @@ -187,7 +214,7 @@ jobs:
permissions:
actions: read
contents: read
needs: [ install-tests-mysql ]
needs: [ download-wordpress, install-tests-mysql ]
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
with:
calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
Expand Down
Loading
Loading