Skip to content

[pull] trunk from WordPress:trunk#1

Open
pull[bot] wants to merge 2822 commits into
AKJUS:trunkfrom
WordPress:trunk
Open

[pull] trunk from WordPress:trunk#1
pull[bot] wants to merge 2822 commits into
AKJUS:trunkfrom
WordPress:trunk

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jul 18, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label Jul 18, 2024
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 19, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @felixarntz, @desrosj602fd350-edb4-49c9-b593-d223f7449a82.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

Core Committers: Use this line as a base for the props when committing in SVN:

Props audrasjb, sergeybiryukov, adamsilverstein, desrosj, jorbin, gziolo, ellatrix, wildworks, luisherranz, mcsf, joedolson, pento, zieladam, westonruter, jorgefilipecosta, dmsnell.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

desrosj and others added 24 commits March 19, 2026 15:45
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62069 602fd350-edb4-49c9-b593-d223f7449a82
… 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62070 602fd350-edb4-49c9-b593-d223f7449a82
This removes some configuration settings and the `copyDirectory()` function.

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

Props peterwilsoncc.
See #64393.

git-svn-id: https://develop.svn.wordpress.org/trunk@62071 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62072 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62073 602fd350-edb4-49c9-b593-d223f7449a82
…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: WordPress/gutenberg#76322.

Developed in: #11234.

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



git-svn-id: https://develop.svn.wordpress.org/trunk@62074 602fd350-edb4-49c9-b593-d223f7449a82
This provides an easy way at config level to disable real-time collaboration.

Developed in: #11311.

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


git-svn-id: https://develop.svn.wordpress.org/trunk@62075 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `487a096a9782ba6110a7686d7b4b2d0c55ed1b06` to `2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d`.

The following changes are included:

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

A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/487a096a9782ba6110a7686d7b4b2d0c55ed1b06…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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62076 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62077 602fd350-edb4-49c9-b593-d223f7449a82
…riting 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62078 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62079 602fd350-edb4-49c9-b593-d223f7449a82
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.



git-svn-id: https://develop.svn.wordpress.org/trunk@62080 602fd350-edb4-49c9-b593-d223f7449a82
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.



git-svn-id: https://develop.svn.wordpress.org/trunk@62081 602fd350-edb4-49c9-b593-d223f7449a82
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.


git-svn-id: https://develop.svn.wordpress.org/trunk@62082 602fd350-edb4-49c9-b593-d223f7449a82
Only the most recent innovation release should be tested.

Follow up to [61875].

See #64227.

git-svn-id: https://develop.svn.wordpress.org/trunk@62083 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/trunk@62084 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62086 602fd350-edb4-49c9-b593-d223f7449a82
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]
* [JamesHeinrich/getID3@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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62087 602fd350-edb4-49c9-b593-d223f7449a82
…hp`.

Props ravikhadka.
Fixes #64920.

git-svn-id: https://develop.svn.wordpress.org/trunk@62088 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62089 602fd350-edb4-49c9-b593-d223f7449a82
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.

git-svn-id: https://develop.svn.wordpress.org/trunk@62090 602fd350-edb4-49c9-b593-d223f7449a82
…s()`.

There is no need to initialize `$post_counts` as an empty array, since it will be overwritten directly by the filter value in the next line.

Follow-up to [54262].

Props Soean.
See #64238.

git-svn-id: https://develop.svn.wordpress.org/trunk@62091 602fd350-edb4-49c9-b593-d223f7449a82
Displays a search icon before the shortcut text in desktop view to clarify the item's purpose.

Follow-up to [61912], [61979].

Props sabernhardt, siliconforks, presskopp, westonruter, wildworks.
See #64672.

git-svn-id: https://develop.svn.wordpress.org/trunk@62092 602fd350-edb4-49c9-b593-d223f7449a82
desrosj and others added 30 commits May 14, 2026 13:48
This updates the pinned hash from the `gutenberg` from `c15cef1d6b07f666df28dac0383bafb0edfe0914 ` to `3a4e8d1418d25da83b70158bcaabf65580690b6b`.

The following changes are included:

- [WP.7.0] Admin UI: Backport accessibility fixes (WordPress/gutenberg#77617, WordPress/gutenberg#78001) (WordPress/gutenberg#78002)
- Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511)
- feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521)
- Connectors: Avoid using centered text (WordPress/gutenberg#78125)
- Revisions: Add tooltip to diff marker buttons  (WordPress/gutenberg#77690)
- Add backport for WP_ALLOW_COLLABORATION (WordPress/gutenberg#78160)
- Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140)
- Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671)
- Connectors: Replace @wordpress/ui Link and Notice usage (WordPress/gutenberg#78117)
- Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126)
- isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78201)
- Connectors: Restyle AI plugin callout with pastel background and beaker decoration (WordPress/gutenberg#78243)
- Block supports: Optimize custom CSS class rendering and parsing (WordPress/gutenberg#78217)
- Block Inspector: Hide Styles tab in preview mode (WordPress/gutenberg#78230)
- Navigation Link: Preserve custom labels during link updates (WordPress/gutenberg#77186)
- Editor: Fix Visual Revisions meta keys overlap (WordPress/gutenberg#78156)
- Editor: Disable Visual Revisions when classic meta boxes are present (WordPress/gutenberg#78249) (WordPress/gutenberg#78286)
- Revisions: Scale diff markers width with user text-size preference (WordPress/gutenberg#78273)

A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/c15cef1d6b07f666df28dac0383bafb0edfe0914…3a4e8d1418d25da83b70158bcaabf65580690b6b.

Log created with:

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

Reviewed by desrosj.
Merges [62360] to `trunk`.

See #64595.

git-svn-id: https://develop.svn.wordpress.org/trunk@62361 602fd350-edb4-49c9-b593-d223f7449a82
Introducing the new content for the 7.0 About page.

Fixes #64536.
Props mukesh27, audrasjb, jorbin, ankit-k-gupta, parinpanjari, fcoveram, joen, markoserb, Benjamin_Zekavica, westonruter, peterwilsoncc, JeffPaul.



git-svn-id: https://develop.svn.wordpress.org/trunk@62362 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [48412].

Props pbearne.
Fixes #65187.

git-svn-id: https://develop.svn.wordpress.org/trunk@62366 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [37619].

Props pbearne.
Fixes #65193.

git-svn-id: https://develop.svn.wordpress.org/trunk@62367 602fd350-edb4-49c9-b593-d223f7449a82
…k footer/defer.

A classic script with `module_dependencies` may be evaluated before the script modules import map is printed if it loads blocking in the document head, causing a "Failed to resolve module specifier" error on dynamic imports.

* Trigger `_doing_it_wrong()` from `_wp_scripts_add_args_data()` when a classic script provides `module_dependencies` without setting `in_footer` to `true` or using a `defer` loading `strategy`, and document this requirement in the `wp_register_script()` and `wp_enqueue_script()` docblocks.
* Remove the `module_dependencies` arg from the `wp-codemirror` script registration in favor of passing the espree module URL directly through `wp_get_code_editor_settings()`. This avoids registering `espree` as a publicly-available script module when it is only ever used internally as a private implementation detail of the code editor.
* Add a `console.warn()` in `wp.codeEditor.initialize()` when invoked before `DOMContentLoaded`, so developers are alerted if the function is called too early for the import map to have been parsed.
* Add PHPStan types which were missing when `module_dependencies` were initially introduced.
* Harden `WP_Scripts::add_data()` against non-string `strategy` values being passed to `sprintf()`.

Developed in #11788

Follow-up to r61587.

Props khokansardar, westonruter, jonsurrell, jorbin.
See #61500, #64238.
Fixes #65165.


git-svn-id: https://develop.svn.wordpress.org/trunk@62368 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [10607].

Props pbearne.
Fixes #65182.

git-svn-id: https://develop.svn.wordpress.org/trunk@62369 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [62313], [62352], [62366].

See #64894.

git-svn-id: https://develop.svn.wordpress.org/trunk@62370 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [31736].

Props pbearne.
Fixes #65192.

git-svn-id: https://develop.svn.wordpress.org/trunk@62371 602fd350-edb4-49c9-b593-d223f7449a82
This updates Lodash to the latest version, `14.18.1`.

A full list of changes can be found on GitHub: lodash/lodash@4.17.23...4.18.1.

Props johnbillion.
Fixes #65264.

git-svn-id: https://develop.svn.wordpress.org/trunk@62372 602fd350-edb4-49c9-b593-d223f7449a82
…s CSS styles.

This changeset reverts a negative `-4px` margin on `#poststuff #post-body` introduced in [61646].

Follow-up to [61646], [61759], [62284].

Props TobiasBg, umeshnevase, audrasjb, jadavsanjay, khokansardar, darshitrajyaguru97, gaurangsondagar.
Fixes #65141.



git-svn-id: https://develop.svn.wordpress.org/trunk@62377 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `3a4e8d1418d25da83b70158bcaabf65580690b6b ` to `a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd`.

The following changes are included:

- Bump the github-actions group across 1 directory with 5 updates (WordPress/gutenberg#76530) (WordPress/gutenberg#78298)
- Improve GHCR asset publishing and expand trigger events to include `pull_request` (WordPress/gutenberg#78211) (WordPress/gutenberg#78324)
- I18N: Polyfill script module translations for WordPress < 7.0 (WordPress/gutenberg#77214)
- Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) (WordPress/gutenberg#78370)
- Connectors: Consolidate WP 7.0 compat loading and move from experimental (WordPress/gutenberg#78228) (WordPress/gutenberg#78371)
- RTC: Make sync/collaboration APIs private (WordPress/gutenberg#78267)
- Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797)
- Script Loader: Defer single-page admin init until DOMContentLoaded (Trac WordPress/gutenberg#65103) (WordPress/gutenberg#78136)

A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/3a4e8d1418d25da83b70158bcaabf65580690b6b…a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd.

Log created with:

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

See #64595.

git-svn-id: https://develop.svn.wordpress.org/trunk@62380 602fd350-edb4-49c9-b593-d223f7449a82
Props desrosj, ellatrix.
Fixes #65273.

git-svn-id: https://develop.svn.wordpress.org/trunk@62383 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [41851].

Props pbearne.
Fixes #65175.

git-svn-id: https://develop.svn.wordpress.org/trunk@62388 602fd350-edb4-49c9-b593-d223f7449a82
This sets 7.0 as the most recent branch of WordPress in the upgrade testing workflows.

See #64893, #64966.




git-svn-id: https://develop.svn.wordpress.org/trunk@62392 602fd350-edb4-49c9-b593-d223f7449a82
This removes 24 certificates from the bundle.

See #64969.

git-svn-id: https://develop.svn.wordpress.org/trunk@62393 602fd350-edb4-49c9-b593-d223f7449a82
… field

The `core/get-site-info` ability resolved the `language` field via `get_bloginfo( 'language' )`, which runs through `determine_locale()` and can return the current user's locale in the admin context. As a site-level ability, the `language` field should consistently represent the site locale. Use `get_locale()` (with `_` normalized to `-`) instead so the value reflects the site locale regardless of the requesting user.

Props iamadisingh, afercia, audrasjb, yusufmudagal, r1k0, gziolo.
Fixes #64977.




git-svn-id: https://develop.svn.wordpress.org/trunk@62396 602fd350-edb4-49c9-b593-d223f7449a82
Introduce four filters that give plugins hook points across the ability execution lifecycle, complementing the existing observation-only actions
(`wp_before_execute_ability`, `wp_after_execute_ability`):

- `wp_pre_execute_ability`: short-circuits `execute()` when it returns a value other than the supplied default.
- `wp_ability_normalize_input`: transforms input inside `normalize_input()`, and returning `WP_Error` halts execution.
- `wp_ability_permission_result`: overrides the `permission_callback` result inside `check_permissions()`, consistently for `execute()` and direct callers.
- `wp_ability_execute_result`: transforms the result inside `do_execute()` before output validation, and can recover from execute callback failures.

The input and result filters fire before their respective schema validation steps, so `validate_input()` and `validate_output()` remain the final integrity gates. Only `wp_pre_execute_ability` can bypass validation, with the caller owning the returned value's shape.

Add `WP_Filter_Sentinel`, a reusable marker class loaded alongside `WP_Hook`, whose per-instance identity lets a filter default be distinguished from any
user value — including `null`, `false`, or arbitrary objects — via `===`.

Update `WP_REST_Abilities_V1_Run_Controller::check_ability_permissions()` to propagate `WP_Error` results from `normalize_input()` directly, defaulting to
status 400 while preserving filter-set statuses (e.g. 422, 429).

Props gziolo, westonruter, migueluy.
Fixes #64989.



git-svn-id: https://develop.svn.wordpress.org/trunk@62397 602fd350-edb4-49c9-b593-d223f7449a82
Introduce the `wp_ability_validate_input` and `wp_ability_validate_output` filters so developers can layer custom validation on top of the default JSON
Schema checks, either augmenting an existing WP_Error or rejecting otherwise valid data.

Props priethor, gziolo, westonruter, enej.
Fixes #64311.



git-svn-id: https://develop.svn.wordpress.org/trunk@62398 602fd350-edb4-49c9-b593-d223f7449a82
he REST run controller for the Abilities API already preserves a custom
HTTP status returned by `wp_ability_normalize_input` filter errors. Apply
the same behavior to validation errors from `wp_ability_validate_input`:
a `WP_Error` is only defaulted to a 400 status when it does not already
include one.

The shared defaulting logic is extracted into a new private
`ensure_error_status()` helper and reused for both normalization and
validation errors.

Follow-up to [62398].
See #64311.



git-svn-id: https://develop.svn.wordpress.org/trunk@62399 602fd350-edb4-49c9-b593-d223f7449a82
On the mobile admin viewport, interactive elements on list table pages had inconsistent heights. Give them a consistent height.

Follow-up to [61645].

Props andrewssanya, sainathpoojary, wildworks.
See #64999.

git-svn-id: https://develop.svn.wordpress.org/trunk@62400 602fd350-edb4-49c9-b593-d223f7449a82
Ability names are pattern-validated at registration, so `esc_html()` on them is always a no-op. Drop it from the `WP_Error` messages, which are commonly serialized to JSON where the escaping would be incorrect.

Follow-up to [62398].
See #64311.



git-svn-id: https://develop.svn.wordpress.org/trunk@62401 602fd350-edb4-49c9-b593-d223f7449a82
This ensures that the the performance testing workflow is providing meaningful data to track performance regressions and improvements.

Props mukesh27.
Fixes #65289.

git-svn-id: https://develop.svn.wordpress.org/trunk@62402 602fd350-edb4-49c9-b593-d223f7449a82
Developed in #11808

Props desrosj, johnbillion

See #64893


git-svn-id: https://develop.svn.wordpress.org/trunk@62403 602fd350-edb4-49c9-b593-d223f7449a82
This updates the following GitHub Actions to their latest versions:

- `actions/upload-artifact` from `7.0.0` to ` 7.0.1`
- `shivammathur/setup-php` from `2.37.0` to ` 2.37.1`
- `actions/setup-node` from `6.3.0` to ` 6.4.0`
- `actions/cache` from `5.0.4` to ` 5.0.5`
- `github/codeql-action` from `4.33.0` to ` 4.35.4`
- `slackapi/slack-github-action` from `3.0.1` to ` 3.0.3`

See #64893.

git-svn-id: https://develop.svn.wordpress.org/trunk@62404 602fd350-edb4-49c9-b593-d223f7449a82
…Abilities API tests.

These are redundant: `WP_UnitTestCase_Base::tear_down()` runs `::_restore_hooks()`, which restores `$wp_filter`/`$wp_actions` to a pre-test baseline, so hooks added during a test are removed automatically.

Follow-up to [61032].

Props mohamedahamed, gziolo, westonruter, SergeyBiryukov.
Fixes #65301.

git-svn-id: https://develop.svn.wordpress.org/trunk@62405 602fd350-edb4-49c9-b593-d223f7449a82
Recent attempts to change the `BASE_TAG` version in the Performance Testing workflows  in [60324] and [62402] have failed due to memory exhaustion errors when trying to download the version using WP-CLI in the local Docker environment.

While the. performance tests are run within the Docker environment, there’s no hard requirement for the `wp core download` command to happen through the `wordpressdevelop/cli` conatiner. This adjusts the workflow to perform the failing WP-CLI call within the GitHub Action runner and outside of Docker to avoid the memory exhaustion issue.

Props westonruter, swissspidy.
Fixes #65289.

git-svn-id: https://develop.svn.wordpress.org/trunk@62406 602fd350-edb4-49c9-b593-d223f7449a82
This adds `9.7` (released on April 21, 2026) to the relevant testing strategies and makes it the default version in the local Docker environment.

MySQL 9.7 is also an LTS release.

Props chrisdavidmiles.
See #64894.

git-svn-id: https://develop.svn.wordpress.org/trunk@62407 602fd350-edb4-49c9-b593-d223f7449a82
…of `spl_object_hash()` to construct unique IDs.

* Also use `spl_object_id()` similarly when registering and unregistering classic widgets.
* Improve typing and phpdoc in `_wp_filter_build_unique_id()`. Return `null` for malformed callbacks.
* Add tests for `_wp_filter_build_unique_id()`.
* Improve type safety of `WP_Hook::add_filter()` in case an invalid callback is provided for parity with `::has_filter()` and `::remove_filter()`.

Developed in #11865
Follow-up to r46220, r46801, r60179.

Props bor0, westonruter, SergeyBiryukov, schlessera, arshidkv12, knutsp, spacedmonkey, swissspidy.
See #64898.
Fixes #58291.


git-svn-id: https://develop.svn.wordpress.org/trunk@62408 602fd350-edb4-49c9-b593-d223f7449a82
PCOV is a dedicated coverage reporting tool that performs significantly faster than Xdebug in coverage mode. This reduces the time that tests with coverage enabled take to run by around 50%.

This also removes the HTML report generation which was producing unusable artifacts in excess of 7 GB in size.

Props johnbillion, desrosj, swissspidy

See #64893


git-svn-id: https://develop.svn.wordpress.org/trunk@62409 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.