Commit Graph

51696 Commits

Author SHA1 Message Date
luisherranz
ce0770032a Interactivity API: Fatal error processing incorrect closed tags.
Fix for fatal errors caused by incorrect closing tags in HTML, such as `</br>`. In these cases, the `get_attribute_names_with_prefix` method of the `WP_HTML_Tag_Processor` returns `null`, and the Interactivity API was not handling this situation correctly.

Props hugosolar, jonsurrell, darerodz.
Fixes #63891.
Built from https://develop.svn.wordpress.org/trunk@61197


git-svn-id: http://core.svn.wordpress.org/trunk@60533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 22:24:34 +00:00
desrosj
b2d1cd8099 Build/Test Tools: Ensure all db WP-CLI commands work.
This ensures that the presence of a self-signed certificate from a MySQL/MariaDB container will not cause `db` WP-CLI commands run using `env:cli` in the local development environments to fail.

Follow up to [60735].

Props westonruter, mukesh27.
Fixes #64128. See #63876.
Built from https://develop.svn.wordpress.org/trunk@61196


git-svn-id: http://core.svn.wordpress.org/trunk@60532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 21:29:37 +00:00
Weston Ruter
6a32aeaf8c Themes: Restore 'Live Preview' button for block themes.
Note that the `return` query parameter is not yet functional in the Site Editor. See [https://github.com/WordPress/gutenberg/issues/47934 Gutenberg#47934].

Follow-up to [52341], [52346], [52353], [52802].

Props ninomiho, mcsf, dhruval04, praful2111, mlaetitia1986.
See #54578.
Fixes #64159.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 21:08:05 +00:00
Peter Wilson
80b19f51c3 Emoji: Update Twemoji to 17.0.2.
Updates the endpoint for Twemoji images to use those released in 17.0.2, following an upstream minor release optimizing the SVG images.

Modifies the build script to pull the image file names from the `gh-pages`/deploy branch of Twemoji upon the advice of their contributors.

Props peterwilsoncc, paulkevan, wildworks, desrosj.
Fixes #64184.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 21:06:34 +00:00
desrosj
7adbca1ca9 Date/Time: Revert [60942].
The changes in [60942] aimed to add an indicator next to the default date and time formats for the site’s locale in General Settings. However, the changes do not take into account the fact that a user may have a different language than the site’s default selected as their preference.

Props swissspidy, johnbillion, SergeyBiryukov, pbearne, desrosj, wildworks.
See #64102.
Built from https://develop.svn.wordpress.org/trunk@61193


git-svn-id: http://core.svn.wordpress.org/trunk@60529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 20:42:28 +00:00
Weston Ruter
b058f24638 Coding Standards: Initialize $comments_count before loop in case not set during initial iteration.
Follow-up to [60643].

Props westonruter, mindctrl.
See #56499.
Fixes #64223.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 20:39:36 +00:00
Weston Ruter
d0a76e02d6 Code Modernization: Fix instances of using null as an array offset.
This avoids using multisite-specific tables and columns in `WP_Date_Query::validate_column()` when on a non-multisite install. Attempting to use `$wpdb->blogs` as an array index when `null` on a non-multisite install causes a deprecation notice in PHP 8.5. This also updates the multisite table alias in `wpdb` to make it clear they could be `null`.

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

Follow-up to [60904], [60809], [37477].

Props westonruter, desrosj.
See #63061.
Fixes #63957.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 20:28:32 +00:00
wildworks
abc544d33e Editor: Fix handling of default presets at block level in theme.json
Fix an issue where block-level presets do not work correctly when default presets are disabled and the slug matches a default preset.

Props aaronrobertshaw, bph, ramonopoly, wildworks.
Fixes #64195.
Built from https://develop.svn.wordpress.org/trunk@61190


git-svn-id: http://core.svn.wordpress.org/trunk@60526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 06:43:38 +00:00
Weston Ruter
db48c08d85 Twenty Twenty: Fix font inconsistency for Latest Posts block in block editor.
This ensures that the font used on the frontend is also used in the block editor.

Props rishabhwp, shailu25, sabernhardt, jobata, gulamdastgir04, oglekler, nidhidhandhukiya, Maia12345, audrasjb.
Fixes #63798.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 04:08:34 +00:00
Peter Wilson
d9356e42f3 Docs: Clarify behavior in wp_set_auth_cookie().
Clarifies how long authentication cookies are set for when setting the `$remember` parameter.

Props johnbillion, khoipro, rollybueno, shailu25, siliconforks, wildworks, zodiac1978.
Fixes #63230.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-10 02:13:34 +00:00
Sergey Biryukov
5a4b0278a9 Coding Standards: Use more meaningful variable names in Classic Widgets screen.
Per the [https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#naming-conventions Naming Conventions]:

> Don’t abbreviate variable names unnecessarily; let the code be unambiguous and self-documenting.

This commit includes renaming of the following variables:
* `$sbname` to `$sidebar_name`.
* `$sbvalue` to `$sidebar_data`.
* `$j` to `$widget_count`.
* `$i` to `$sidebar_index`.
* `$sb` to `$sidebar`.
* `$key` to `$sidebar_id`.

Follow-up to [10912], [11009], [11427], [26285], [50997].

Props costdev, mukesh27.
See #63168.
Built from https://develop.svn.wordpress.org/trunk@61187


git-svn-id: http://core.svn.wordpress.org/trunk@60523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-09 23:03:38 +00:00
Sergey Biryukov
847d9adf98 Tests: Add unit tests for a label fallback in WP_Block_Styles_Registry::register().
Follow-up to [59760].

Props Rahmohn, mukesh27, SergeyBiryukov.
See #63167.
Built from https://develop.svn.wordpress.org/trunk@61186


git-svn-id: http://core.svn.wordpress.org/trunk@60522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-08 13:48:38 +00:00
Sergey Biryukov
a6a3a82b63 Tests: Improve unit tests for feed_links_extra().
Includes:
* Converting data provider methods to `static` for a slight performance improvement.
* Correcting annotations for consistency.

Follow-up to [53033], [53125], [54161].

Props mukesh27, SergeyBiryukov.
See #63167.
Built from https://develop.svn.wordpress.org/trunk@61185


git-svn-id: http://core.svn.wordpress.org/trunk@60521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 23:40:28 +00:00
ellatrix
f977fc8f7d Gruntfile: verify:source-maps: restore for core-data.
Yjs was bundled by accident in the `core-data` package, so we had to ignore the source map verification in an earlier package sync ([61009]). This can now be restored because the issue was fixed in https://github.com/WordPress/gutenberg/pull/72503.

Fixes #64120.
Built from https://develop.svn.wordpress.org/trunk@61184


git-svn-id: http://core.svn.wordpress.org/trunk@60520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 21:19:35 +00:00
Adam Silverstein
060ffe8d40 Comments: ensure notes never show on the comments page.
Fix an issue where adding comment_type=note as a query parameter to the wp-admin/edit-comments.php page would unexpectedly cause notes to show. Notes are different from comments - prevent them from showing on the comment list table.

Props adamsilverstein, desros, soyebsalar01j. 
Fixes #64198.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 18:56:32 +00:00
ellatrix
1fb16f461f Post WordPress 6.9 Beta 4 version bump.
Built from https://develop.svn.wordpress.org/trunk@61182


git-svn-id: http://core.svn.wordpress.org/trunk@60518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 15:32:34 +00:00
ellatrix
62e96e3309 WordPress 6.9 Beta 4.
Built from https://develop.svn.wordpress.org/trunk@61181


git-svn-id: http://core.svn.wordpress.org/trunk@60517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 15:14:35 +00:00
desrosj
07beadb314 Emoji: Re-add WordPress modifications to Twemoji.
This re-adds some WordPress specific modifications to the Twemoji library that were accidentally removed in [57626] and [61134].

Unprops desrosj.
Props dd32, paulkevan, ellatrix.
See #64184.
Built from https://develop.svn.wordpress.org/trunk@61180


git-svn-id: http://core.svn.wordpress.org/trunk@60516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 14:44:34 +00:00
ellatrix
e37891ef9a Notes: notify post author on note submission.
Fix an issue where new notes did not trigger a notification because they are submitted via the REST API. Ensures REST API submissions (for notes) trigger the post author notification. Leverage existing comment notification infrastructure.

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

Fixes #64204.
Props adamsilverstein, mamaduka, peterwilsoncc, ellatrix, wildworks, mukesh27, desrosj, annezazu, jeffpaul.
Built from https://develop.svn.wordpress.org/trunk@61179


git-svn-id: http://core.svn.wordpress.org/trunk@60515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 14:07:34 +00:00
ellatrix
bc7f6b462d Revert template activation.
This commit reverts the PHP changes that were made to support the template activation feature. The UI was already reverted through the packages sync in [61177] (Gutenberg PR: https://github.com/WordPress/gutenberg/pull/73025).

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

Fixes #64214.
Props ellatrix, t-hamano, mcsf, ramonjd.
Built from https://develop.svn.wordpress.org/trunk@61178


git-svn-id: http://core.svn.wordpress.org/trunk@60514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 12:42:34 +00:00
ellatrix
40dbf5effd Sync packages for WP 6.9 Beta 4.
Changes can be found at https://github.com/WordPress/gutenberg/commits/wp/6.9/.

Developed in https://github.com/WordPress/wordpress-develop/pull/10486.
See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches.

Fixes #64213.
Props priethor.
Built from https://develop.svn.wordpress.org/trunk@61177


git-svn-id: http://core.svn.wordpress.org/trunk@60513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 12:29:46 +00:00
Weston Ruter
1d0e9badff Script Loader: Guard against exponential recursion during calculation of loading strategy and fetchpriority.
This addresses a performance issue in the recursive `WP_Scripts::get_highest_fetchpriority_with_dependents()` and `WP_Scripts::filter_eligible_strategies()` methods for redundant processing of shared dependencies in complex dependency graphs. To fix this, a `$stored_results` param is introduced which is passed by reference; this variable contains a cache of the calculated results for all scripts handles, so that subsequent calls for the same handle can return the cached value instead of re-computing it.

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

Follow-up to [60704], [60931], [56033].

Props ciobanucatalin, b1ink0, westonruter, mukesh27.
See #61734, #12009.
Fixes #64194.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 06:13:38 +00:00
isabel_brison
439f8a9a6d Editor: update layout tests.
Adds a test for name spacing custom blocks in layout classnames.

Props rishabhwp, wildworks, isabel_brison.
Fixes #63839.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 04:48:30 +00:00
Weston Ruter
ede95a09bd Script Loader: Improve hoisted stylesheet ordering (in classic themes) to preserve CSS cascade.
This ensures that on-demand block styles are inserted right after the `wp-block-library` inline style whereas other stylesheets not related to blocks are appended to the end of the `HEAD`. This helps ensure the expected cascade is preserved. If no `wp-block-library` inline style is present, then all styles get appended to the `HEAD` regardless.

The handling of the CSS placeholder comment added to the `wp-block-library` inline style is also improved. It is now inserted later to ensure the inline style is printed. Additionally, when the CSS placeholder comment is removed from the `wp-block-library` inline style, the entire `STYLE` tag is now removed if there are no styles left (aside from the `sourceURL` comment).

Lastly, the use of the HTML Tag Processor is significantly improved to leverage `WP_HTML_Text_Replacement`.

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

Follow-up to [61008].

Props westonruter, peterwilsoncc, dmsnell.
Fixes #64099.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 04:29:33 +00:00
wildworks
a6d451896a Tests: Fix failing malformed date test
Dates without leading zeros (e.g., `2012-1-08`, `2012-01-8`) are now correctly recognized as valid dates. This change fixes the test cases to correctly reflect that these formats are valid and fixes an undefined variable reference.

Follow-up to [61172].

Props wildworks, westonruter.
Fixes #26798.
Built from https://develop.svn.wordpress.org/trunk@61173


git-svn-id: http://core.svn.wordpress.org/trunk@60509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-07 03:01:33 +00:00
johnjamesjacoby
5cd43e9b41 Date/Time: Prevent a PHP exception when inserting posts with a partially malformed post_date.
This commit updates `wp_resolve_post_date()` to use a regular expression for parsing the date string into year, month, and day matches. This approach handles missing leading zeros more reliably than `substr()` while remaining performant (see #57683).

It also adds checks and type-casting to `wp_checkdate()` variables before passing them into PHP's `checkdate()` function to avoid the potential for a `TypeError` in PHP 8 and newer (see #54186).

Lastly, it includes 2 new unit tests (with data providers) to cover an array of valid and invalid date formats (YYYY-MM-DD, YYYY-MM-DD HH:MM:SS, ISO 8601, RSS, leap years, malformed inputs, etc...)

Props alordiel, desrosj, johnbillion, johnjamesjacoby, johnregan3, modius5150, nacin, pbearne.

Fixes #26798.
Built from https://develop.svn.wordpress.org/trunk@61172


git-svn-id: http://core.svn.wordpress.org/trunk@60508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 23:37:31 +00:00
Weston Ruter
680a0856ee Tests: Fix unit test failure in PHP 8.5 due using null as an array offset.
This adds `is_string()` type checks for the `$post_status` arg passed to both `get_post_status_object()` and `is_post_status_viewable()`. This was triggered by `Tests_Post_IsPostStatusViewable::test_built_in_and_unregistered_status_types()` for the `null` data set. 

Follow-up to [61170].

See #63167, #63061.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 22:24:37 +00:00
Sergey Biryukov
3c1910c436 Tests: Improve unit tests for is_post_status_viewable().
Includes:
* Adding the missing `@covers` annotation.
* Converting data provider methods to `static` for a slight performance improvement.
* Using named data providers.

Follow-up to [50130].

Props mukesh27, swissspidy, SergeyBiryukov.
See #63167.
Built from https://develop.svn.wordpress.org/trunk@61170


git-svn-id: http://core.svn.wordpress.org/trunk@60506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 21:13:34 +00:00
Aaron Jorbin
9d3a033a5b Security: Update composer/ca-bundle to version 1.5.9.
Props jorbin, desrosj.

See #63165.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 19:33:31 +00:00
jorgefilipecosta
68591aab0f Block editor: Make fit text work with the interactivity API.
Fit text did not work after navigating to a page using the Interactivity API router. When users navigated to a post via client-side navigation (e.g., in a Query block with pagination), fit text blocks would not recalculate their font sizes, appearing either too large or too small.
This occurred because the fit text initialization only ran on the window.load event, which doesn't fire during client-side navigation.
We refactored fit text front end to be an interactivity api first implementation, using an interactivity api init event instead of a window load event.
This commit adds the required PHP changes.

Props jorgefilipecosta, mukesh27, luisherranz.
Fixes #64210.
Built from https://develop.svn.wordpress.org/trunk@61145


git-svn-id: http://core.svn.wordpress.org/trunk@60481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 18:24:38 +00:00
Adam Silverstein
afcbc33f65 Editor: fix contributor "Slow down" message when updating Notes quickly.
Fix an issue where contributors’ notes edits were throttled. Notes are internal and from trusted users, they do not need throttling. 

Skip calling wp_allow_comment for notes in WP_REST_Comments_Controller::create_item. As a result the pre_comment_approved hook is also not fired for notes. 

Fixes https://github.com/WordPress/gutenberg/issues/72892 where the issue was originally reported.

Props adamsilverstein, desrosj, wildworks, mamaduka.
Fixes #64199.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-05 20:34:28 +00:00
Aaron Jorbin
2e54ce5329 Coding Standards: Ignore blank space commits while blaming.
Each of these commits during 6.9 only changed blank spaces. Excluding them helps to reduce the noise when doing code archaeology.

Follow-up to [60074], [60109], [60664], [60780], [60808], [60816], [61036], [61075], [61087], [61138].o

Props jorbin, peterwilsoncc.
See #63168.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-05 20:32:39 +00:00
cbravobernal
ca6c863c86 Command Palette: Revert Use HTLM_Tag_Processor to get the menu label when enqueueing assets.
Reverts [61126] and [61127], which introduced a bug where the command palette is not stripping numbers. `HTML_Tag_Processor` cannot replace the REGEX yet.

Unprops cbravobernal.

Follow-up to [61126], [61127].

Props wildworks, tusharaddweb.
See #64196.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-05 16:23:29 +00:00
Sergey Biryukov
b5ec37b787 Docs: Synchronize WP_REST_Server::check_authentication() docs with the filter.
Follow-up to [34928], [55693].

See #63166.
Built from https://develop.svn.wordpress.org/trunk@61141


git-svn-id: http://core.svn.wordpress.org/trunk@60477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-05 10:12:35 +00:00
Weston Ruter
884b83238e General: Improve docblock for data provider function.
Fix function description and add explicit return value typing.

Follow-up to [61120].

Props mindctrl, westonruter.
See #64108.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 20:42:33 +00:00
Sergey Biryukov
0bf64c1bec Docs: Add some missing full stops in various DocBlocks.
Follow-up to [8196], [32846], [34928].

Props sujansarkar, shailu25, dhruvang21, westonruter, SergeyBiryukov.
Fixes #64181.
Built from https://develop.svn.wordpress.org/trunk@61139


git-svn-id: http://core.svn.wordpress.org/trunk@60475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 19:51:35 +00:00
Aaron Jorbin
ccb6766a85 Coding Standards: Fix alignment
In [61089], `auth_callback` was added which is causing phpcs to complain about the alignment with the other arguments in the array.

Follow-up to [61089] and [61036].

See #64153, #63168.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 19:22:30 +00:00
johnjamesjacoby
a03d3954ef Privacy: Set $request->confirm_key earlier so it can be reused in 2 places.
This commit updates the `wp_send_user_request()` function so that the updated confirmation key of the request is  available to both the confirmation URL and the subsequent filters (specifically `user_request_action_email_content`).

This maintains the existing behavior of generating a new key just-in-time before every user request email is sent.

Props birgire, dingo_d, garrett-eclipse, johnjamesjacoby.

Fixes #44940.
Built from https://develop.svn.wordpress.org/trunk@61137


git-svn-id: http://core.svn.wordpress.org/trunk@60473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 19:00:30 +00:00
johnjamesjacoby
ff31fa4b12 Canonical: prevent "Undefined array key" PHP warnings when host is not set.
This change is necessary to prevent scanning tools from polluting debug/error logs of some hosting configurations with PHP warnings simply by omitting the Host header from their requests.

This commit makes sure that all of the required `host`, `path`, `query`, and `scheme` array keys inside of the `redirect_canonical()` function are always set after various operations have been performed on them.

It also includes 1 new test case and 2 additional tests, to verify the problem and its fix are working as intended, as well as a small modification to the `get_canonical()` phpunit helper specifically to account for `HTTP_HOST` maybe not being set.

Props artz91, johnjamesjacoby, mindctrl, sirlouen.

Fixes #63316.
Built from https://develop.svn.wordpress.org/trunk@61136


git-svn-id: http://core.svn.wordpress.org/trunk@60472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 18:31:29 +00:00
desrosj
2e23057420 Build/Test Tools: Only open pull requests need testing instructions.
This adds some logic to avoid leaving automated comments with instructions to test in Playground when the pull request has been closed.

Props jeffpaul.
See #63170.
Built from https://develop.svn.wordpress.org/trunk@61135


git-svn-id: http://core.svn.wordpress.org/trunk@60471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 18:29:26 +00:00
desrosj
08103a3256 Emoji: Update Twemoji to version 17.0.1.
Unicode 17 includes 7 new Emoji code points. All 7 were included in Emoji 17, which was officially released in early September 2025.

In addition to these 7 new single code point Emoji, Emoji 17 also includes 156 additional Emoji possibilities using modifiers or ZWJ sequences to create various gender and skin tone combinations.

“This Emoji update is the best to date by a landslide 🛘“ may not be an opinion you hold. Perhaps you’re disappointed, hearing sad trombones in your head 🪊🪊. Thankfully, there’s a whole treasure chest 🪎  of Emoji to choose from (3,953 and counting).

🫈 But why do I always feel like I'm in The Twilight Zone? And I always feel like somebody's watchin' me? 🫈

Props westonruter, dd32.
Fixes #64184.
Built from https://develop.svn.wordpress.org/trunk@61134


git-svn-id: http://core.svn.wordpress.org/trunk@60470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 18:18:31 +00:00
johnjamesjacoby
0b98fc0980 Options: Combine date & time strings to improve translation accuracy.
This commit merges 2 separate translatable strings into 1 (with a translator note) to make its Daylight-Saving-Time-specific context easier to identify & understand.

Props jorbin, pbearne, timse201.

Fixes #64197.
Built from https://develop.svn.wordpress.org/trunk@61133


git-svn-id: http://core.svn.wordpress.org/trunk@60469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 18:01:38 +00:00
desrosj
c87d294264 Build/Test Tools: Remove MariaDB 10.4 from the test matrix.
MariaDB 10.4 has fallen below 1% usage across all WordPress sites, according to wordpress.org/stats.

This 1% threshold was established as the minimum percentage of installs required to be included in the PHPUnit testing matrix in [59587].

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


git-svn-id: http://core.svn.wordpress.org/trunk@60468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 17:25:27 +00:00
johnjamesjacoby
36fab9c398 Mail: reset Encoding to 8-bit in wp_mail().
The PHPMailer library may automatically switch its encoding based on various internal factors.

This commit fixes a bug where the `$phpmailer` global was unintentionally persisting its `Encoding` property from the first `wp_mail()` call to all subsequent calls.

This includes unit tests to verify the fix is accurate, and a change to the mock-mailer helper that worked around this bug just-in-time when running the test suite.

Props codebuddy, dilip2615, rishabhwp, sajjad67, sirlouen, stephenharris.

Fixes #33972.
Built from https://develop.svn.wordpress.org/trunk@61131


git-svn-id: http://core.svn.wordpress.org/trunk@60467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 17:20:34 +00:00
jorgefilipecosta
407748f330 Abilities API: Use stricter doing_action check when registering.
Applies feedback provided that doing_action would be better check on this situation to avoid developers facing future registration timing issues.

Developed in #10452.

Props gziolo, jorgefilipecosta, flixos90, mukesh27, jason_the_adams.
See #64098.
Built from https://develop.svn.wordpress.org/trunk@61130


git-svn-id: http://core.svn.wordpress.org/trunk@60466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 16:34:38 +00:00
ellatrix
88765fd257 Post WordPress 6.9 Beta 3 version bump.
Built from https://develop.svn.wordpress.org/trunk@61129


git-svn-id: http://core.svn.wordpress.org/trunk@60465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 15:31:38 +00:00
ellatrix
262903d36a WordPress 6.9 Beta 3.
Built from https://develop.svn.wordpress.org/trunk@61128


git-svn-id: http://core.svn.wordpress.org/trunk@60464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 15:09:35 +00:00
davidbaumwald
7341300ff8 Command Palette: Ensure $menu_label is initialized before using it.
Unprops davidbaumwald.

Follow-up to [61126].

Props cbravobernal.
See #64196.
Built from https://develop.svn.wordpress.org/trunk@61127


git-svn-id: http://core.svn.wordpress.org/trunk@60463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 14:19:36 +00:00
davidbaumwald
16485b23ce Command Palette: Use HTML_Tag_Processor to get the menu label when enqueueing assets, not regex.
`HTML_Tag_Processor` is more better.

Follow-up to [61022].

Props dmsnell, cbravobernal.
Fixes #64196.
Built from https://develop.svn.wordpress.org/trunk@61126


git-svn-id: http://core.svn.wordpress.org/trunk@60462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 14:01:34 +00:00
ellatrix
741e71e2f7 Sync packages for WP 6.9 beta 3.
Changes can be found at https://github.com/WordPress/gutenberg/commits/wp/6.9/.

Developed in https://github.com/WordPress/wordpress-develop/pull/10453.
See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches.

Fixes #64185.
Props priethor, mukesh27, jeffpaul, westonruter, desrosj, wildworks.
Built from https://develop.svn.wordpress.org/trunk@61125


git-svn-id: http://core.svn.wordpress.org/trunk@60461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-04 12:36:42 +00:00