Commit Graph

26060 Commits

Author SHA1 Message Date
joedolson
beaa495197 Administration: Fix alignment in upload plugin/theme buttons.
Following [61598], the upload button for plugins and themes could cover the file information in the file input for longer internationalized strings due to absolute positioning.

Update layout to use remove absolute positioning while retaining the larger drop area.

Props audrasjb, pratiknawkar94, huzaifaalmesbah, noruzzaman, presskopp, joedolson.
Fixes #64832.
Built from https://develop.svn.wordpress.org/trunk@62090


git-svn-id: http://core.svn.wordpress.org/trunk@61372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-22 23:14:58 +00:00
joedolson
b70b0c7063 Administration: Fix radio button selection alignment.
Fix issue where the selected state dot on radio buttons was not centered when scaling is set to a value greater than 100%. Remove the `.tog` class and styles, unused since [26072].

Props presskopp, siliconforks, suhan2411, sabernhardt, shailu25, joedolson.
Fixes #64816.
Built from https://develop.svn.wordpress.org/trunk@62089


git-svn-id: http://core.svn.wordpress.org/trunk@61371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-22 23:06:55 +00:00
Sergey Biryukov
12390698ca Docs: Add missing parameter descriptions in wp-admin/includes/misc.php.
Props ravikhadka.
Fixes #64920.
Built from https://develop.svn.wordpress.org/trunk@62088


git-svn-id: http://core.svn.wordpress.org/trunk@61370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-22 22:15:05 +00:00
Sergey Biryukov
c37465ffb5 External Libraries: Update getID3 to version 1.9.25.
The latest version includes various bug fixes, as well as improvements for PHP 8.5 support.

References:
* [https://github.com/JamesHeinrich/getID3/releases/tag/v1.9.25 getID3 1.9.25 release notes]
* [https://github.com/JamesHeinrich/getID3/compare/v1.9.24...v1.9.25 Full list of changes in getID3 1.9.25]

Follow-up to [47601], [48278], [52254], [54376], [56975], [61253].

Props Presskopp, SergeyBiryukov.
Fixes #64914.
Built from https://develop.svn.wordpress.org/trunk@62087


git-svn-id: http://core.svn.wordpress.org/trunk@61369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-21 23:49:55 +00:00
Sergey Biryukov
41188387f9 Code Quality: Simplify user permission check for importing new users.
This removes a redundant conditional in the `check_import_new_users()` function, simplifying its logic to directly return the result of the permission check.

Follow-up to [https://mu.trac.wordpress.org/changeset/1829 mu:1829], [39945].

Props Soean.
See #64238.
Built from https://develop.svn.wordpress.org/trunk@62086


git-svn-id: http://core.svn.wordpress.org/trunk@61368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 22:36:59 +00:00
ellatrix
25eaaa60d2 Post WordPress 7.0 Beta 6 version bump.
Built from https://develop.svn.wordpress.org/trunk@62085


git-svn-id: http://core.svn.wordpress.org/trunk@61367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 21:43:57 +00:00
ellatrix
4a5237c703 WordPress 7.0 Beta 6.
Built from https://develop.svn.wordpress.org/trunk@62084


git-svn-id: http://core.svn.wordpress.org/trunk@61366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 21:16:58 +00:00
desrosj
f41307866a Build/Test Tools: Exclude MySQL 9.5 in Local Docker test workflow.
Only the most recent innovation release should be tested.

Follow up to [61875].

See #64227.
Built from https://develop.svn.wordpress.org/trunk@62083


git-svn-id: http://core.svn.wordpress.org/trunk@61365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 17:38:51 +00:00
Adam Silverstein
9c5a11028d Build/Test Tools: Remove empty test files left behind in [62081].
The client-side media processing removal emptied these files instead of deleting them, causing PHPCS coding standards failures.

Follow-up to [62081].

Props adamsilverstein.
See #64906.

Built from https://develop.svn.wordpress.org/trunk@62082


git-svn-id: http://core.svn.wordpress.org/trunk@61364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 17:35:58 +00:00
Adam Silverstein
42270fb5a2 Media: Remove client-side media processing feature for now.
Punt the wasm-vips client-side media processing feature to a future release when it can include more features. The VIPS WASM worker adds too much build size overhead for the current value provided. Removes all PHP functions, REST API endpoints, cross-origin isolation infrastructure, VIPS script module handling, build configuration, and associated tests.

Props adamsilverstein, jorbin.
Fixes #64906.


Built from https://develop.svn.wordpress.org/trunk@62081


git-svn-id: http://core.svn.wordpress.org/trunk@61363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 17:11:54 +00:00
mcsf
00f48b7c73 Script Loader: Print import map before classic scripts.
Should any scripts contain calls to `import()`, the browser won't be able to resolve bare import specifiers unless the import map is already in the DOM. Thus, rather than rely on hook registration order, which is fallible, ensure that the newer callback `WP_Script_Modules::print_import_map` (since 6.5.0) has a lower priority than `_wp_footer_scripts`.

Reviewed by jonsurrell.
Props mlaetitia.
Fixes #64907.


Built from https://develop.svn.wordpress.org/trunk@62080


git-svn-id: http://core.svn.wordpress.org/trunk@61362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 17:10:05 +00:00
desrosj
c847feeb7c Build/Test Tools: Only include active, stable routes in build.
The `registry.php` file within the built assets from the `gutenberg` repository contains an accurate list of active, stable routes. However, the `build/routes/` directory has the JavaScript and PHP files for all routes, regardless of their status.

This makes adjustments to the `grunt copy` tasks responsible for copying these files into the appropriate locations to extract the list of routes specified in the `registry.php` file so that only the required files are copied.

See #64393.
Built from https://develop.svn.wordpress.org/trunk@62079


git-svn-id: http://core.svn.wordpress.org/trunk@61361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 16:33:00 +00:00
ellatrix
5050db1c24 Real-time collaboration: Adjust the WP_ALLOW_COLLABORATION check in writing options.
The `WP_ALLOW_COLLABORATION` constant was introduced in [62075] to support disabling RTC at the host level or at the wp-config.php level. A part of that commit is about hiding the "Enable RTC" checkbox in the writing options when RTC is explicitly disallowed via the constant. This commit fixes an error in the condition to hide that checkbox.

Props zieladam, tyxla.
See #64904.
Built from https://develop.svn.wordpress.org/trunk@62078


git-svn-id: http://core.svn.wordpress.org/trunk@61360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 15:56:56 +00:00
desrosj
c1a268a8c1 Build/Test Tools: Move icon library SVG files to wp-includes/images.
This makes several changes to the build script to place the icon library files into more appropriate locations.
- The icon library SVG files are now copied into the `wp-includes/images/icon-library` directory instead of `wp-includes/icons`.
- The name of the `manifest.php` file has changed to `icon-library-manifest.php` and is now copied to `wp-includes/assets`.
- An unnecessary `trailingslashit()` has been removed.
- The `gutenberg-` prefix for the corresponding `grunt copy` tasks has been removed.

These values are merged into the `script-loader-packages.php` file during a `build`, so the original PHP files are not required.

Props mcsf, desrosj.
See #64393.
Built from https://develop.svn.wordpress.org/trunk@62077


git-svn-id: http://core.svn.wordpress.org/trunk@61359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 15:41:01 +00:00
ellatrix
907f74d027 Editor: Bump pinned hash for the Gutenberg repository.
This updates the pinned hash from the `gutenberg` from `487a096a9782ba6110a7686d7b4b2d0c55ed1b06` to `2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d`.

The following changes are included:

- RTC: Backport race condition fix (https://github.com/WordPress/gutenberg/pull/76649)
- Fix navigation block rendering unit test (https://github.com/WordPress/gutenberg/pull/76685)
- Hide Additional CSS controls when block is inside contentOnly editing mode (https://github.com/WordPress/gutenberg/pull/76512)
- RTC: Increase polling intervals, increase polling on primary room only (https://github.com/WordPress/gutenberg/pull/76704)
- Navigation: Avoid List View changing position when navigation block saves (https://github.com/WordPress/gutenberg/pull/76659)
- Fix navigation block unit test and e2e test (https://github.com/WordPress/gutenberg/pull/76692)
- Fix locked content when switching to a different template without exiting 'Edit pattern' (https://github.com/WordPress/gutenberg/pull/76710)
- Metabox: Fix checkbox style in sidebar (https://github.com/WordPress/gutenberg/pull/76718)
- Stop keeping stale controlled blocks after reset (https://github.com/WordPress/gutenberg/pull/76591)
- Gate client-side media processing as plugin-only (https://github.com/WordPress/gutenberg/pull/76700)

A full list of changes can be found on GitHub: 487a096a97…2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d.

Log created with:

git log --reverse --format="- %s" 487a096a9782ba6110a7686d7b4b2d0c55ed1b06..2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy

See #64595.
Built from https://develop.svn.wordpress.org/trunk@62076


git-svn-id: http://core.svn.wordpress.org/trunk@61358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 15:35:02 +00:00
ellatrix
c6e0d45c29 Real-time collaboration: Add WP_ALLOW_COLLABORATION constant.
This provides an easy way at config level to disable real-time collaboration.

Developed in: https://github.com/WordPress/wordpress-develop/pull/11311.

See #64904.
Props alecgeatches, ingeniumed, zieladam, peterwilsoncc, tyxla.

Built from https://develop.svn.wordpress.org/trunk@62075


git-svn-id: http://core.svn.wordpress.org/trunk@61357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 15:26:59 +00:00
ellatrix
87c17b8deb Real-time collaboration: Remove post list lock icon and replace user-specific lock text when RTC is enabled.
When RTC is enabled, the post list should not show an exclusive lock icon or user-specific lock text since multiple users can collaboratively edit the same post.

Merges a fix from Gutenberg: https://github.com/WordPress/gutenberg/pull/76322.

Developed in: https://github.com/WordPress/wordpress-develop/pull/11234.

See #64622.
Props maxschmeling, czarate, mcsf, shekharnwagh.


Built from https://develop.svn.wordpress.org/trunk@62074


git-svn-id: http://core.svn.wordpress.org/trunk@61356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 15:14:59 +00:00
desrosj
f54d1d8d55 Build/Test Tools: Skip copying *.min.asset.php files for scripts.
The `index.min.asset.php` file for each script bundled through the built asset from the `gutenberg` repository contains the `dependencies` and `version` hash for each script.

These values are merged into the `script-loader-packages.php` file during a `build`, so the original PHP files are not required.

Props peterwilsoncc, desrosj.
Fixes #64393.
Built from https://develop.svn.wordpress.org/trunk@62073


git-svn-id: http://core.svn.wordpress.org/trunk@61355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 13:06:03 +00:00
desrosj
c56c3603cf Build/Test Tools: Stop generating unminified .min file.
The generated `wp-includes/assets/script-loader-packages.min.php` and `wp-includes/assets/script-modules-packages.min.php` files are not actually minified. Additionally, the only purpose they serve is to pass a different script handle to the script loader (`.min.js` vs. `.js`).

This eliminates the need for those files entirely since the difference in file size is negligible, and a human-readable version is more useful.

Props peterwilsoncc, desrosj.
Fixes #64909.
Built from https://develop.svn.wordpress.org/trunk@62072


git-svn-id: http://core.svn.wordpress.org/trunk@61354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 04:17:56 +00:00
desrosj
c3721929f9 Build/Test Tools: Remove code no longer used.
This removes some configuration settings and the `copyDirectory()` function.

These files are copied by `grunt copy` as of [61873].

Props peterwilsoncc.
See #64393.
Built from https://develop.svn.wordpress.org/trunk@62071


git-svn-id: http://core.svn.wordpress.org/trunk@61353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-20 03:16:59 +00:00
luisherranz
da61e9d447 Interactivity API: fix data-wp-bind skipping valid directives after encountering an invalid one
Change `return` to `continue` in `data_wp_bind_processor` so that when an element has multiple `data-wp-bind` directives and one is invalid (empty suffix or unique ID), the invalid entry is skipped instead of causing the entire function to exit, allowing valid directives on the same element to still be processed.

Props DAreRodz, ozgursar, alexodiy.
Fixes #64518.
Built from https://develop.svn.wordpress.org/trunk@62070


git-svn-id: http://core.svn.wordpress.org/trunk@61352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 21:17:58 +00:00
desrosj
3bb0908dab Build/Test Tools: Force run grunt clean --dev before build.
Seemingly as a side effect of [61438], the built code base contains a number of files and directories that have been moved or removed.

`grunt clean` was updated to be aware of the newly expected files in [62051], but the `clean` tasks required to ensure a pristine working state are not run prior to `build`.

This runs the `clean --dev` task is run immediately before `grunt build` runs as an attempt to clean up these files by ensuring a clean `src` directory.

Props jorbin.
See #64393.
Built from https://develop.svn.wordpress.org/trunk@62069


git-svn-id: http://core.svn.wordpress.org/trunk@61351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 15:47:02 +00:00
wildworks
e20a246a65 Blocks: Fix wrapper attribute merging in get_block_wrapper_attributes().
Replace the previous generic concatenation logic in `get_block_wrapper_attributes()` with attribute-specific merge behavior:

- Add explicit merge callbacks for each attribute.
- Merge style values safely, normalize trailing semicolons, and sanitize the result.
- Merge class values with deduplication .
- Treat id and aria-label as override attributes, giving precedence to explicitly passed extra attributes.

Props adrock42, mamaduka, r1k0, westonruter, wildworks.

Fixes #64603.
Built from https://develop.svn.wordpress.org/trunk@62068


git-svn-id: http://core.svn.wordpress.org/trunk@61350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 14:40:54 +00:00
Sergey Biryukov
14e6c3409c AI: Introduce wp_supports_ai() function to control LLM-related features.
This includes a `WP_AI_SUPPORT` constant and a `wp_supports_ai` filter.

When false,
- `_wp_connectors_get_provider_settings()` will return an empty array (short-circuiting the other functionality).
- `WP_AI_Client_Prompt_Builder()` will short-circuit the construction with a `WP_Error()`. `wp_ai_client_prompt()` will still return an instance, to allow for fluidity to remain intact.

Priority: `WP_AI_SUPPORT` > `add_filter( 'wp_supports_ai', ...) > (default: true)` 

Follow-up to [61943], [61749], [61943].

Props justlevine, westonruter, gziolo, flixos90, romainmrhenry, ahortin, chrismcelroyseo, SergeyBiryukov.
See #64706.
Built from https://develop.svn.wordpress.org/trunk@62067


git-svn-id: http://core.svn.wordpress.org/trunk@61349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 13:56:50 +00:00
Sergey Biryukov
ca2035ad32 Code Quality: Simplify tag URL assignment in wp_generate_tag_cloud().
This removes a redundant ternary that no longer affects the logic after the `esc_url()` call on the tag URL was moved to the output in an earlier revision.

Follow-up to [9518], [11383], [32996].

Props Soean.
See #64898.
Built from https://develop.svn.wordpress.org/trunk@62066


git-svn-id: http://core.svn.wordpress.org/trunk@61348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 13:41:50 +00:00
audrasjb
f8ec9e956e Themes: Remove unused private method WP_Theme::_check_headers_property_has_correct_type().
Follow-up to [56835].

Props marian1, mukesh27.
Fixes #64584.


Built from https://develop.svn.wordpress.org/trunk@62065


git-svn-id: http://core.svn.wordpress.org/trunk@61347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 13:15:37 +00:00
ellatrix
59b9275f85 Real-time collaboration: fix race condition in default polling provider.
See also: https://github.com/WordPress/wordpress-develop/pull/11067.
Developed in: https://github.com/WordPress/wordpress-develop/pull/11292.

Fixes #64887.
Props czarate, westonruter, mindctrl, peterwilsoncc, joefusco.
Built from https://develop.svn.wordpress.org/trunk@62064


git-svn-id: http://core.svn.wordpress.org/trunk@61346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 13:14:53 +00:00
ellatrix
55440efe90 Editor: Bump pinned hash for the Gutenberg repository.
This updates the pinned hash from the `gutenberg` from `8c78d87453509661a9f28f978ba2c242d515563b` to `487a096a9782ba6110a7686d7b4b2d0c55ed1b06`.

The following changes are included:

- Disables anchor support for the Page Break block. (https://github.com/WordPress/gutenberg/pull/76434)
- WP Admin: Update Connectors screen footer text for consistency. (https://github.com/WordPress/gutenberg/pull/76382)
- E2E Tests: Add coverage for AI plugin callout banner on Connectors page (https://github.com/WordPress/gutenberg/pull/76432)
- Update sync docs (https://github.com/WordPress/gutenberg/pull/75972)
- RTC: Add preference for collaborator notifications (https://github.com/WordPress/gutenberg/pull/76460)
- Fix "should undo bold" flaky test (https://github.com/WordPress/gutenberg/pull/76464)
- TimePicker: Clamp month day to valid day for month (https://github.com/WordPress/gutenberg/pull/76400)
- RTC: Fix error when entity record doesn't have 'meta' property (https://github.com/WordPress/gutenberg/pull/76311)
- Navigation: Update close button size. (https://github.com/WordPress/gutenberg/pull/76482)
- TemplateContentPanel: fix useSelect warning (https://github.com/WordPress/gutenberg/pull/76421)
- DataViews: Add spinner in `DataViewsLayout` in initial load of data (https://github.com/WordPress/gutenberg/pull/76486) (https://github.com/WordPress/gutenberg/pull/76490)
- RTC: Fix TypeError in areEditorStatesEqual when selection is undefined (https://github.com/WordPress/gutenberg/pull/76163)
- Page/Post Content Focus Mode: Fix insertion into Post Content block (https://github.com/WordPress/gutenberg/pull/76477)
- Revisions: use useSubRegistry={false} to fix global store selectors (https://github.com/WordPress/gutenberg/pull/76152) (https://github.com/WordPress/gutenberg/pull/76522)
- Fix RTL styling on Connectors, Font Library, and boot-based admin pages (https://github.com/WordPress/gutenberg/pull/76496)
- RTC: Auto-register custom taxonomy rest_base values for CRDT sync (https://github.com/WordPress/gutenberg/pull/75983)
- RTC: Add a limit for the default provider (https://github.com/WordPress/gutenberg/pull/76437)
- Fix RTL styling on AI plugin callout banner (https://github.com/WordPress/gutenberg/pull/76497)
- Add command palette trigger button to admin bar (https://github.com/WordPress/gutenberg/pull/75757)
- Block Bindings: Remove source items constrained by enums (https://github.com/WordPress/gutenberg/pull/76200)
- HTML Block: Remove "unsaved changes" check (https://github.com/WordPress/gutenberg/pull/76086)
- CI: Don't build release notes during plugin build workflow for WP Core sync (https://github.com/WordPress/gutenberg/pull/76398) (https://github.com/WordPress/gutenberg/pull/76578)
- CI: Simplify strategy matrix in Build Gutenberg Plugin Zip workflow (https://github.com/WordPress/gutenberg/pull/76435) (https://github.com/WordPress/gutenberg/pull/76538)
- Media: Add hooks and extension points for client-side media processing (https://github.com/WordPress/gutenberg/pull/74913)
- RTC: Fix list sidebar reset during real-time collaboration (https://github.com/WordPress/gutenberg/pull/76025)
- RTC: Fix CRDT serialization of nested RichText attributes (https://github.com/WordPress/gutenberg/pull/76597)
- RTC: Remove post list lock icon and replace user-specific lock text (https://github.com/WordPress/gutenberg/pull/76322)
- Fix HEIC upload error handling and sub-size format (https://github.com/WordPress/gutenberg/pull/76514)
- RTC: Fix cursor index sync with rich text formatting (https://github.com/WordPress/gutenberg/pull/76418)
- RTC: Allow filtering of `SyncConnectionModal` (https://github.com/WordPress/gutenberg/pull/76554)
- RTC: Implement front-end peer limits (https://github.com/WordPress/gutenberg/pull/76565)
- Navigation overlay close button may be displayed twice (https://github.com/WordPress/gutenberg/pull/76585)
- Site Editor > Templates: fix author filter (https://github.com/WordPress/gutenberg/pull/76625)
- Revisions: Show changed block attributes in inspector sidebar (https://github.com/WordPress/gutenberg/pull/76550)
- Fix IS_GUTENBERG_PLUGIN env var override in build config  (https://github.com/WordPress/gutenberg/pull/76605)
- Real Time Collaboration: Introduce filters for the polling intervals. (https://github.com/WordPress/gutenberg/pull/76518)
- RTC: Fix RichTextData deserialization (https://github.com/WordPress/gutenberg/pull/76607)
- Cross Origin Isolation: Remove `img` from the list of elements that get mutated (https://github.com/WordPress/gutenberg/pull/76618)
- RTC: Scroll to collaborator on click (https://github.com/WordPress/gutenberg/pull/76561)
- Update changelog link for pull request 11276 (https://github.com/WordPress/gutenberg/pull/76638)
- Fix backport changelog filename (https://github.com/WordPress/gutenberg/pull/76651)
- Build: Skip non-minified build for WASM-inlined workers (https://github.com/WordPress/gutenberg/pull/76615)
- RTC: Change RTC option name (https://github.com/WordPress/gutenberg/pull/76643)
- BlockListBlock: fix crash when selectedProps are null (https://github.com/WordPress/gutenberg/pull/75826)
- Build: Fix vips worker 404 when SCRIPT_DEBUG is true (https://github.com/WordPress/gutenberg/pull/76657)
- useMediaQuery: support in-iframe queries via new `WindowContext` (https://github.com/WordPress/gutenberg/pull/76446) (https://github.com/WordPress/gutenberg/pull/76660)
- Refactor admin-ui Page component to use @wordpress/theme tokens and @wordpress/ui layout primitive (https://github.com/WordPress/gutenberg/pull/75963)
- Connectors: Improve accessibility (https://github.com/WordPress/gutenberg/pull/76456)
- Build: Remove unused JXL WASM module from vips worker (https://github.com/WordPress/gutenberg/pull/76639)
- Connectors: fix button size (https://github.com/WordPress/gutenberg/pull/76582)
- Compose: Implement useCopyToClipboard and useCopyOnClick with native clipboard API (https://github.com/WordPress/gutenberg/pull/75723) (https://github.com/WordPress/gutenberg/pull/76663)
- Connectors: Fetch specific plugin instead of all plugins (https://github.com/WordPress/gutenberg/pull/76594)
- Revisions: Add Meta fields diff panel to document sidebar (https://github.com/WordPress/gutenberg/pull/76341)
- Loosen client-side media processing requirements (https://github.com/WordPress/gutenberg/pull/76616)
- Reduce the added halo for selected block. (https://github.com/WordPress/gutenberg/pull/76619)
- Connectors: Add unregisterConnector and upsert support (https://github.com/WordPress/gutenberg/pull/76541)

A full list of changes can be found on GitHub: 8c78d87453…487a096a9782ba6110a7686d7b4b2d0c55ed1b06.

Log created with:

git log --reverse --format="- %s" 8c78d87453509661a9f28f978ba2c242d515563b..487a096a9782ba6110a7686d7b4b2d0c55ed1b06 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy

See #64595.
Built from https://develop.svn.wordpress.org/trunk@62063


git-svn-id: http://core.svn.wordpress.org/trunk@61345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 12:40:51 +00:00
desrosj
5a790f3806 Build/Test Tools: Remove unused block editor sync scripts.
After [61438] the block editor-related code maintained in the `gutenberg` repository is no longer managed using npm dependencies. The `sync-gutenberg-packages` and `postsync-gutenberg-packages` scripts were specifically meant to manage the update process for those packages, so they’re no longer needed.

Props youknowriad, mamaduka, SirLouen, jtquip88.
Fixes #62839. See #64393.
Built from https://develop.svn.wordpress.org/trunk@62062


git-svn-id: http://core.svn.wordpress.org/trunk@61344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 12:36:50 +00:00
desrosj
fb85808716 Build/Test Tools: Reclassify json2php as a devDependency.
This dependency is responsible for transforming some JSON files to PHP ones. But since this is not included in the distributed software, it should not be specified as a `dependency`.

Props nimeshatxecurify, royhridoy, phpbits, dilip2615, noruzzaman.
Fixes #64221.
Built from https://develop.svn.wordpress.org/trunk@62061


git-svn-id: http://core.svn.wordpress.org/trunk@61343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 12:28:56 +00:00
desrosj
857d992a31 External Libraries: Update underscore to 1.13.8.
A full list of changes can be found on GitHub: https://github.com/jashkenas/underscore/compare/1.13.7...1.13.8.

Props jonsurrell.
Fixes #64891.
Built from https://develop.svn.wordpress.org/trunk@62060


git-svn-id: http://core.svn.wordpress.org/trunk@61342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 10:32:55 +00:00
audrasjb
d0de6b2308 General: Remove unused dynamic $features variable from the constructor of class-ftp.php.
This fixes a PHP 8.2 deprecation, by removing the dynamic `$features` property from the ftp class as it is not used anywhere.

Props kmurphyzuora, debarghyabanerjee, hellofromTonya, peter8nss.
Fixes #62159.


Built from https://develop.svn.wordpress.org/trunk@62059


git-svn-id: http://core.svn.wordpress.org/trunk@61341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 09:31:49 +00:00
ellatrix
6b8653c397 Real-time collaboration: change to opt-in (off-by-default).
See: https://wordpress.slack.com/archives/C07NVJ51X6K/p1773850504196589.

We are intentionally changing the option name so that it will be off-by-default for everyone, including those that installed a beta release where the feature was on-by-default.

Developed in: https://github.com/WordPress/wordpress-develop/pull/11289.

Fixes #64845.
Props czarate, peterwilsoncc, jorbin.
Built from https://develop.svn.wordpress.org/trunk@62058


git-svn-id: http://core.svn.wordpress.org/trunk@61340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 07:36:45 +00:00
audrasjb
80babf626c Application Passwords: Ensure the password field displays correctly on small screens.
This changeset improves the responsiveness of the Application password input field.

Follow-up to [62043].

Props ekla, audrasjb, nimeshatxecurify.
Fixes #64880.


Built from https://develop.svn.wordpress.org/trunk@62057


git-svn-id: http://core.svn.wordpress.org/trunk@61339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 07:12:48 +00:00
gziolo
27ab724ef7 Connectors: Allow hyphens in connector IDs
Expands the connector ID validation regex from `/^[a-z0-9_]+$/` to `/^[a-z0-9_-]+$/`, aligning with the PHP AI Client library naming conventions. Hyphens are normalized to underscores when generating `setting_name` (e.g., `azure-openai` → `connectors_ai_azure_openai_api_key`).

Developed in https://github.com/WordPress/wordpress-develop/pull/11285.

Props pers, gziolo, jorgefilipecosta, westonruter, flixos90, mukesh27.
Fixes #64861.


Built from https://develop.svn.wordpress.org/trunk@62056


git-svn-id: http://core.svn.wordpress.org/trunk@61338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 06:51:51 +00:00
Adam Silverstein
141125abff Build: Exclude non-minified VIPS files from grunt module copy.
Add an exclusion for non-minified VIPS files to match the existing filter in `tools/gutenberg/copy.js`. This prevents ~16 MB `worker.js` from being copied alongside the nearly identically-sized `worker.min.js`.

Props adamsilverstein, zieladam, desrosj.
Fixes #64884.


Built from https://develop.svn.wordpress.org/trunk@62055


git-svn-id: http://core.svn.wordpress.org/trunk@61337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 04:46:51 +00:00
Aaron Jorbin
8745a4388b General: Use functions that are more random to reduce likelihood of UUID collisions.
`mt_rand` produces not fully random numbers which makes it so `wp_generate_uuid4` was more likely to produce a uuid which collides with another uuid it produced. This attempts to make those collisions much less likely.

Since `wp_rand` is a pluggable function, it's not loaded until after plugins have been loaded. In order to make it so this function can still be used early, it falls back first to `random_int`, which will throw an exception if it can't find an appropriate source of randomness, and then to the existing, but flawed, `mt_rand`.

Props johnbillion, peterwilsoncc, westonruter, mukesh27, siliconforks, alexodiy, juanmaguitar, audrasjb, joppuyo, jorbin.
Fixes #59239.

Built from https://develop.svn.wordpress.org/trunk@62054


git-svn-id: http://core.svn.wordpress.org/trunk@61336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 03:50:54 +00:00
desrosj
fc8aebd996 Build/Test Tools: Update some third-party GitHub Actions.
This updates the following GitHub Actions:
- `actions/cache` from `5.0.3` to `5.0.4`
- `codecov/codecov-action` from `5.5.2` to `5.5.3`

This resolves the final `node20`-related deprecation notices being triggered by GitHub Actions.

See #64227.
Built from https://develop.svn.wordpress.org/trunk@62053


git-svn-id: http://core.svn.wordpress.org/trunk@61335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 03:12:50 +00:00
desrosj
55f374798f Build/Test Tools: Copy block editor files to src after download.
The block editor-related files were previously present in the `src` directory and subject to version control. However, [61439] removed them from version control and has broken some workflows and testing setups that run the PHPUnit tests from `src`.	

There is work ongoing to restore those files to version control with their respective change history. But until that happens, this updates the `download.js` script and `gutenberg:download` Grunt task to run `build:gutenberg —dev` every time the build asset is downloaded to ensure the files are present in `src`.

Props mywp459, amykamala, jorbin.
Fixes #64716. See #64393.
Built from https://develop.svn.wordpress.org/trunk@62052


git-svn-id: http://core.svn.wordpress.org/trunk@61334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 02:49:52 +00:00
desrosj
d76a087c26 Build/Test Tools: Update the grunt clean task after [61438].
The list of files cleaned through `grunt clean` was not updated as part of [61438]. This results in files persisting within `src/wp-includes` even after= they are removed.

Props jorbin.
Fixes #64716. See #64393.
Built from https://develop.svn.wordpress.org/trunk@62051


git-svn-id: http://core.svn.wordpress.org/trunk@61333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 01:35:46 +00:00
desrosj
b0c70cdb99 Build/Test Tools: Update npm devDependencies.
This updates the following `devDependencies`:

- `@playwright/test` from `1.56.1` to `1.58.2`
- `@pmmmwh/react-refresh-webpack-plugin` from `0.6.1` to `0.6.2`
- `@types/jquery` from `3.5.33` to `3.5.34`
- `@types/underscore` from `1.11.15` to `1.13.0`
- `@wordpress/e2e-test-utils-playwright` from `1.33.2` to `1.41.0`
- `@wordpress/prettier-config` from `4.33.1` to `4.41.0`
- `@wordpress/scripts` from `30.26.2` to `31.6.0`
- `autoprefixer` from `10.4.22` to `10.4.27`
- `cssnano` from `7.1.2` to `7.1.3`
- `dotenv` from `17.2.3` to `17.3.1`
- `grunt-sass` from `~4.0.1` to `~4.1.0`
- `grunt-webpack` from `7.0.0` to `7.0.1`
- `postcss` from `8.5.6` to `8.5.8`
- `qunit` from `~2.24.2` to `~2.25.0`
- `sass` from `1.94.0` to `1.98.0`
- `terser-webpack-plugin` from `5.3.14` to `5.4.0`
- `wait-on` from `9.0.3` to `9.0.4`
- `webpack` from `5.98.0` to `5.105.4`

Props westonruter, jonsurrell, desrosj.
Fixes #64230.
Built from https://develop.svn.wordpress.org/trunk@62050


git-svn-id: http://core.svn.wordpress.org/trunk@61332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 01:10:59 +00:00
desrosj
14a688c8ae General: Include example for disclosing AI usage.
Follow up to [61593].

Props jeffpaul, westonruter, gziolo, mukesh27.
Fixes #64587.
Built from https://develop.svn.wordpress.org/trunk@62049


git-svn-id: http://core.svn.wordpress.org/trunk@61331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 00:27:43 +00:00
Adam Silverstein
f873449293 Media: Remove IMG from crossorigin attribute injection.
Under `Document-Isolation-Policy: isolate-and-credentialless`, the browser's credentialless mode already handles cross-origin image loading without requiring CORS headers. Explicitly adding `crossorigin="anonymous"` to `<img>` elements overrides this behavior and forces a CORS preflight request, breaking images from servers that don't include `Access-Control-Allow-Origin` in their response headers.

This also removes the related `imagesrcset` handling from `LINK` elements, which had the same issue for `<link>` preload tags for images.

See related Gutenberg issue: https://github.com/WordPress/gutenberg/issues/76476.

Follow-up to [61844], [61846].

Props adamsilverstein, swissspidy.
Fixes #64886.

Built from https://develop.svn.wordpress.org/trunk@62048


git-svn-id: http://core.svn.wordpress.org/trunk@61330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-19 00:11:48 +00:00
Sergey Biryukov
70526b0030 Query: Check that taxonomy query var is a string in WP_Query::parse_tax_query().
This prevents a fatal error from `urldecode()` in `wp_basename()` if an array is passed instead.

Follow-up to [15732], [15824], [15825], [15923], [16155], [50565], [60927].

Props patricedefago, alexodiy, SergeyBiryukov.
Fixes #64870.
Built from https://develop.svn.wordpress.org/trunk@62047


git-svn-id: http://core.svn.wordpress.org/trunk@61329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-18 21:03:50 +00:00
Felix Arntz
55eefd630b AI: Update PHP AI Client package to 1.3.1.
This package update fixes two bugs related to parsing function calls and function responses.

See release: https://github.com/WordPress/php-ai-client/releases/tag/1.3.1

See #64591.

Built from https://develop.svn.wordpress.org/trunk@62046


git-svn-id: http://core.svn.wordpress.org/trunk@61328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-18 17:51:48 +00:00
audrasjb
8062e5ac0e Coding Standards: Remove unused $tax variable in edit_term_link().
This changeset removes an unused variable assignment in `edit_term_link()`.

Props soean, mukesh27.
Fixes #64881.


Built from https://develop.svn.wordpress.org/trunk@62045


git-svn-id: http://core.svn.wordpress.org/trunk@61327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-18 16:56:50 +00:00
audrasjb
277fffbce2 Networks and Sites: Allow filtering signup link redirect when a blog is not found.
This changeset applies the existing `network_site_url` filter to the signup link redirect used when the blog is not found.

Props calin, realloc, audrasjb, peterwilsoncc.
Fixes #48323.


Built from https://develop.svn.wordpress.org/trunk@62044


git-svn-id: http://core.svn.wordpress.org/trunk@61326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-18 11:00:42 +00:00
audrasjb
4f66486d59 Administration: Increase the width of the application password input field.
This changeset ensures application password is fully shown in the related input field, after the UI changes shipped in 7.0.

Follow-up to [61645].

Props johnbillion, nimeshatxecurify, jsmansart, amin7, huzaifaalmesbah, abdullah17.
Fixes #64738.


Built from https://develop.svn.wordpress.org/trunk@62043


git-svn-id: http://core.svn.wordpress.org/trunk@61325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-18 08:26:48 +00:00
desrosj
6321d8cf55 Build/Test Tools: Test 6.9 in upgrade testing workflows.
This sets 6.9 as the most recent branch of WordPress in the upgrade testing workflows.

Props jorbin.
See #64227, #64235.
Built from https://develop.svn.wordpress.org/trunk@62042


git-svn-id: http://core.svn.wordpress.org/trunk@61324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-18 01:02:51 +00:00
Weston Ruter
edad882ed5 Docs: Indicate that get_posts() can take a query string in addition to an array of query vars.
A string is supported by virtue of `wp_parse_args()` being used on the supplied arguments. While a string is not currently passed to `get_posts()` in core, a significant number of plugins are doing so. So in addition to documenting actual ecosystem usage, this also adds a test to ensure that supplying a query string continues to be supported in the future.

Developed in https://github.com/WordPress/wordpress-develop/pull/11179

Follow-up to r11528.

Props rodrigosprimo, westonruter, shailu25, mukesh27.
See #64224, #10047.
Fixes #64813.

Built from https://develop.svn.wordpress.org/trunk@62041


git-svn-id: http://core.svn.wordpress.org/trunk@61323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-17 21:09:49 +00:00