Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
487 commits
Select commit Hold shift + click to select a range
79ea61a
Tests: Check admin bar visibility on the front end.
lancewillett Nov 3, 2026
fe87a1b
Tests: Check that saving General Settings keeps the theme options.
lancewillett Nov 3, 2026
7086b03
Tests: Check permalinks for post titles with a percent sign and digits.
lancewillett Nov 3, 2026
457a26f
Tests: Remove block styles theme support in the tests that require it…
lancewillett Nov 3, 2026
e98fa1c
Tests: Compare HTML semantically in the `serialize_token()` attribute…
lancewillett Nov 3, 2026
16a1d52
Build/Test Tools: Fix static analysis issues in `HashNotationVisitor`.
westonruter Nov 3, 2026
658bcc5
Docs: Move the `oembed_min_max_width` shape to its docblock.
westonruter Nov 3, 2026
65b18f9
Tests: Stop passing objects to static methods through Reflection.
desrosj Nov 3, 2026
5fa0439
Build/Test Tools: Use PR number for `concurrency` groups instead of `…
desrosj Nov 3, 2026
2f8310c
Rewrites: Avoid fatal errors when flushing rules for random content.
aaronjorbin Nov 3, 2026
09f64b6
Build/Test Tools: Keep default-excluded groups excluded when using `-…
lancewillett Nov 4, 2026
d3a6d6c
Tests: Remove a test file committed by mistake in [65251].
lancewillett Nov 4, 2026
8f64fc4
Tests: Cover `find_core_update()`.
lancewillett Nov 4, 2026
7176af3
Tests: Cover `get_taxonomies_for_attachments()`.
lancewillett Nov 4, 2026
69c4b53
Tests: Cover the `post_mime_types` filter in `get_post_mime_types()`.
lancewillett Nov 4, 2026
c1ae72e
Tests: Cover the `the_permalink_rss` filter and escaping in `the_perm…
lancewillett Nov 4, 2026
4e4783f
Tests: Cover the `get_wp_title_rss` filter in `get_wp_title_rss()`.
lancewillett Nov 4, 2026
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
8dd09ec
Merge remote-tracking branch 'upstream/trunk' into css-api/css-token-…
sirreal 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
86a3471
Merge remote-tracking branch 'upstream/trunk' into css-api/css-token-…
sirreal Nov 18, 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
2ba0673
Merge remote-tracking branch 'upstream/trunk' into css-api/css-token-…
sirreal Nov 19, 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
  •  
  •  
  •  
13 changes: 10 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,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 @@ -74,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
6 changes: 6 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 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:
Expand Down
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
13 changes: 12 additions & 1 deletion .github/actions/setup-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,22 @@
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.
npm install --global "npm@${NPM_VERSION/>=/^}"
# 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."
Expand Down
4 changes: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Hi there! Thanks for contributing to WordPress!

Pull Requests in this GitHub repository **must** be linked to a ticket in the WordPress Core Trac instance (https://core.trac.wordpress.org), and are only used for code review. **No pull requests will be merged on GitHub.**

See the WordPress Handbook page on using PRs for Code Review more information: https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/
See the WordPress Handbook page on using PRs for Code Review for more information: https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/

Do not open pull requests for security vulnerabilities. Please follow the responsible disclosure policy instead: https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/

If this is your first time contributing, you may also find reviewing these guides first to be helpful:
- FAQs for New Contributors: https://make.wordpress.org/core/handbook/tutorials/faq-for-new-contributors/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ on:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# The concurrency group contains the workflow name and the pull request number for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ phpcs, jshint, slack-notifications ]
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,16 @@ on:
- 'tools/vendors/**'
- 'tools/webpack/**'
- '.github/actions/setup-npm/**'
- '.github/actions/download-with-retry/**'
- '.github/workflows/end-to-end-tests.yml'
- '.github/workflows/reusable-end-to-end-tests*.yml'
workflow_dispatch:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# The concurrency group contains the workflow name and the pull request number for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -82,10 +83,13 @@ jobs:
fail-fast: false
matrix:
LOCAL_SCRIPT_DEBUG: [ true, false ]
# See the "Projects" section in tests/e2e/README.md.
test-group: [ 'parallel', 'serial' ]
# A matrix value is needed in the 'name' directive for proper grouping in the GitHub UI.
label: [ 'E2E Tests' ]
with:
LOCAL_SCRIPT_DEBUG: ${{ matrix.LOCAL_SCRIPT_DEBUG }}
test-group: ${{ matrix.test-group }}

slack-notifications:
name: Slack Notifications
Expand All @@ -105,7 +109,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ e2e-tests, slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/failed-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# - Restarts all failed jobs when the workflow fails or is cancelled for the first time.
failed-workflow:
name: Rerun a workflow
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
timeout-minutes: 30
Expand Down
35 changes: 23 additions & 12 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
# Always test the workflow after it's updated.
paths:
- '.github/actions/setup-wp-cli/**'
- '.github/actions/run-with-retry/**'
- '.github/actions/smoke-check/**'
- '.github/workflows/install-testing.yml'
- '.version-support-*.json'
Expand All @@ -21,6 +22,7 @@ on:
# Always test the workflow when changes are suggested.
paths:
- '.github/actions/setup-wp-cli/**'
- '.github/actions/run-with-retry/**'
- '.github/actions/smoke-check/**'
- '.version-support-*.json'
- '.github/workflows/install-testing.yml'
Expand All @@ -37,9 +39,9 @@ on:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# The concurrency group contains the workflow name and the pull request number for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ inputs.wp-version || github.event_name == 'pull_request' && github.head_ref || github.sha }}
group: ${{ github.workflow }}-${{ inputs.wp-version || github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
db-type: [ 'mysql' ]
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
Expand All @@ -104,11 +106,16 @@ jobs:
- db-version: '9.4'
- db-version: '9.5'
- db-version: '9.6'
- db-version: '26.7'
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2'
db-version: '9.7'
- php: '7.3'
db-version: '9.7'
- php: '7.2'
db-version: '26.10'
- php: '7.3'
db-version: '26.10'

services:
database:
Expand Down Expand Up @@ -138,16 +145,20 @@ jobs:
- name: Set up WP-CLI
uses: $/.github/actions/setup-wp-cli
with:
version: ${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && '2.4.0' || 'latest' }}
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' }}

# WP-CLI extracts tarballs with PharData, which truncates paths longer than 100 characters.
# Nightly builds are only available as a zip, which is not affected.
# 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
run: |
case "${WP_VERSION}" in
nightly|trunk) wp core download --version=nightly ;;
*) curl -fsSL "https://wordpress.org/wordpress-${WP_VERSION}.tar.gz" | tar xz --strip-components=1 ;;
esac
# 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
with:
command: |
case "${WP_VERSION}" in
nightly|trunk) wp core download --version=nightly ;;
*) wp core download "https://wordpress.org/wordpress-${WP_VERSION}.zip" ;;
esac
env:
WP_VERSION: ${{ inputs.wp-version || 'nightly' }}

Expand Down Expand Up @@ -189,7 +200,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ on:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# The concurrency group contains the workflow name and the pull request number for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/javascript-type-checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ on:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# The concurrency group contains the workflow name and the pull request number for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/local-docker-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ on:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# The concurrency group contains the workflow name and the pull request number for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
memcached: [ false, true ]
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
Expand All @@ -113,8 +113,9 @@ jobs:
- db-version: '9.4'
- db-version: '9.5'
- db-version: '9.6'
# No PHP 8.5 + Memcached support yet.
- php: '8.5'
- db-version: '26.7'
# No PHP 8.6 + Memcached support yet.
- php: '8.6'
memcached: true

with:
Expand Down Expand Up @@ -142,7 +143,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ build-test-matrix, environment-tests-mysql, slack-notifications ]
Expand Down
Loading
Loading