Commit Graph

50313 Commits

Author SHA1 Message Date
cbravobernal 437ee0607c Post WordPress 6.7.1 version bump.
The 6.7 branch is now 6.7.2-alpha.

Built from https://develop.svn.wordpress.org/branches/6.7@59447


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-21 15:11:19 +00:00
desrosj eb3de583d6 WordPress 6.7.1.
Built from https://develop.svn.wordpress.org/branches/6.7@59445


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-21 14:01:19 +00:00
desrosj e3c622e0c0 Post WordPress 6.7.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.7@59440


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 17:52:19 +00:00
desrosj c9915d5cd3 WordPress 6.7.1 RC1.
Built from https://develop.svn.wordpress.org/branches/6.7@59439


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 17:25:20 +00:00
cbravobernal 019b2bf7a4 Editor: update npm packages in trunk for 6.7.1.
Syncs Editor packages for WordPress 6.7.1 RC1. Includes the following PRs:
- https://github.com/WordPress/gutenberg/pull/66945
- https://github.com/WordPress/gutenberg/pull/66889
- https://github.com/WordPress/gutenberg/pull/67139

Props mmaattiiaass, ramonopoly, mamaduka, get_dave, poena, ntsekouras, mcsf, jsnajdr, 0mirka00, desrosj, joemcgill, cbravobernal, azaozz, room34, mayanktripathi32, im3dabasia1, jonsurrell.

Fixes #62478, #62447. 


Built from https://develop.svn.wordpress.org/branches/6.7@59437


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 16:00:32 +00:00
desrosj 3b56f5bbf3 Interactivity API: Remove redundant server state from Interactivity Router.
Remove the workaround for a bug that was fixed in https://github.com/WordPress/gutenberg/pull/66183. Previously, if the store was not initialized with a minimal navigation object, the interactivity-router script module would error.

Reviewed by desrosj.
Merges [59416] to the 6.7 branch.

Props jonsurrell, czapla, gziolo.
Fixes #62465.
Built from https://develop.svn.wordpress.org/branches/6.7@59436


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 15:29:19 +00:00
desrosj 13d7e96210 Media: Avoid images with `sizes=auto` to be displayed downsized in supporting browsers.
Based on the user agent stylesheet rules outlined in https://html.spec.whatwg.org/multipage/rendering.html#img-contain-size, images that have `sizes=auto` while applying `width: auto` or `width: fit-content` would be constrained to only 300px width.

This changeset overrides said user agent stylesheet rule with a much larger constraint, to avoid the problem.

Additionally, it introduces a filter `wp_img_tag_add_auto_sizes` which can be used to opt out of the functionality, as an additional measure.

Reviewed by desrosj, joemcgill.
Merges [59415] to the 6.7 branch.

Props joemcgill, flixos90, dooperweb, SirLouen, azaozz, mukesh27, apermo.
Fixes #62413.
See #61847, #62345.
Built from https://develop.svn.wordpress.org/branches/6.7@59435


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 14:33:19 +00:00
desrosj fe0244083a Options, Meta APIs: Ensure duplicate salts are properly flagged.
Improvements were made in 6.7 to ensure that salts stored in the database were primed more efficiently.

The logic added to accomplish this suffered from an edge case where array indexes were unexpectedly missing when `wp_salt()` was called recursively.

Follow up to [58837].

Reviewed by davidbaumwald.
Merges [59427] to the 6.7 branch.

Props juliobox, ankitkumarshah, dilipbheda, johnbillion, joemcgill, desrosj.
Fixes #62424.
Built from https://develop.svn.wordpress.org/branches/6.7@59434


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 13:53:13 +00:00
desrosj 85d63dedf1 i18n: Account for `load_*_textdomain()` after JIT loading.
When `load_*_textdomain()` functions are called after WordPress has already attempted just-in-time loading of translations, nothing happens. 

This updates the related logic to retry translation loading when a custom path is set to ensure all translations are available.

Additionally, this also fixes cases where an `en_US.mo` file is provided with non-English strings to override the default language.

Follow up to [59157].

Reviewed by SergeyBiryukov.
Merges [59430] to the 6.7 branch.

Props swissspidy, peterwilsoncc, desrosj, apermo, sergeybiryukov, wildworks, tigriweb, twvania, looswebstudio, stimul, audrasjb, finntown, bluantinoo, timwhitlock, albigdd.
See #62337.
Built from https://develop.svn.wordpress.org/branches/6.7@59433


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 13:35:16 +00:00
desrosj e6dee5ed5a I18N: Adjust translator comments in `nav-menu.js`.
Includes:
* Moving the comments directly above `wp.i18n._x()` so that they can be picked up properly.
* Simplifying the context to avoid unnecessarily translating the string twice for the same use case.
* Using the established translator comments format for consistency.

Follow-up to [59428].

Reviewed by SergeyBiryukov, desrosj.
Merges [59431 to the 6.7 branch.

Fixes #62402.
Built from https://develop.svn.wordpress.org/branches/6.7@59432


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 13:33:18 +00:00
desrosj 1bb7777b42 Login: Revert selector change in login heading CSS.
In [59138], the login screens were updated to change the `h1` heading from the logo to screen-reader hidden text. Along with that HTML change, we changed the CSS selectors from `.login h1` to `.login .wp-login-logo`. This unnecessary change increased specificity and broke the CSS selectors used by a wide variety of plugins to replace the login logo.

Commit reverts the change in selector back to using the `.login h1` pattern.

Reviewed by joedolson, desrosj.
Merges [59424] to the 6.7 branch.

Props leecollings, sabernhardt, im3dabasia1, roytanck, sailpete, joedolson. 
Fixes #62410.
Built from https://develop.svn.wordpress.org/branches/6.7@59429


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 01:58:16 +00:00
desrosj 720cc884d9 Menus: i18n: Fix untranslatable strings in `nav-menu.js`.
Wrap three untranslatable strings in nav menus in JS translation functions.

Follow up to [59265].

Reviewed by desrosj, joedolson.
Merges 59426 to the 6.7 branch.

Props juliemoynat, swissspidy, yogeshbhutkar, sergeybiryukov, desrosj, tobifjellner, audrasjb, joedolson.
Fixes #62402.
Built from https://develop.svn.wordpress.org/branches/6.7@59428


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 01:55:18 +00:00
desrosj 7aaf81c7cc Media: Avoid running expensive logic twice using GD.
Support for uploading AVIF was added in [57524]. A new block of conditional logic was added determine which function should be used to create the new image file that resulted in these expensive functions being run twice.

This combines the two conditional logic to ensure the appropriate function is only run once regardless of format.

Reviewed by adamsilverstein.
Merges [59413] to the 6.7 branch.

Props adamsilverstein, glynnquelch.
Fixes #62331.
Built from https://develop.svn.wordpress.org/branches/6.7@59423


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-19 20:23:19 +00:00
desrosj 226f7f7964 Editor: Fix the JS to select, save, and update categories on the old Edit Post screen.
Reviewed by desrosj, azaozz.
Merges [59414] to the 6.7 branch.

Props: charleslf, im3dabasia1, desrosj, dhruvang21, Zargarov, sainathpoojary, azaozz.
Fixes: #62440.
Built from https://develop.svn.wordpress.org/branches/6.7@59421


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-19 13:49:17 +00:00
desrosj 60f27fbaad Customizer: Fix layout issues in customizer accordions.
Adjust some CSS characteristics in the customizer accordions to avoid a slight horizontal scroll, allow the chevron icon to be part of the clickable control surface, and resolve a pre-existing padding issue allowing overflow on accordion headings.

Follow up to [59224].

Reviewed by desrosj, joedolson.
Merges [59409] to the 6.7 branch.

Props laurelfulford, wildworks, domainsupport, sabernhardt, rcreators, desrosj, sainathpoojary. 
Fixes #62313, #62335.
Built from https://develop.svn.wordpress.org/branches/6.7@59420


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-19 13:43:16 +00:00
cbravobernal 3a58544234 HTML API: Fix normalized doctype pub/sys identifier quotes.
Changeset [59399] fixed missing DOCTYPEs in normalized HTML output. It missed an edge case where public and system identifiers may contain double quotes, in which case they must be quoted with single quotes.

This commit addresses that issue and adds tests.

Follow-up to [59399].

Reviewed by cbravobernal.
Merges [59410] to the 6.7 branch.

Props jonsurrell, luisherranz, apermo.
Fixes #62396.

Built from https://develop.svn.wordpress.org/branches/6.7@59411


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-18 13:39:21 +00:00
cbravobernal 664c3049d1 Interactivity API: Allow missing state negation on server
Aligns on the behavior of the negation operator with directives to missing paths in client and in server.

With a directive like the following:
{{{
<div data-wp-bind--hidden="!state.missing.property">
	This should be hidden by the <code>hidden</code> attribute.
</div>
}}}
Both server and client will return with this fix:
{{{
<div data-wp-bind--hidden="!state.missing.property" hidden="">
	This should be hidden by the <code>hidden</code> attribute.
</div>
}}}

Reviewed by cbravobernal.
Merges [59398] to the 6.7 branch.

Props jonsurrell, luisherranz.
Fixes #62374.

Built from https://develop.svn.wordpress.org/branches/6.7@59404


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-14 11:55:18 +00:00
cbravobernal 7d29e45bbe HTML API: Include doctype in full parser serialize.
Output DOCTYPE when calling `WP_HTML_Processor::serialize` on a full document that includes a DOCTYPE.

The DOCTYPE should be included in the serialized/normalized HTML output as it has an impact in how the document is handled, in particular whether the document should be handled in quirks or no-quirks mode.

This only affects the serialization of full parsers at this time because DOCTYPE tokens are currently ignored in all possible fragments. The omission of the DOCTYPE is subtle but can change the serialized document's quirks/no-quirks mode.

Reviewed by cbravobernal.
Merges [59399] to the 6.7 branch.

Props jonsurrell.
Fixes #62396.


Built from https://develop.svn.wordpress.org/branches/6.7@59401


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-13 16:15:17 +00:00
Peter Wilson 2cd5737c13 Post WordPress 6.7 version bump.
The 6.7 branch is now 6.7.1-alpha.



Built from https://develop.svn.wordpress.org/branches/6.7@59396


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-12 23:08:17 +00:00
Peter Wilson cf2a77dd22 WordPress 6.7.
Built from https://develop.svn.wordpress.org/branches/6.7@59394


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-12 20:38:17 +00:00
davidbaumwald d255bb0e77 Upgrade/Install: Update the `$_old_files` array for 6.7.
Reviewed by jorbin.
Merges [59386] to the 6.7 branch.

Props pbiron, peterwilsoncc, fazyshah.
Fixes #62150.
Built from https://develop.svn.wordpress.org/branches/6.7@59387


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-11 19:21:17 +00:00
Aaron Jorbin 9aff3ae1f2 Post WordPress 6.7 RC5 version bump.
Built from https://develop.svn.wordpress.org/branches/6.7@59385


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-11 18:54:15 +00:00
Aaron Jorbin 04a6d30e15 WordPress 6.7 RC5.
Built from https://develop.svn.wordpress.org/branches/6.7@59384


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-11 18:20:18 +00:00
desrosj 1245f70570 Feeds: Avoid fatal error with empty `blog_charset` value.
After the SimplePie library was updated to version `1.8.0` in [59141], an edge case has been discovered where a fatal error can encountered if the `blog_charset` option is missing or empty.

In `fetch_feed()`, this option is retrieved using `get_option()` instead of `get_bloginfo( ‘charset’ )`. The latter will detect this scenario and apply a default value of `UTF-8` and is already used interchangeably throughout Core. This switches to `get_bloginfo( ‘charset’ )` instead to prevent this edge case.

Reviewed by davidbaumwald.
Merges [59382] to the 6.7 branch.

Props david.binda, davidbaumwald, SergeyBiryukov, sabernhardt, azaozz, peterwilsoncc.
Fixes #62354.
Built from https://develop.svn.wordpress.org/branches/6.7@59383


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-11 17:55:14 +00:00
davidbaumwald f924a35270 Media: Remove dimension suffix from full size converted HEIC images.
Removes the dimension suffix, eg `-1000x1000` from the file name of full size images automatically converted from HEIC to JPEGs by WordPress. Introduces unit tests for the default conversion of images and customized conversion settings via the `image_editor_output_format` filter.

Follow up to [58849], [58942], [59317], [59346], [59366].

Reviewed by davidbaumwald.
Merges [59379] and [59380] to the 6.7 branch.

Props mukesh27, peterwilsoncc, azaozz, apermo, flixos90, ironprogrammer.
Fixes #62359.
See #53645, #62305.
Built from https://develop.svn.wordpress.org/branches/6.7@59381


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-11 15:46:16 +00:00
Peter Wilson 7e0367b392 Help/About: Update the about page images for WordPress 6.7.
Updates the about page images with more colourful imagery.

Reviewed by ryelle.
Merges [59374] to the 6.7 branch.

Props sfougnier, fcoveram, Joen, davidbaumwald, ryelle.
Fixes #61961.




Built from https://develop.svn.wordpress.org/branches/6.7@59375


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-08 04:42:17 +00:00
Aaron Jorbin a867d33702 Post WordPress 6.7 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/6.7@59372


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-07 18:05:14 +00:00
Aaron Jorbin 0c1cb371ab WordPress 6.7 RC4.
Built from https://develop.svn.wordpress.org/branches/6.7@59371


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-07 17:12:14 +00:00
desrosj 66cf685d19 Editor: Update packages for 6.7 RC 4.
Syncs @wordpress/* packages to the wp-6.7 npm tag.

Reviewed by get_dave, desrosj.
Merges [59368] to the 6.7 branch.

Props get_dave, mikachan, gziolo, kevin940726, jonsurrell, jsnajdr.
Fixes #62358.
Built from https://develop.svn.wordpress.org/branches/6.7@59369


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-07 16:05:23 +00:00
Peter Wilson 0526401c81 Media: Fix converting of all HEIC/HEIF images to JPEGs after uploading regardless of dimensions.
This backport includes follow up commits to improve a variable name and improve accuracy of when an image needs to be converted.

Reviewed by peterwilsoncc.
Merges [59317], [59346], [59366] to the 6.7 branch.

Props ironprogrammer, adamsilverstein, azaozz, peterwilsoncc, apermo, flixos90.
Fixes #62305.


Built from https://develop.svn.wordpress.org/branches/6.7@59367


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-07 01:27:15 +00:00
Peter Wilson 2612745032 Bundled Themes: Sync some minor fixes for Twenty Twenty-Five.
This merges several minor improvements to patterns in Twenty Twenty-Five.

A full list of changes can be found on GitHub: e7612e3cb3...b8c032e43c.

Reviewed by peterwilsoncc.
Merges [59362] to the 6.7 branch.

Props juanfra, desrosj.
Fixes #62351.




Built from https://develop.svn.wordpress.org/branches/6.7@59365


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-06 21:47:21 +00:00
desrosj eb4fce03e8 Bundled Themes: Bump default theme versions for release with 6.7.
This updates the version of each default theme to the following versions:

* Twenty Ten: 4.3
* Twenty Eleven: 4.8
* Twenty Twelve: 4.4
* Twenty Thirteen: 4.3
* Twenty Fourteen: 4.1
* Twenty Fifteen: 3.9
* Twenty Sixteen: 3.4
* Twenty Seventeen: 3.8
* Twenty Nineteen: 3.0
* Twenty Twenty: 2.8
* Twenty Twenty-One: 2.4
* Twenty Twenty-Two: 1.9
* Twenty Twenty-Three: 1.6
* Twenty Twenty-Four: 1.3

These versions will released in coordination with WordPress 6.7.

Reviewed by peterwilsoncc.
Merges [59344] to the 6.7 branch.

Props sh4lin, sabernhardt, mukesh27, chaion07.
Fixes #62034.
Built from https://develop.svn.wordpress.org/branches/6.7@59363


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-06 18:00:15 +00:00
Peter Wilson 1abe32ce7c Media: Fix uploading of .heic images.
- Adds support for all HEIC/HEIF mime types: `image/heic`, `image/heif`, `image/heic-sequence`, and `image/heif-sequence`.
- Introduces `wp_is_heic_image_mime_type()`.

This backport includes a subsequent fix of a typo.

Reviewed by peterwilsoncc.
Merges [59315,59358] to the 6.7 branch.

Props swissspidy, adamsilverstein, debarghyabanerjee, ironprogrammer, peterwilsoncc, apermo, azaozz, mosne.
Fixes #62272.



Built from https://develop.svn.wordpress.org/branches/6.7@59360


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-06 00:47:16 +00:00
Aaron Jorbin ea7e427fbd Post WordPress 6.7 RC3 bump.
Built from https://develop.svn.wordpress.org/branches/6.7@59353


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-05 16:57:17 +00:00
Aaron Jorbin 527f8961c5 WordPress 6.7 RC1.
Built from https://develop.svn.wordpress.org/branches/6.7@59352


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-05 16:33:18 +00:00
desrosj 32855251cb Bundled Themes: Update Twenty Twenty-Five for 6.7 RC 3.
This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into WordPress-Develop for 6.7 RC 3.

A full list of changes can be found on GitHub: b6f4ee2e57...b5b0475f6a.

Reviewed by davidbaumwald.
Merges [59348] to the 6.7 branch.

Props juanfra.
See #62343.
Built from https://develop.svn.wordpress.org/branches/6.7@59351


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-05 16:11:19 +00:00
desrosj 18a12d76c3 Taxonomy: Remove count references from `WP_Term_Query`.
Remove further documentation and a code reference to the unsupported `count` argument within `WP_Term_Query`. 

Follow up to [59261].

Reviewed by peterwilsoncc, desrosj.
Merges [59325] to the 6.7 branch.

Props johnbillion.
Fixes #61094
Built from https://develop.svn.wordpress.org/branches/6.7@59350


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-05 14:24:15 +00:00
desrosj 087e4c994a Editor: Update packages for 6.7 RC 3.
Syncs `@wordpress/*` packages to the `wp-6.7` npm tag.

Reviewed by desrosj.
Merges [59347] to the 6.7 branch.

Props kevin940726, get_dave, youknowriad.
Fixes #62321.
Built from https://develop.svn.wordpress.org/branches/6.7@59349


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-05 14:11:22 +00:00
ryelle 7a8425521a Help/About: Add images to the About page.
Updates the images in the About page source with the final versions on the w.org CDN.

Reviewed by peterwilsoncc.
Merges [59329] to the 6.7 branch.

Props ryelle, joen.
See #61961.


Built from https://develop.svn.wordpress.org/branches/6.7@59345


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-05 00:46:16 +00:00
Peter Wilson 37b16304d7 Script Loader: Correct the number of arguments passed to `WP_Styles::get_etag()`.
This fixes an issue with the usage of the new `$wp_styles->get_etag()` method in `wp-admin/load-styles.php`, where `$wp_version` is passed as the first argument instead of `$load` being used as the ''only'' argument.

Follow-up to [58935].

Reviewed by swissspidy.
Merges [59341] to the 6.7 branch.

Props justlevine, mukesh27, swissspidy, SergeyBiryukov.
See #52217, #61485.


Built from https://develop.svn.wordpress.org/branches/6.7@59343


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-04 23:36:16 +00:00
Andrew Ozz 0405629247 Editor: Update packages for 6.7 RC 3
Syncs @wordpress/* packages to the wp-6.7 npm tag.

Reviewed by get_dave, azaozz.
Merges [59339] to the 6.7 branch.

Props kevin940726, get_dave.
Fixes #62321.
Built from https://develop.svn.wordpress.org/branches/6.7@59342


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-04 19:46:30 +00:00
Peter Wilson 92c3cda921 Editor: Update packages for 6.7 RC 3
Syncs `@wordpress/*` packages to the `wp-6.7` npm tag.

Reviewed by andrewserong.
Merges [59330] to the 6.7 branch.

Props kevin940726, ramonopoly, andrewserong.
See #62321.


Built from https://develop.svn.wordpress.org/branches/6.7@59332


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-31 22:15:30 +00:00
desrosj 852039442a Bundled Themes: Update Twenty Twenty-Five for 6.7 RC 2.
This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into WordPress-Develop for 6.7 RC 2

A full list of changes can be found on GitHub: [7dfa99f15b...b5b0475f6a WordPress/twentytwentyfive@7dfa99f1...b5b0475f].

Reviewed by desrosj.
Merges [59314] to the 6.7 branch.

Props juanfra, poena.
Fixes #62310.
Built from https://develop.svn.wordpress.org/branches/6.7@59331


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-31 17:57:19 +00:00
Peter Wilson 560bd94c82 Tests/Build tools: Only fail importer tests if plugin is missing.
Reverts an earlier change to the test suite in which the PHPUnit tests could not run if the importer plugin was not available.

This update allows the test suite to run and will fail importer tests if the plugin is not available. 

Follow up to r59085.

Merges [59326] to the 6.7 branch.

Props peterwilsoncc, azaozz.
See #62325.


Built from https://develop.svn.wordpress.org/branches/6.7@59327


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-30 23:47:20 +00:00
Peter Wilson c9462062a6 Global styles: preload `/global-styles` endpoint responses
This commit fixes a regression whereby requests to global styles endpoints were not being preloaded, resulting in several requests being fired clientside unnecessarily.  

For performance reasons, we  preload the requests so that the data is in the editor store and ready to use straight away.  

The outcome is that the editor loads more quickly.

Follow-up to [62042].

Reviewed by peterwilsoncc.
Merges [59316] to the 6.7 branch.

Props ellatrix, ramonopoly, apermo, peterwilsoncc.
Fixes #62315.


Built from https://develop.svn.wordpress.org/branches/6.7@59324


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-29 22:55:17 +00:00
Aaron Jorbin d91fbfad55 Post WordPress 6.7 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/6.7@59323


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-29 17:07:21 +00:00
Sergey Biryukov 218cf8089b Comments: Use a more precise check for disallowed keys on filtered comment data.
The previous approach of running `wp_allow_comment()` twice could have unintended consequences, e.g. the `check_comment_flood` action was also triggered twice, which might lead to false-positive identification of comment flood in case there is some custom callback hooked to it, which is not expecting identical data seeing twice.

This commit introduces a new function, `wp_check_comment_data()`, to specifically check for disallowed content before and after comment data is filtered.

Follow-up to [59267].

Reviewed by davidbaumwald.
Merges [59319] to the 6.7 branch.

Props david.binda, SergeyBiryukov.
Fixes #61827.
Built from https://develop.svn.wordpress.org/branches/6.7@59322


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-29 16:35:17 +00:00
Aaron Jorbin b3c1dfabd4 Editor: Update packages for 6.7 RC 2
Syncs @wordpress/* packages to the wp-6.7 npm tag.

Reviewed by jorbin.
Merges [59318] to 6.7 branch.

Props kevin940726, aaronrobertshaw.
See #62309.

Built from https://develop.svn.wordpress.org/branches/6.7@59321


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-29 16:28:27 +00:00
Aaron Jorbin 1200804e11 WordPress 6.7 RC2.
Built from https://develop.svn.wordpress.org/branches/6.7@59320


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-29 16:14:16 +00:00
Peter Wilson 2f988c78b6 Revisions: Fix typo in navigation help text.
Fixes a typo in the a11y helper text explaining how to navigate revisions. "Change revision by using the left and arrow keys" becomes "Change revision by using the left and right arrow keys".

Follow up to [59225].

Reviewed by swissspidy.
Merges [59306] to the 6.7 branch.

Props pedromendonca, sabernhardt, fierevere, swissspidy.
Fixes #62306.



Built from https://develop.svn.wordpress.org/branches/6.7@59313


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-28 21:26:18 +00:00