Commit Graph

49721 Commits

Author SHA1 Message Date
hellofromTonya 04747a1a91 General: Cast `$max_depth` and `$depth` to an integer in the `Walker` class.
This ensures that the arguments are correctly interpreted when passed as a query string, i.e. when `wp_parse_args()` is involved. For example, `wp_list_pages( 'depth=0' )` should display a list of all pages to the maximum depth.

Follow-up to [57848].

Reviewed by peterwilsoncc.
Merges [58812] to the 6.6 branch.

Props freibergergarcia, peterwilsoncc, ahortin.
Fixes #61749.
Built from https://develop.svn.wordpress.org/branches/6.6@58863


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-08-07 19:47:10 +00:00
hellofromTonya 8aab47c60b Media: Check if content URL includes a hostname in `wp_calculate_image_srcset()`.
This resolves an `Undefined array key "host"` PHP warning if `WP_CONTENT_URL` is set to a relative URL.

Follow-up to [58097].

Reviewed by hellofromTonya.
Merges [58773] to the 6.6 branch.

Props mattraines, narenin, pamprn, SergeyBiryukov.
Fixes #61690.
Built from https://develop.svn.wordpress.org/branches/6.6@58862


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-08-07 19:43:11 +00:00
hellofromTonya 9bb65cc1a2 Block Styles: Fix ordering of stylesheets when a style variation is applied.
Adjusts the dependency order to ensure stylesheets are output in the correct order.

Syncs the PHP changes from https://github.com/WordPress/gutenberg/pull/63918.

Reviewed by hellofromTonya.
Merges [58850] to the 6.6 branch.

Props talldanwp, aaronrobertshaw, andrewserong, aristath, mukesh27, ramonopoly, ytfeldrawkcab.
Fixes #61748.
Built from https://develop.svn.wordpress.org/branches/6.6@58861


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-08-07 19:38:17 +00:00
hellofromTonya 7694fd6237 I18N: Correctly output the None translatable strings.
Includes updating the context to match the pre-existing block editor translations.

Follow-up to [58284].

Reviewed by hellofromTonya.
Merges [58774] to the 6.6 branch.

Props sabernhardt, Marius84.
Fixes #61714.
Built from https://develop.svn.wordpress.org/branches/6.6@58805


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-24 17:32:15 +00:00
Bernhard Reiter da8c2720e8 Block Hooks: Don't erase post content if it isn't changed by client.
The `inject_ignored_hooked_blocks_metadata_attributes` filter that is attached to both the `rest_pre_insert_wp_template` and `rest_pre_insert_wp_template_part` hooks receives a `stdClass` object from the Templates REST API controller that contains all fields that the client would like to modify when making a `POST` request (plus the `id` to identify the relevant template or template part, respectively).

There are cases when the `post_content` field is not set, e.g. when the client would like to rename an existing template (in which case it would only set the `title` field).

Prior to this changeset, the filter would erroneously apply the Block Hooks algorithm to the non-existent `post_content` field regardless, which would result in it being set to the empty string `''`. As a consequence, renaming a template would have the unwanted side effect of wiping its contents.

This changeset fixes the issue by returning early from the filter if the `post_content` field is not set.

Reviewed by gziolo.
Merges [58785] to the 6.6 branch.

Props alshakero, bernhard-reiter.
Fixes #61550.
Built from https://develop.svn.wordpress.org/branches/6.6@58802


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-24 14:40:15 +00:00
Aaron Jorbin 4827cf62a2 Post WordPress 6.6.1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.6@58788


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-23 16:01:09 +00:00
Aaron Jorbin 71a92b774c WordPress 6.6.1
Built from https://develop.svn.wordpress.org/branches/6.6@58786


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-23 15:11:12 +00:00
Aaron Jorbin ef7eafa4ce Post WordPress 6.6.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.6@58766


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 19:34:13 +00:00
Aaron Jorbin 1cd7b9badb WordPress 6.6.1 RC1
Built from https://develop.svn.wordpress.org/branches/6.6@58765


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 19:16:16 +00:00
Aaron Jorbin 40b07bd32d General: Provide _is_utf8_charset() in compat.php for early use
#61182 introduced is_utf8_charset() as a way of standardizing checks for charset slugs referring to UTF-8. This is called by _mb_strlen() inside of compat.php, but is_utf8_charset() is defined in functions.php, which isn't loaded early on. Code calling mb_strlen() early on before functions.php loads in hosts without the multibyte extension therefore may crash.

Reviewed by hellofromTonya.
Merges [58763] to the 6.6 branch.

Props dmsnell, jonsurrell, joemcgill, jorbin.
Fixes #61680.

Built from https://develop.svn.wordpress.org/branches/6.6@58764


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 18:22:16 +00:00
hellofromTonya 89c4da675f Comments: Fix fatal error when get_comment_author() receives an object with no comment_id.
[58335] introduced `(string)` type casting of the passed in `$comment_id` value. If `$comment_id` is a scalar, it works as expected. But if it's an `object`, the following fatal error is thrown:

{{{
Object of class WP_Comment could not be converted to string
}}}

This fatal error happens when the incoming `$comment_id` is an instance of `WP_Comment` (or any object) without a `comment_ID` (empty). 

This changeset adds tests to demonstrate the fatal error and validate the fix.

It fixes the fatal error by restructuring the ternary checks into an `if/elseif/else` structure for the 3 paths:

- When `$comment->comment_ID` is not empty, then it uses the property.
- When `$comment_id` is scalar, then it type casts it to a `string`.
- Else, the default is an empty `string`.

Follow-up to [58335], [41127], [52818].

Reviewed by SergeyBiryukov, jorbin.
Merges [58755,58756] to the 6.6 branch.

Props ambrosiawt, hellofromTonya, jorbin, mukesh27, SergeyBiryukov.
Fixes #61681.
Built from https://develop.svn.wordpress.org/branches/6.6@58762


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 17:58:15 +00:00
hellofromTonya 2ce6913586 Block Themes: Fix invalid css for nested fullwidth layouts with zero padding applied
In the Layout block support, handle 0 values for padding as 0px in calc() rules. This resolves a bug for nested fullwidth layouts when zero padding is applied. Due to how calc() works, without supplying the unit, the rule will not
work, resulting in a horizontal scrollbar.

Ref: PHP changes from https://github.com/WordPress/gutenberg/pull/63436.

Reviewed by hellofromTonya.
Merges [58750]  to the 6.6 branch.

Fixes #61656.
Props andrewserong, mukesh27, aaronrobertshaw.
Built from https://develop.svn.wordpress.org/branches/6.6@58761


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 17:04:15 +00:00
hellofromTonya e6d8ac1656 Editor: Update packages for 6.6.1.
Bugfixes included:

* [https://github.com/WordPress/gutenberg/pull/63637 Elements: Avoid specificity bump for top-level element-only selectors].
* [https://github.com/WordPress/gutenberg/pull/63406 Navigation block: Allow themes to override block library text-decoration rule].
* [https://github.com/WordPress/gutenberg/pull/63436 Fix invalid css for nested fullwidth layouts with zero padding applied].
* [https://github.com/WordPress/gutenberg/pull/63397 Prevent empty void at the bottom of editor when block directory results are present].
* [https://github.com/WordPress/gutenberg/pull/63291 Pattern overrides: Ensure "Reset" button always shows as last item and with border].
* [https://github.com/WordPress/gutenberg/pull/63562 Global Styles: Disable "Reset styles" button when there are no changes].
* [https://github.com/WordPress/gutenberg/pull/63093 Fix: Removed shuffle button when only 1 pattern is present].
* [https://github.com/WordPress/gutenberg/pull/62675 fix: wp icon focus issue].
* [https://github.com/WordPress/gutenberg/pull/63565 useBlockElement: return null until ref callback has time to clean up the old element].

Reviewed by spacedmonkey.
Merges [58757] to the 6.6 branch.

Props ellatrix.
Fixes #61692.
See #61660, #61630, #61656.
Built from https://develop.svn.wordpress.org/branches/6.6@58760


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 16:54:17 +00:00
hellofromTonya c7fdc6880e Toolbar: Move user and recovery menus to a higher priority.
Following [58215], admin bar items in the top-secondary group have a changed visual order. Increase the priority of the user and recovery menu items so nodes added with higher priorities will still be shown visually before the user and recovery menu items, as they were prior to 58215.

The items will appear in the reverse of the previous order, but the new order now matches their priority order, rather than being the opposite.

Reviewed by hellofromTonya.
Merges [58748] to the 6.6 branch.

Props sabernhardt, joemcgill, pbiron, joedolson.
Fixes #61615.
Built from https://develop.svn.wordpress.org/branches/6.6@58759


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 16:45:13 +00:00
hellofromTonya be59e6ba32 Editor: Limit scope of resizable menu container CSS.
The CSS to make menu item containers resizable in the admin menu editor was too broadly scoped, and caused classic editor metaboxes to have unconstrained height. Limit the scope of the CSS changes to only impact menu item containers.

Reviewed by jorbin.
Merges [58747] to the 6.6 branch.

Props neotrope, sabernhardt, joedolson.
Fixes #61662.
Built from https://develop.svn.wordpress.org/branches/6.6@58758


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 16:15:16 +00:00
hellofromTonya a305bc9b34 Block Themes: Avoid specificity bump for top-level element-only selectors.
Prevent issues (e.g. links being underlined) caused by a bump in CSS specificity for top-level element-only global element styles.

Ref: PHP changes from https://github.com/WordPress/gutenberg/pull/63403.

Reviewed by hellofromTonya.
Merges [58749] to the 6.6 branch.

Props aaronrobertshaw, andrewserong, noisysocks, annubis, butterflymedia, clarktbt, hellofromTonya, jorbin, joedolson, swissspidy, courane01, raquelandefeld, talldanwp, markhowellsmead, youknowriad, poena, cbirdsong.
Fixes #61630, #61660.
Built from https://develop.svn.wordpress.org/branches/6.6@58751


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 12:00:13 +00:00
hellofromTonya 083603e40b Upgrade/Install: Update the `$_old_files` array for 6.6.
Reviewed by hellofromTonya.
Merges [58744] to the 6.6 branch.

Props dd32, audrasjb, hellofromTonya.
Fixes #61665.
Built from https://develop.svn.wordpress.org/branches/6.6@58746


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-17 23:20:14 +00:00
audrasjb 89fd1a92f8 Post WordPress 6.6 version bump.
The 6.6 branch is now 6.6.1-alpha.


Built from https://develop.svn.wordpress.org/branches/6.6@58737


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-16 17:09:16 +00:00
audrasjb 356ec11f9d WordPress 6.6.
Built from https://develop.svn.wordpress.org/branches/6.6@58735


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-16 16:18:12 +00:00
audrasjb 3b5ab3f14b Post WordPress 6.6 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/6.6@58723


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-15 15:15:10 +00:00
audrasjb 727cf8b0f4 WordPress 6.6 RC4.
Built from https://develop.svn.wordpress.org/branches/6.6@58722


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-15 14:59:16 +00:00
davidbaumwald b67821a2bd Bundled Themes: Bump default theme versions for release with 6.6.
This updates the version of each default theme to the following versions:

- Twenty Ten: 4.2
- Twenty Eleven: 4.7
- Twenty Twelve: 4.3
- Twenty Thirteen: 4.2
- Twenty Fourteen: 4.0
- Twenty Fifteen: 3.8
- Twenty Sixteen: 3.3
- Twenty Seventeen: 3.7
- Twenty Nineteen: 2.9
- Twenty Twenty: 2.7
- Twenty Twenty-One: 2.3
- Twenty Twenty-Two: 1.8
- Twenty Twenty-Three: 1.5
- Twenty Twenty-Four: 1.2

These versions will released in coordination with WordPress 6.6.

Reviewed by hellofromTonya.
Merges [58718] to the 6.6 branch.

Props sabernhardt, shailu25, rudlinkon, kapilpaul.
Fixes #60701.
Built from https://develop.svn.wordpress.org/branches/6.6@58721


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-15 14:32:10 +00:00
audrasjb 83e01e562b Editor: Update packages for 6.6 RC 4.
This package update includes only one revert PR:
https://github.com/WordPress/gutenberg/pull/63412

You can confirm the changes in this package update here:
https://github.com/WordPress/gutenberg/commits/wp/6.6/

Reviewed by ellatrix, audrasjb.
Merges [58719] to the 6.6 branch.

Fixes #61654.
Props santosguillamot.


Built from https://develop.svn.wordpress.org/branches/6.6@58720


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-15 14:24:19 +00:00
Joe McGill 74381dbbc2 Editor: Revert caching of global styles for blocks.
This reverts [58334] to fix a bug where edits to block styles made in the site editor were not showing in the front end.

Reviewed by hellofromtonya.
Merges [58710] to the 6.6 branch.

Props joemcgill, spacedmonkey, andrewserong, hellofromtonya, audrasjb.
See #59595.

Built from https://develop.svn.wordpress.org/branches/6.6@58711


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-12 20:01:15 +00:00
audrasjb 4726b812e8 Post WordPress 6.6 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/6.6@58701


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 17:36:16 +00:00
audrasjb 6e0d362bcc WordPress 6.6 RC3.
Built from https://develop.svn.wordpress.org/branches/6.6@58700


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 17:19:14 +00:00
hellofromTonya 98b5022652 Editor: Fix ref values within block style variations.
Fixes an issue where block style variations that use `ref` values to reference styles elsewhere in theme.json weren't working.

Retrieves reference values when generating styles for block style variations. How? When retrieving variation data, to generate styles from, also retrieve any referenced values.

Reviewed by audrasjb.
Merges [58691] to the 6.6 branch.

Props aaronrobertshaw, andrewserong, ramonopoly.
Fixes #61589.
Built from https://develop.svn.wordpress.org/branches/6.6@58699


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 16:08:15 +00:00
davidbaumwald df6f9bdc6a Editor: Prevent flash of block style variation styling in post editor.
These changes prevent a flash of style updates for applied block style variations when the global styles data is loaded into the block editor. This is done by preloading the global styles REST API paths which also brings the post and site editors further into line.

Reviewed by audrasjb.
Merges [58690] to the 6.6 branch.

Props aaronrobertshaw, andrewserong, ramonopoly, ellatrix, hellofromTonya.
Fixes #61553.
Built from https://develop.svn.wordpress.org/branches/6.6@58698


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 15:59:16 +00:00
audrasjb 52d04586c1 Docs: Update AJAX in Plugins HelpHub link to avoid unnecessary redirection.
Follow-up to [17045], [20713], [41065], [45674], [55412], [57854], [58131], [58132].

Reviewed by desrosj, davidbaumwald.
Merges [58672] to the 6.6 branch.

Props shailu25.
Fixes #60732.
See #60699.


Built from https://develop.svn.wordpress.org/branches/6.6@58697


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 15:43:14 +00:00
davidbaumwald 14e9ba9312 Editor: Fix root padding for alignwide blocks.
Updates the root padding CSS selectors so wide width container blocks with constrained layout don’t receive padding.

Reviewed by audrasjb.
Merges [58685] to the 6.6 branch.

Props isabel_brison, mukesh27, aaronrobertshaw, hellofromTonya.
Fixes #61587.
Built from https://develop.svn.wordpress.org/branches/6.6@58696


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 15:33:17 +00:00
davidbaumwald 1851213287 Editor: Update packages for 6.6 RC 3.
Reviewed by hellofromTonya.
Merges [58693] to the 6.6 branch.

Props ellatrix, youknowriad.
Fixes #61603.
Built from https://develop.svn.wordpress.org/branches/6.6@58695


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 14:42:25 +00:00
davidbaumwald 1dbdbb2152 REST API: Correct image cropping tools in the block editor.
As of [58457], the width and height cropping values are cast to an integer before the comparison to see if the target width and height differ from the original width and height.
Since they are now integers, it exposes a bug where the && of the if conditional meant that if you were only cropping in one dimension, the check wouldn't pass, and cropping would not occur.
In the block editor, the cropping tools are aspect ratio based, so one of the dimensions will always match that of the source image. Therefore, now that the values are cast as integers, the condition that allows a cropping to occur needs to be updated. If either width or height is different from the source image, then a crop should be allowed.

Follow-up to [50124], [58457].

Reviewed by davidbaumwald.
Merges [58612] to the 6.6 branch.

Props andrewserong, jrf, kevin940726.
Fixes #61514. See #59782.
Built from https://develop.svn.wordpress.org/branches/6.6@58692


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 13:07:13 +00:00
Peter Wilson 8f9eafb8d0 Help/About: Update performance improvements string.
Updates the performance improvements string with the finalized percentage improvement in the editor and to improve styling and language consistency.

Reviewed by ryelle.
Merges [58671] to the 6.6 branch.

Props ryelle, annezazu, peterwilsoncc.
Fixes #61320.

Built from https://develop.svn.wordpress.org/branches/6.6@58675


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-04 22:32:18 +00:00
desrosj 98a9717a62 Build/Test Tools: Change the default value of `LOCAL_PHP`.
This changes the default values for `LOCAL_PHP` and `LOCAL_DB_VERSION` in the 6.6 branch from `latest` to `8.3-fpm` and `8.0`, respectively, to properly reflect the highest version of PHP this branch will support (with beta support).

See #61533.
Built from https://develop.svn.wordpress.org/branches/6.6@58657


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-03 17:23:14 +00:00
desrosj 3c60d0f021 Build/Test Tools: Update the reusable PHPUnit workflow name.
Follow up to [58645] for the 6.6 branch.

Props jorbin.
See #61213.
Built from https://develop.svn.wordpress.org/branches/6.6@58646


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-03 15:57:16 +00:00
hellofromTonya a49a0799f1 Post WordPress 6.6 RC2.
Built from https://develop.svn.wordpress.org/branches/6.6@58622


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-02 17:05:17 +00:00
hellofromTonya 97d360e154 WordPress 6.6 RC2.
Built from https://develop.svn.wordpress.org/branches/6.6@58621


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-02 16:48:18 +00:00
ryelle 67523c0063 Help/About: Add images to the About page.
The images have been uploaded to the w.org CDN and added into the About page. Additionally, the link to the release page has been fixed, and an extra translator note about the escaped percent sign has been added.

Follow-up to [58568].

Reviewed by davidbaumwald.
Merges [58618] to the 6.6 branch.

Props ryelle, joen.
See #61320.


Built from https://develop.svn.wordpress.org/branches/6.6@58620


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-02 15:23:13 +00:00
desrosj 3ef7134941 Editor: Update packages for 6.6 RC 2.
Fixes #61548.
Fixes https://github.com/WordPress/wordpress-develop/pull/6953.

See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches.

Merges [58617] to the 6.6 branch.

Props ellatrix, youknowriad.
Built from https://develop.svn.wordpress.org/branches/6.6@58619


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-02 15:16:43 +00:00
gziolo 7949f94836 HTML API: Report breadcrumbs properly when visiting virtual nodes.
The breadcrumbs have been updated to account for the virtual nodes
and the depth method has been updated to rely on the fixed breadcrumb logic.

Reviewed by jonsurrell, zieladam, gziolo.
Merges [58588] to the 6.6 branch.

Follow-up to [58304].

Props dmsnell, hellofromtonya, joemcgill, jonsurrell, zieladam.
Fixes #61348.


Built from https://develop.svn.wordpress.org/branches/6.6@58590


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-28 07:13:13 +00:00
desrosj c43d34cc8f Build/Test Tools: Revert `uglify-js` update.
This partially reverts [58563], which applied an update of the `uglify-js` devDependency from `3.17.4` to `3.18.0`.

The `3.18.0` update is causing some JavaScript errors in the `media-views.min.js` file, so needs to be investigated further.

Reviewed by jorbin, hellofromTonya.
Merges [58585] to the 6.6 branch.

Props david.binda, mukesh27, alshakero, jorbin, hellofromTonya.
Fixes #61519.
Built from https://develop.svn.wordpress.org/branches/6.6@58586


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-27 13:51:43 +00:00
hellofromTonya 5cef392972 Branch 6.6
Built from https://develop.svn.wordpress.org/branches/6.6@58574


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 17:35:08 +00:00
audrasjb dfe2d45189 Post WordPress 6.6 RC1 version bump.
Built from https://develop.svn.wordpress.org/trunk@58573


git-svn-id: http://core.svn.wordpress.org/trunk@58021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 16:21:18 +00:00
audrasjb 7fd0e372bb WordPress 6.6 RC1.
Built from https://develop.svn.wordpress.org/trunk@58572


git-svn-id: http://core.svn.wordpress.org/trunk@58020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 16:10:24 +00:00
Aaron Jorbin 02ffbdb479 Media: unfix admin image cropping calculations.
[58456] introduced some failures to the automated test system that indicate this fix is incomplete.

See #32282.
Props hellofromtonya, audrasjb, andrewserong, kevin940726, oglekler.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 15:32:16 +00:00
Aaron Jorbin 9da0418c41 Filesystem: Normalize allowed_files so comparison is apples to apples.
In [58470] a change was made to normalize the filename in validate_file, however this leads to instances where the list of files that are allowed aren't normalized such as in the theme editor. By normalizing the array, the comparison is apples to apples.

Fixes #61488.
Props jorbin, hellofromtonya, swissspidy, misulicus, script2see, Presskopp, audrasjb, peterwilsoncc, siliconforks, littler.chicken, paulkevan,

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


git-svn-id: http://core.svn.wordpress.org/trunk@58018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 14:19:12 +00:00
desrosj 3b4a816522 Build/Test Tools: Run `npm audit fix`.
This runs `npm audit fix` to address upstream issues with dependencies.

See #61498.
Built from https://develop.svn.wordpress.org/trunk@58569


git-svn-id: http://core.svn.wordpress.org/trunk@58017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 14:15:17 +00:00
ryelle 53cb6c903b Help/About: Update the About page for 6.6.
Introducing the new content for the 6.6 About page. This release, the About page will have just the highlights for 6.6, and link off to the release page on WordPress.org for the full overview.

See #61320, https://github.com/WordPress/gutenberg/issues/62631.
Props ryelle, andrewserong, annezazu, joen, beafialho, richtabor, kristastevens, marybaum, cbringmann, DanSoschin, youknowriad.


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


git-svn-id: http://core.svn.wordpress.org/trunk@58016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 13:59:14 +00:00
desrosj a9bc14866c Build/Test Tools: Run `grunt precommit:css`.
This rebuilds compiled CSS files after updating the `caniuse` database in [58563].

All `-webkit-clip-path` properties have been removed as the corresponding browsers dipped below 1% usage and have fallen out of the browser support policy.

Fixes #61499.
Built from https://develop.svn.wordpress.org/trunk@58567


git-svn-id: http://core.svn.wordpress.org/trunk@58015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 13:56:17 +00:00
audrasjb 01a0462229 Coding Standards: Fix WPCS issue found after [58564].
Unprops audrasjb.
See #61153.



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


git-svn-id: http://core.svn.wordpress.org/trunk@58014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 13:54:14 +00:00