Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2318 commits
Select commit Hold shift + click to select a range
38beb41
Build/Test Tools: Share the client-side media upload E2E helpers.
lancewillett Nov 4, 2026
1468e13
Upgrade/Install: Detect a `.git` file when checking for a VCS checkout.
SergeyBiryukov Nov 4, 2026
38d9580
Build/Test Tools: Use web-first assertions in more E2E tests.
lancewillett Nov 4, 2026
a99e724
Build/Test Tools: Switch the E2E theme before the other resets.
lancewillett Nov 4, 2026
58911ba
Date/Time: Correct argument types in `WP_Date_Query`.
westonruter Nov 4, 2026
a87c255
Comments: Add conditional return types to comment date functions.
westonruter Nov 4, 2026
21e4da0
External Libraries: Remove build dependent jQuery file tests.
peterwilsoncc Nov 4, 2026
985cab8
Build/Test Tools: Introduce phpstan-strict-rules.
westonruter Nov 4, 2026
a7bb8a9
Build/Test Tools: Retry failed and stalled downloads in CI setup.
lancewillett Nov 4, 2026
135a187
Tests: Cover five more admin AJAX handlers.
lancewillett Nov 4, 2026
f59de42
KSES: Clarify that `valid_unicode()` checks XML Char ranges.
lancewillett Nov 4, 2026
4e77779
Docs: Allow numeric strings for date parts and meta IDs.
westonruter Nov 4, 2026
2789bf4
Tests: Use pretty permalinks by default in the test suite.
lancewillett Nov 4, 2026
89c71c8
Tests: Run the AVIF quality test with both image editors.
lancewillett Nov 4, 2026
7516662
Security: Improve Secrets API tests and inline documentation.
peterwilsoncc Nov 5, 2026
c5d7a00
Editor: Show the placeholder of empty excerpt, description, and autho…
oandregal Nov 5, 2026
1288084
Build/Test Tools: Add an E2E fixtures module and a WP-CLI helper.
lancewillett Nov 5, 2026
9e83306
Build/Test Tools: Use user-facing locators in E2E tests.
lancewillett Nov 5, 2026
49e9d0e
Build/Test Tools: Only declare the default group filter where PHPUnit…
lancewillett Nov 5, 2026
7c270b8
Tests: Load the WP_Upgrader classes in the WP_Automatic_Updater tests.
lancewillett Nov 5, 2026
8c41f66
Build/Test Tools: Implement `stream_flush()` in `WP_Test_Stream`.
desrosj Nov 5, 2026
514f33b
Build/Test Tools: Add MySQL 26.10 to the relevant test matrices.
desrosj Nov 5, 2026
4097ac9
Build/Test Tools: Test against MariaDB 12.3 and 13.0.
desrosj Nov 5, 2026
7032470
Code Quality: Fix the `nullCoalesce.property` PHPStan error.
westonruter Nov 5, 2026
e5cb560
Code Quality: Fix the `booleanAnd.alwaysFalse` PHPStan error.
westonruter Nov 5, 2026
a1eedfb
Tests: Remove redundant `null` call in `get_the_content_feed()` cover…
SergeyBiryukov Nov 5, 2026
a5c4449
Tests: Remove redundant registration cleanup from post and query tests.
lancewillett Nov 5, 2026
480b39d
Tests: Remove redundant registration cleanup from term and taxonomy t…
lancewillett Nov 5, 2026
dfaafdf
Tests: Remove redundant registration cleanup from controller and admi…
lancewillett Nov 5, 2026
83e5061
Tests: Remove redundant registration cleanup from presentation tests.
lancewillett Nov 5, 2026
d62baff
Tests: Keep the test taxonomy available during term-parent fixture de…
lancewillett Nov 5, 2026
11418a6
Tests: Remove redundant per-test cleanup in canonical post-status tests.
lancewillett Nov 5, 2026
cfdb7a1
Tests: Add tests for `wp_ajax_time_format()`.
lancewillett Nov 5, 2026
392e2a3
Tests: Add a test for `wp_ajax_logged_in()`.
lancewillett Nov 5, 2026
91b5099
Build/Test Tools: Use the PCOV extension included in local Docker ima…
desrosj Nov 6, 2026
830f997
Administration: Remove unnoticeable notice from RSS dashboard Widget.
peterwilsoncc Nov 6, 2026
39e403e
Media: Report failed image writes to streams.
desrosj Nov 6, 2026
54312c7
General: Replace `is_a()` conditions with `instanceOf` for PHP 8.6 co…
peterwilsoncc Nov 6, 2026
4110c7f
Abilities API: Document input preparation for direct permission checks
gziolo Nov 6, 2026
6af9238
Tests: Extend coverage for core abilities
gziolo Nov 6, 2026
3fe7aba
Abilities API: Require a registered category for abilities
gziolo Nov 6, 2026
ed8c807
Build/Test Tools: Remove script to run Gutenberg E2E tests in Core.
desrosj Nov 6, 2026
8045dc4
Build/Test Tools: Raise the maximum PHP version for PHPStan.
desrosj Nov 6, 2026
2f5f4cd
Build/Test Tools: Wait for maintenance mode to end in E2E tests.
lancewillett Nov 6, 2026
0c0ab54
Build/Test Tools: Replace E2E site state hooks with fixtures.
lancewillett Nov 6, 2026
17c1421
Tests: Make template, theme and other data providers public and static.
lancewillett Nov 6, 2026
6c50c45
Build/Test Tools: Use `spl_object_id()` in `_test_filter_build_unique…
desrosj Nov 6, 2026
2185178
Build/Test Tools: Remove the unused `cssnano` dependency.
desrosj Nov 6, 2026
6f82d7e
Build/Test Tools: Remove `WP_BASE_URL` from `.env.example`.
desrosj Nov 6, 2026
b28924e
Code Modernization: Simplify `isset()` guards that initialize empty a…
SergeyBiryukov Nov 6, 2026
28d2f50
Code Quality: Define array shapes for block selectors and viewports.
westonruter Nov 6, 2026
f190296
Upload: Accept both valid MIME types reported for TrueType fonts.
desrosj Nov 6, 2026
27307a2
Tests: Run the cURL transport tests without live external HTTP.
lancewillett Nov 6, 2026
7c61d67
Tests: Use a distinct slug in the taxonomy E2E test.
lancewillett Nov 6, 2026
2360fd4
Tests: Cover Media Library search.
lancewillett Nov 6, 2026
7613799
Tests: Cover posting a comment from the front end.
lancewillett Nov 6, 2026
12b8e41
Administration: Restore hover styles on adminbar for color schemes.
joedolson Nov 6, 2026
d2fc75d
Toolbar: A11y: Add skip link to bypass the toolbar.
joedolson Nov 6, 2026
a640b11
Tests: Use the `Tests_` prefix for nine test classes.
lancewillett Nov 7, 2026
7b4073c
Commit message:
lancewillett Nov 7, 2026
a1004b2
Tests: Cover bulk deleting categories and empty term searches.
lancewillett Nov 7, 2026
9d0a755
Tests: Move the `wp_mkdir_p()` tests to the current folder layout.
lancewillett Nov 7, 2026
02671ac
Tests: Cover adding export and erase personal data requests.
lancewillett Nov 7, 2026
b6091aa
Tests: Cover searching installed themes.
lancewillett Nov 7, 2026
9733f27
Site Health: Use a passing label for the insecure registration test.
lancewillett Nov 7, 2026
76e2268
Tests: Run the streams transport tests without live external HTTP.
lancewillett Nov 7, 2026
0ce3312
Tests: Cover the self-demotion guard and empty user searches.
lancewillett Nov 7, 2026
e8e85ad
Tests: Align `_test_filter_build_unique_id` with `_wp_filter_build_un…
SergeyBiryukov Nov 7, 2026
c05f7a6
Administration: Prevent multiple menus from showing active in nav.
joedolson Nov 8, 2026
fc67fdc
Twenty Twenty Four: Adjust text input border colors for a11y.
joedolson Nov 8, 2026
11c6f48
Twenty Twenty Five: Adjust text input border colors for a11y.
joedolson Nov 8, 2026
83c101d
Twenty Twenty Five: Add accessibility.txt file.
joedolson Nov 8, 2026
80d0290
Media: Support specific media types that map to video but contain audio.
joedolson Nov 8, 2026
6e6d13a
Editor: Add vertical margin between Save Draft and Preview.
joedolson Nov 8, 2026
3d87084
Docs: Document `description` for block pattern categories.
SergeyBiryukov Nov 8, 2026
e9c543c
Interactivity API: Align server-side data-wp-html processing with cli…
luisherranz Nov 9, 2026
491aaf1
Code Modernization: Simplify duotone and theme.json defaults
t-hamano Nov 9, 2026
4899c66
Editor: Summarize the `date` panel of the post form with `publish_date`.
oandregal Nov 9, 2026
9060414
Tests: Remove the `$start` argument from `WP_UnitTest_Generator_Seque…
lancewillett Nov 9, 2026
0d3d217
Build/Test Tools: Stop the General Settings E2E specs from running to…
lancewillett Nov 9, 2026
e4cfb66
Build/Test Tools: Wait for menu saves in the classic menus E2E test.
lancewillett Nov 9, 2026
3b74194
Plugins: Update custom plugin group counts after deleting a plugin.
SergeyBiryukov Nov 9, 2026
606ee79
Build/Test Tools: Retry failing E2E tests once in CI.
lancewillett Nov 9, 2026
b375a3f
Twenty Twenty Four: A11y: Add `aria-label` in default menu names.
joedolson Nov 9, 2026
a0ee6f6
Twenty Twenty Four: A11y: Add `accessibility.txt`.
joedolson Nov 9, 2026
170b436
Tests: Add helpers for reading and setting protected image editor pro…
lancewillett Nov 9, 2026
30aca97
Build/Test Tools: Add a remember method to the E2E site fixtures.
lancewillett Nov 9, 2026
1b1fd1e
Twenty Twenty: Replace the abandoned `stylelint-a11y` dependency.
desrosj Nov 9, 2026
fb581ee
Media: Keep non-image uploads on the classic upload path.
adamsilverstein Nov 9, 2026
05e9f11
Twenty Twenty: Update to Node.js 24.x.
desrosj Nov 9, 2026
10751a5
Administration: Restore the full-width upload folder row on Settings …
audrasjb Nov 9, 2026
31c4994
Twenty Seventeen: Replace an asset reference that does not use a lice…
audrasjb Nov 9, 2026
4ab069f
Application Passwords: Pass unslashed data to hooks.
johnbillion Nov 9, 2026
781803b
Twenty Nineteen: Replace whitespace character for heading decoration.
audrasjb Nov 9, 2026
11806ef
Twenty Nineteen: Partially revert [65362] to exclude version controll…
audrasjb Nov 9, 2026
c5e5072
Twenty Nineteen: Partially revert [65362] to exclude version controll…
audrasjb Nov 9, 2026
85e1d49
Twenty Nineteen: Revert [65362] to fix a Unit test issue on version-c…
audrasjb Nov 10, 2026
055b013
Bundled Themes: Update Ipsum for 7.2 Beta 5.
peterwilsoncc Nov 10, 2026
39b25ce
Media: Use `imageflip()` to flip images with GD.
desrosj Nov 10, 2026
c636204
Abilities API: Skip redundant input sanitization in the REST run endp…
gziolo Nov 10, 2026
49121d7
REST API: Accept a post object in global styles `prepare_links()`.
westonruter Nov 10, 2026
d30bfa8
Abilities API: Replace `coerce_input()` with `prepare_input()`
gziolo Nov 10, 2026
71051fc
Interactivity API: Choose the `data-wp-html` placeholder marker in li…
luisherranz Nov 10, 2026
19d7268
Build/Test Tools: Add a script to fix stale PHPStan baselines.
westonruter Nov 10, 2026
46dd5b0
Security: Keep the Secrets API root key after a failed read.
whyisjake Nov 10, 2026
7441357
Plugins: List `secrets.php` as a drop-in.
whyisjake Nov 10, 2026
9f50c08
Security: Harden secret names, parameters and the root key field.
whyisjake Nov 10, 2026
496200b
Tests: Cover deprecated block feature selectors in theme.json
t-hamano Nov 10, 2026
978c4c5
Security: Document the Secrets API hardening tests.
whyisjake Nov 10, 2026
8034f20
Security: Let the `secrets.php` drop-in set plain variables.
whyisjake Nov 10, 2026
ba924ab
General: Bump the pinned hash for Gutenberg to `1b0dc90`.
Mamaduka Nov 10, 2026
bd03c6e
Build/Test Tools: Wait for login autofocus in the self-demotion E2E t…
lancewillett Nov 10, 2026
4d080dd
Build/Test Tools: Revoke application passwords after each E2E test.
lancewillett Nov 10, 2026
260ddc4
Build/Test Tools: Add a post factory fixture to the E2E tests.
lancewillett Nov 10, 2026
2b4b7f6
External Libraries: Update Requests library to version 2.0.21.
desrosj Nov 10, 2026
0747041
General: Officially declare support for PHP 8.6.
desrosj Nov 10, 2026
f2ffb32
Security: Require `WP_SECRETS_KEY` for the Secrets API.
whyisjake Nov 10, 2026
83014ed
External Libraries: Include new file added in Requests 2.0.21.
desrosj Nov 10, 2026
d947d02
Security: Correct the Secrets API Site Health reports.
whyisjake Nov 10, 2026
06aa265
General: Ensure `svn:eol-style` is consistently set for recently adde…
lancewillett Nov 10, 2026
9d9043c
Security: Generate `WP_SECRETS_KEY` during installation.
whyisjake Nov 10, 2026
46115d5
Security: Make the Secrets API extension points abstract classes.
whyisjake Nov 10, 2026
4c25f8c
WordPress 7.2 Beta 5.
audrasjb Nov 10, 2026
1c6cb87
Post WordPress 7.2 Beta 5 version bump.
audrasjb Nov 10, 2026
d1af3ae
Build/Test Tools: Add a user factory fixture to the E2E tests.
lancewillett Nov 10, 2026
341c410
Security: Move Secrets API Site Health checks into `WP_Site_Health`.
whyisjake Nov 10, 2026
0b25c19
Docs: Mark the internal Secrets API helper functions as private.
whyisjake Nov 10, 2026
6a8e0f8
Build/Test Tools: Make the file watcher pick up changes reliably.
westonruter Nov 10, 2026
a308428
Tests: Remove redundant registration cleanup.
lancewillett Nov 10, 2026
c455619
External Libraries: Update `sodium_compat` to version `1.24.2`.
desrosj Nov 10, 2026
31a6fb4
Database: Bump the recommended version of MySQL to 8.4.
johnbillion Nov 10, 2026
12d0d6d
Tests: Make the remaining data providers public and static.
SergeyBiryukov Nov 10, 2026
4e844e7
Docs: Add missing documentation for the `view_script_module_ids` prop…
johnbillion Nov 11, 2026
55493c3
Build/Test Tools: Isolate media uploads and application passwords in …
Nov 11, 2026
b1f0c9f
Build/Test Tools: Run media grid and modal E2E specs in parallel.
lancewillett Nov 11, 2026
aca2a31
Tests: Use the public API for REST user post type cleanup.
lancewillett Nov 11, 2026
212521f
Blocks: Non-string documents should parse as empty arrays.
dmsnell Nov 11, 2026
62fb7f4
Docs: Correct the order of annotations in some files per the document…
Nov 11, 2026
19bb507
Docs: Remove duplicate words and correct a typo in inline comments.
SergeyBiryukov Nov 11, 2026
748d6d3
Blocks: Correctly document the blockName property as being nullable.
dmsnell Nov 12, 2026
4a45fdb
Tests: Limit upload directory isolation to the Core test suite.
lancewillett Nov 12, 2026
dd5ce8e
Code Quality: Resolve return.unusedType PHPStan errors.
westonruter Nov 12, 2026
d814e53
I18N: Print translations for the script modules that scripts depend on.
jorgefilipecosta Nov 12, 2026
9f4e523
Build/Test Tools: Run post-list E2E specs in parallel.
lancewillett Nov 12, 2026
fe7757a
Build/Test Tools: Properly delete `tests/gutenberg` directory.
desrosj Nov 12, 2026
ff91766
External Libraries: Update getID3 to version `1.9.28`.
desrosj Nov 12, 2026
7582eb5
Editor: Improve Style Engine types and avoid a fatal error.
westonruter Nov 12, 2026
54c0b80
Build/Test Tools: Enable same-file E2E parallelism.
lancewillett Nov 12, 2026
cdfa334
Rewrite Rules: Always redirect random content requests.
aaronjorbin Nov 12, 2026
6872cd4
Rewrite Rules: Give top rewrite rules priority over random content ru…
aaronjorbin Nov 12, 2026
0e18cda
Tests: Tighten admin and update assertions.
lancewillett Nov 12, 2026
f76a6c0
Tests: Cover EXIF date whitespace handling.
lancewillett Nov 12, 2026
3202f5d
Tests: Cover the RSS site-information display filter.
lancewillett Nov 12, 2026
a3d4ab4
Tests: Cover term sanitization for editing.
lancewillett Nov 12, 2026
496e882
External Libraries: Upgrade PHPMailer to version 7.2.0.
SergeyBiryukov Nov 12, 2026
7a52e6e
Build/Test Tools: Parse expectation annotations without PHPUnit.
lancewillett Nov 12, 2026
b102f99
Security: Mark two more Secrets API parameters as sensitive.
johnbillion Nov 13, 2026
00fef79
Build/Test Tools: Update GitHub-hosted runners.
desrosj Nov 13, 2026
24fa674
Tests: Cover the escaped comments link in feeds.
lancewillett Nov 13, 2026
5a81747
Tests: Cover the scheme of the feed self link.
lancewillett Nov 13, 2026
4a96bbd
Build/Test Tools: Cover replacing an installed theme with an uploaded…
lancewillett Nov 13, 2026
464fbd7
Build/Test Tools: Skip client-side media E2E tests only in unsupporte…
lancewillett Nov 13, 2026
e783653
Build/Test Tools: Use `create_upload_object()` in more attachment tests.
lancewillett Nov 13, 2026
331d6d6
Build/Test Tools: Switch more attachment tests to `create_upload_obje…
lancewillett Nov 13, 2026
54e8ce6
Docs: Clarify how to access results of an existing WP_Query.
SergeyBiryukov Nov 13, 2026
0e1dac4
Date/Time: Pass only valid weekday numbers to `WP_Locale`.
westonruter Nov 13, 2026
f7c6511
Rewrite Rules: Send the random content redirect on template_redirect.
aaronjorbin Nov 14, 2026
7002dcc
Posts, Post Types: Accept an array `exclude` in `wp_list_pages()`.
westonruter Nov 14, 2026
f939960
Rewrite Rules: Fire template_redirect in the random content redirect …
aaronjorbin Nov 14, 2026
126e1a9
Code Modernization: Use the null coalescing assignment operator for i…
SergeyBiryukov Nov 14, 2026
322bffc
Code Modernization: Use the null coalescing assignment operator in `w…
SergeyBiryukov Nov 15, 2026
f76fc76
Plugins: Clarify dependency notes on the Plugins screen.
peterwilsoncc Nov 16, 2026
c7b8fdc
Media: Stop enabling client-side uploads on plugin-isolated screens.
adamsilverstein Nov 16, 2026
ce5226f
Media: Enable sideloading sub-sizes in the output format on multisite.
adamsilverstein Nov 16, 2026
a190602
Code Quality: Use `decimal-int-string` for integer strings.
westonruter Nov 16, 2026
3370233
Code Modernization: Use the null coalescing assignment operator in `w…
SergeyBiryukov Nov 16, 2026
0239f9b
Rewrite Rules: Redirect random searches to the search results.
aaronjorbin Nov 16, 2026
55885f6
Build/Test Tools: Update PHPStan to 2.3.6.
westonruter Nov 16, 2026
53ea800
Security: Revert the Secrets API.
peterwilsoncc Nov 17, 2026
7224d97
Tests: Remove TrueType font detection skips for PHP 8.6.
desrosj Nov 17, 2026
1cbbc37
Connectors: Prompt for filesystem credentials on install.
peterwilsoncc Nov 17, 2026
dfd3b0e
External Libraries: Update jQuery Form to version `4.4.0`.
peterwilsoncc Nov 17, 2026
3943b1d
Query: Select random redirect posts by random post ID.
aaronjorbin Nov 17, 2026
3f307a7
General: Bump the pinned hash for Gutenberg to `61aba54`.
Mamaduka Nov 17, 2026
e81433e
Twenty Nineteen: Replace single space in pseudo-elements.
audrasjb Nov 17, 2026
cdeaf6a
Privacy: Add a check for post status in `wp_privacy_send_personal_dat…
audrasjb Nov 17, 2026
d0d8998
Editor: Keep excerpt popover below media modal.
audrasjb Nov 17, 2026
12b4d3f
Privacy: Revert [65545].
audrasjb Nov 17, 2026
84ced0c
Application Passwords: Wrap long application names on the Authorize A…
audrasjb Nov 17, 2026
497a9e5
Bundled Themes: Update Ipsum for 7.2 RC 1.
Mamaduka Nov 17, 2026
b4f3b98
Media: Ignore bare EXIF `UserComment` character codes.
audrasjb Nov 17, 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
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
689cb33
Tests: Cover `wp_strict_cross_origin_referrer()`.
SergeyBiryukov 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
fa98870
Merge branch 'trunk' into fcc/register-comment-type
adamsilverstein Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 19 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ LOCAL_PORT=8889
# Where to run WordPress from. Valid options are 'src' and 'build'.
LOCAL_DIR=src

# Whether or not to enable text compression (gzip) in the web server.
# Valid options are 'on' and 'off'.
LOCAL_NGINX_COMPRESSION=off

# How long browsers may cache static assets served by the web server, as an nginx `expires` value.
# Valid options are 'off' and a duration such as '1y'. A far-future duration matches typical
# production behavior, but edited CSS and JavaScript is then served stale until a hard reload.
LOCAL_NGINX_STATIC_EXPIRES=off

# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
LOCAL_PHP=latest

Expand All @@ -36,6 +45,16 @@ LOCAL_PHP_XDEBUG_MODE=develop,debug
# Whether or not to enable Memcached.
LOCAL_PHP_MEMCACHED=false

##
# Whether or not to enable PCOV.
#
# PCOV is not interoperable with Xdebug. To use PCOV, `LOCAL_PHP_XDEBUG` must be
# set to `false`. When both are enabled, Xdebug is used and PCOV is disabled.
#
# PCOV is only available for PHP 7.4 and higher.
##
LOCAL_PHP_PCOV=false

##
# The database software to use.
#
Expand Down Expand Up @@ -65,9 +84,6 @@ LOCAL_WP_ENVIRONMENT_TYPE=local
LOCAL_WP_DEVELOPMENT_MODE=core
LOCAL_WP_TESTS_DOMAIN=example.org

# The URL to use when running e2e tests.
WP_BASE_URL=http://localhost:${LOCAL_PORT}

##
# This silences the tips output by the dotenv package.
##
Expand Down
26 changes: 0 additions & 26 deletions .eslintignore

This file was deleted.

113 changes: 86 additions & 27 deletions .eslintrc-jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,88 @@
module.exports = {
rules: {
'require-jsdoc': 'off',
'valid-jsdoc': [ 'error', {
prefer: {
arg: 'param',
argument: 'param',
extends: 'augments',
returns: 'return',
/**
* ESLint v10 flat config file for JSDoc linting.
* This config is based on the original valid-jsdoc rules.
*/

const jsdocPlugin = require( 'eslint-plugin-jsdoc' );

module.exports = [
{
plugins: {
jsdoc: jsdocPlugin,
},
settings: {
jsdoc: {
tagNamePreference: {
'arg': 'param',
'argument': 'param',
'extends': 'augments',
'returns': 'return',
},
preferredTypes: {
'array': 'Array',
'bool': 'boolean',
'Boolean': 'boolean',
'float': 'number',
'Float': 'number',
'function': 'Function',
'int': 'number',
'integer': 'number',
'Integer': 'number',
'Number': 'number',
'object': 'Object',
'String': 'string',
'Void': 'void',
},
},
preferType: {
array: 'Array',
bool: 'boolean',
Boolean: 'boolean',
float: 'number',
Float: 'number',
int: 'number',
integer: 'number',
Integer: 'number',
Number: 'number',
object: 'Object',
String: 'string',
Void: 'void',
},
requireParamDescription: false,
requireReturn: false,
} ],
},
rules: {
'jsdoc/check-alignment': 'error',
'jsdoc/check-indentation': [ 'error', {
excludeTags: [
'deprecated',
'example',
'param',
'property',
'return',
'since',
'todo',
],
} ],
'jsdoc/check-line-alignment': [ 'error', 'always', {
tags: [ 'param', 'property' ],
} ],
'jsdoc/check-param-names': 'error',
'jsdoc/check-property-names': 'error',
'jsdoc/check-syntax': 'error',
'jsdoc/check-tag-names': [ 'error', {
definedTags: [
'memberOf',
'output',
'ticket',
'link',
],
} ],
'jsdoc/check-types': 'error',
'jsdoc/no-blank-blocks': 'error',
'jsdoc/no-blank-block-descriptions': 'error',
'jsdoc/require-description': 'error',
'jsdoc/require-hyphen-before-param-description': [ 'error', 'never' ],
'jsdoc/require-jsdoc': 'error',
'jsdoc/require-param': [ 'error', {
enableFixer: false,
} ],
'jsdoc/require-param-description': 'error',
'jsdoc/require-param-name': 'error',
'jsdoc/require-param-type': 'error',
'jsdoc/require-property': 'error',
'jsdoc/require-property-name': 'error',
'jsdoc/require-property-description': 'error',
'jsdoc/require-property-type': 'error',
'jsdoc/require-returns': 'error',
'jsdoc/require-returns-check': 'error',
'jsdoc/require-returns-description': 'error',
'jsdoc/require-returns-type': 'error',
'jsdoc/valid-types': 'error',
},
},
};
];
13 changes: 13 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# actionlint does not recognize the `ubuntu-26.04` GitHub-hosted runner label yet.
# This can be removed once the pinned actionlint version includes it in its list of known labels.
self-hosted-runner:
labels:
- ubuntu-26.04

# actionlint does not support the `$/` self-repository `uses:` syntax yet.
# See https://github.com/rhysd/actionlint/issues/711.
paths:
.github/workflows/**/*.yml:
ignore:
- 'specifying action "\$/[^"]+" in invalid format because ref is missing'
- 'reusable workflow call "\$/[^"]+" at "uses" is not following the format'
23 changes: 23 additions & 0 deletions .github/actions/download-with-retry/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Download with retry'
description: 'Downloads a file with curl, retrying on any error.'

inputs:
url:
description: 'The URL to download.'
required: true
output:
description: 'The path to save the file to, relative to the workspace.'
required: true

runs:
using: 'composite'
steps:
- name: Download the file
shell: bash
# A stalled attempt (connecting for over 30 s, or under 1 KB/s for 30 s) fails and is
# retried: curl has no transfer timeout, and `timeout-minutes` would end the step unretried.
# No retry starts after 10 minutes, so a long `Retry-After` can't stretch the waits.
run: curl --fail --no-progress-meter --location --retry 5 --retry-all-errors --retry-max-time 600 --connect-timeout 30 --speed-limit 1024 --speed-time 30 --output "$OUTPUT" "$URL"
env:
URL: ${{ inputs.url }}
OUTPUT: ${{ inputs.output }}
28 changes: 28 additions & 0 deletions .github/actions/run-with-retry/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Run with retry'
description: 'Runs a Bash command, retrying it when it fails. For downloads curl can retry itself, use download-with-retry.'

inputs:
command:
description: 'The Bash command to run. It runs as code: read values from the `env` of the calling step, not from expressions.'
required: true

runs:
using: 'composite'
steps:
- name: Run the command
shell: bash
# Waits 10 s, then 20 s, between attempts, like `tools/local-env/scripts/utils.js`.
run: |
for (( attempt = 1; attempt <= MAX_ATTEMPTS; attempt++ )); do
if bash -eo pipefail -c "$COMMAND"; then
exit 0
fi
echo "::warning::Command failed on attempt $attempt of $MAX_ATTEMPTS."
if (( attempt < MAX_ATTEMPTS )); then
sleep $(( attempt * 10 ))
fi
done
exit 1
env:
COMMAND: ${{ inputs.command }}
MAX_ATTEMPTS: 3
66 changes: 66 additions & 0 deletions .github/actions/setup-npm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: 'Set up npm'
description: 'Installs the npm version required by the devEngines field of package.json, so every job resolves dependencies identically. Keeps the bundled npm when the field is absent.'

inputs:
working-directory:
description: 'Optional. The directory holding the package.json to read the required npm version from. Defaults to the workspace root.'
required: false
default: '.'
cache:
description: 'Optional. Whether to restore and save the npm cache. Defaults to true.'
required: false
default: 'true'

runs:
using: 'composite'
steps:
- name: Install npm
id: npm
env:
WORKING_DIRECTORY: ${{ inputs.working-directory }}
NPM_INSTALL_MAX_ATTEMPTS: 3
run: |
NPM_VERSION="$(jq -r '.devEngines.packageManager.version // empty' package.json)"
if [ -n "$NPM_VERSION" ]; then
# Contributors need the floor; CI stays on that major's newest release.
# The registry can reset the connection mid-download (ECONNRESET), so retry.
for (( attempt = 1; attempt <= NPM_INSTALL_MAX_ATTEMPTS; attempt++ )); do
if npm install --global "npm@${NPM_VERSION/>=/^}"; then
break
fi
echo "::warning::npm install failed on attempt $attempt of $NPM_INSTALL_MAX_ATTEMPTS."
if (( attempt == NPM_INSTALL_MAX_ATTEMPTS )); then
exit 1
fi
sleep $(( attempt * 10 ))
done
echo "Required npm version: $NPM_VERSION"
else
echo "No devEngines.packageManager.version, keeping the bundled npm."
fi
echo "Installed npm version: $(npm --version)"

# actions/setup-node cannot restore the npm cache: it locates the
# directory with `npm config get cache`, which runs before this step
# and fails the devEngines check under the bundled npm.
echo "cache-dir=$(npm config get cache | tr -d '\r')" >> "$GITHUB_OUTPUT"

# Scopes the cache key to this package and keeps the hashFiles patterns
# workspace-relative and free of a "./" prefix, so they match the same
# files as every other cache key.
PATH_PREFIX=""
if [ "$WORKING_DIRECTORY" != '.' ] && [ -n "$WORKING_DIRECTORY" ]; then
PATH_PREFIX="${WORKING_DIRECTORY%/}/"
fi
echo "path-prefix=$PATH_PREFIX" >> "$GITHUB_OUTPUT"
working-directory: ${{ inputs.working-directory }}
shell: bash

- name: Cache npm downloads
if: ${{ inputs.cache == 'true' }}
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ steps.npm.outputs.cache-dir }}
key: npm-cache-${{ runner.os }}-${{ runner.arch }}-${{ steps.npm.outputs.path-prefix }}lock-${{ hashFiles(format('{0}package-lock.json', steps.npm.outputs.path-prefix), format('{0}patches/**', steps.npm.outputs.path-prefix)) }}
restore-keys: |
npm-cache-${{ runner.os }}-${{ runner.arch }}-${{ steps.npm.outputs.path-prefix }}lock-
50 changes: 50 additions & 0 deletions .github/actions/setup-wp-cli/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: 'Set up WP-CLI'
description: 'Installs WP-CLI as `wp`, retrying the download and falling back to a previously cached phar when it fails.'

inputs:
version:
description: 'Optional. The WP-CLI version to install, e.g. 2.4.0. Defaults to the latest release.'
required: false
default: 'latest'

# Not installed with the setup-php `tools` input: that downloads WP-CLI in a single attempt
# and only logs an error on failure, so the job breaks later with `wp: command not found`.
# The phar is cached in 6 hour windows, so jobs keep getting new WP-CLI releases without each
# downloading it. When a new window's download fails, the previous window's phar is used instead.
runs:
using: 'composite'
steps:
- name: Get the WP-CLI cache window
id: get-wp-cli-window
shell: bash
run: echo "window=$(( $(/bin/date -u '+%s') / WP_CLI_CACHE_SECONDS ))" >> "$GITHUB_OUTPUT"
env:
WP_CLI_CACHE_SECONDS: 21600 # 6 hours.

- name: Cache WP-CLI
id: cache-wp-cli
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ runner.temp }}/wp-cli.phar
key: ${{ runner.os }}-wp-cli-${{ inputs.version }}-${{ steps.get-wp-cli-window.outputs.window }}
restore-keys: ${{ runner.os }}-wp-cli-${{ inputs.version }}-

- name: Install WP-CLI
shell: bash
run: |
if [ "$CACHE_HIT" != 'true' ]; then
if curl --fail --silent --show-error --location --retry 5 --retry-all-errors \
--output "${RUNNER_TEMP}/wp-cli.phar.download" "$WP_CLI_URL"; then
mv "${RUNNER_TEMP}/wp-cli.phar.download" "${RUNNER_TEMP}/wp-cli.phar"
elif [ -f "${RUNNER_TEMP}/wp-cli.phar" ]; then
echo "::warning::Could not download WP-CLI, using the previously cached version."
else
echo "::error::Could not download WP-CLI."
exit 1
fi
fi
sudo install -m 0755 "${RUNNER_TEMP}/wp-cli.phar" /usr/local/bin/wp
wp --version
env:
CACHE_HIT: ${{ steps.cache-wp-cli.outputs.cache-hit }}
WP_CLI_URL: ${{ inputs.version == 'latest' && 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar' || format('https://github.com/wp-cli/wp-cli/releases/download/v{0}/wp-cli-{0}.phar', inputs.version) }}
20 changes: 20 additions & 0 deletions .github/actions/smoke-check/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Smoke check a WordPress installation'
description: 'Serves an installed single site with PHP built-in web server and checks that its front end, REST API, and admin respond.'

inputs:
admin-user:
description: 'The username of an administrator account on the site.'
required: true
admin-password:
description: 'The password of the administrator account.'
required: true

runs:
using: 'composite'
steps:
- name: Serve the site and check it
shell: bash
run: bash "${GITHUB_ACTION_PATH}/smoke-check.sh"
env:
WP_ADMIN_USER: ${{ inputs.admin-user }}
WP_ADMIN_PASSWORD: ${{ inputs.admin-password }}
Loading
Loading