48651 Commits

Author SHA1 Message Date
Jonathan Desrosiers
a38890fa99 Build/Test Tools: Fix bug pulling local environment containers on Apple silicone.
The MySQL Docker containers for versions 5.7 and below do not support recent Apple silicone chips. Previously this was fixed by including `amd64/` as a prefix to the image name in the `docker-compose.yml` file (see [54096]). However, this stopped working after recent updates to Docker Desktop.

This changeset removes the `amd64/` prefix for the image used as the database container and raises the default version of MySQL in the local development environment to the current LTS version (8.0). Because this version is still maintained, there are `arm64` containers available to use.

This also documents a new workaround for contributors looking to run the local Docker environment using MySQL 5.7 or earlier, which entails creating a small `docker-compose.override.yml`.

Merges [57568] to the 6.4 branch.

Props bernhard-reiter, johnbillion, afragen, huzaifaalmesbah.
Fixes #59930.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57862 602fd350-edb4-49c9-b593-d223f7449a82
2024-03-21 18:40:34 +00:00
Jonathan Desrosiers
2e60defa5d Build/Test Tools: Bump the Node.js version for Codespaces.
This bumps the version of Node.js used in GitHub Codespaces from 16 to 20.

Follow up to [57212].

Merges [57667] to the 6.4 branch.

Props itschristiandale, huzaifaalmesbah.
Fixes #60555.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57672 602fd350-edb4-49c9-b593-d223f7449a82
2024-02-20 17:31:36 +00:00
Joe McGill
8338c63028 Post WordPress 6.4.3 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57488 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 21:25:28 +00:00
Joe McGill
ef752922cc WordPress 6.4.3.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57463 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 19:08:26 +00:00
Aaron Jorbin
28b06ee1bc Install: When populating options, maybe_serialize instead of always serialize.
Merges [57389] to 6.4 branch.

Props xknown, peterwilsoncc, jorbin, desrosj.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57391 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 14:25:41 +00:00
Aaron Jorbin
ee5a601e0f Uploads: Check for and verify ZIP archives.
Merges [57388] to 6.4 branch.

Props costdev, peterwilsoncc, azaozz, tykoted, johnbillion, desrosj, afragen, jorbin.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57390 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 14:24:32 +00:00
Joe McGill
89c53f4db7 Post WordPress 6.4.3 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57360 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-25 20:23:20 +00:00
Joe McGill
a2a06c2620 WordPress 6.4.3 RC1.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57359 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-25 20:06:57 +00:00
Aaron Jorbin
69242ba40f Media: Redirect inactive attachment pages for logged-out users.
Ensure logged out users are redirected to the media file when attachment pages are inactive. This removes the read_post capability check from the canonical redirects as anonymous users lack the permission.

This was previously committed in [57310] before being reverted in [57318]. This update includes a fix to cover instances where revealing a URL could be considered a data leak and greatly expands the unit tests to ensure that this is covered along with many other instances.

Follow-up to [56657], [56658], [56711], [57310], [57318].

Reviewed by joemcgill.
Merges [57357] to 6.4 branch.

Props peterwilsoncc, jorbin, afercia, aristath, chesio, joppuyo, jorbin, lakshmananphp, poena, sergeybiryukov, swissspidy, johnbillion, mukesh27.
Fixes #59866.
See #57913.



git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57358 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-25 19:41:24 +00:00
Aaron Jorbin
6338d63ec7 Embeds: Ensure the deprecated function print_emoji_styles isn't used
Ensure that the proper new function wp_enqueue_emoji_styles is used in embeds.

Follow-up to: [56194].

Reviewed by davidbaumwald.
Merges [57306] to the 6.4 branch.

Props peterwilsoncc, bobbingwide, hellofromTonya.
Fixes #59892. See: #58775.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57347 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-24 19:25:00 +00:00
Aaron Jorbin
4368dbadf6 Editor: update npm packages in trunk for 6.4.3.
Package Update includes fixes for:
- Fix block rename control shown in "Advanced" for unsupported blocks
- Query block: remove unnecessary class
- Fix duotone not showing in site editor style block level styles
- Query Loop - Add accessibility markup at the end of the loop in all cases.
- Background Image Support: Hide the background image reset button when there's no image
- Background image support: Fix focus loss when resetting background image
- Autocomplete: Fix Voiceover not announcing suggestions
- Fix pattern category renaming causing potential duplicate categories
- Patterns: use existing download function for JSON downloads to fix non-ASCII encoding
- Add context for translators to any unclear usage of "synced"
- Image block: Add check for lightbox values during image block migration
- Image Block: Enable image block to be selected correctly when clicked
- Reduce specificity of default Cover text color styles.
- Image Block: Fix deprecation when width/height attribute is number
- Text selection: show CSS hack to Safari only.
- SlotFill: Allow contextual SlotFillProviders

Reviewed by peterwilsoncc.
Merges [57258] and [57109] to 6.4 branch.

Props mikachan, isabel_brison, kebbet, artemiosans, talldanwp, ramonopoly, alexstine, andrewserong, mamaduka, cbravobernal, ajlende, luisherranz, wildworks, poena, czapla, andraganescu, joen, ellatrix, youknowriad, ntsekouras.
Fixes #59828.



git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57346 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-24 19:00:51 +00:00
Peter Wilson
7714f5deec Twenty Twenty-Four: Add missing textdomain in pattern category description.
Follow-up to [56951].

Reviewed by jorbin.
Merges [57127] to the 6.4 branch.

Props gavande1, acosmin, afercia, huzaifaalmesbah, ironprogrammer, SergeyBiryukov.
Fixes #59840.




git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57307 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-18 02:59:29 +00:00
Jonathan Desrosiers
a473f0e19d Bundled Themes: Version bump themes affected by #60241.
In order to release the fix for #60241, this bumps the version of the following themes:

- Twenty Seventeen: 3.5
- Twenty Twenty: 2.5
- Twenty Twenty-One: 2.2 

Merges [57296] to the 6.4 branch.

Props sabernhardt, jorbin.
See #60267.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57297 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-16 19:30:16 +00:00
Jonathan Desrosiers
5a52b8ec6f Twenty Twenty-One: Revert usage of str_contains() in theme files.
The theme supports WordPress 5.3 or later, while the polyfill for str_contains() only exists in WordPress 5.9 or later.

Follow-up to [55988], [57275], [57276].

Merges [57277] to the 6.4 branch.

Props poena, SergeyBiryukov.
Fixes #60241.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57293 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-16 16:09:50 +00:00
Jonathan Desrosiers
716e160435 Twenty Twenty: Revert usage of str_contains() in theme files.
The theme supports WordPress 4.7 or later, while the polyfill for str_contains() only exists in WordPress 5.9 or later.

Follow-up to [55988], [57275].

Merges [57276] to the 6.4 branch.

Props poena, SergeyBiryukov.
See #60241.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57292 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-16 16:07:50 +00:00
Jonathan Desrosiers
41b3e781b9 Twenty Seventeen: Revert usage of str_contains() in theme files.
The theme supports WordPress 4.7 or later, while the polyfill for str_contains() only exists in WordPress 5.9 or later.

Follow-up to [55988].

Merges [57275] to the 6.4 branch.

Props poena, SergeyBiryukov.
See #60241.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57291 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-16 16:06:41 +00:00
Peter Wilson
08f27013d6 Login and Registration: Use correct variable to display a single error message.
When the `wp_login_errors` filter is used to add an error message followed by an instructional message, the former was not displayed and the latter was errouneously displayed twice above the login form.

This commit ensures that the error message is displayed as expected.

Follow-up to [56654].

Reviewed by jorbin.
Merges [57142] to the 6.4 branch.

Props mapumba, SergeyBiryukov.
Fixes #59983.




git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57288 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-16 03:21:45 +00:00
Jonathan Desrosiers
87dfd5514b Build/Test Tools: Raise minimum required version of Node.js/npm.
This bumps the minimum required version of Node.js/npm from 16.19.1 and 8.19.3 to 20.10.0 and 10.2.3.

Since 20.10.0 is the latest 20.x version of Node.js, the check-latest option has been enabled for actions/setup-node in GitHub Actions workflows. This performs an additional external call to the Node.js API confirming the latest version is installed on the runner for use. In testing, it seems that 20.10.0 was not consistently deployed to all runner machines in use. This should be removed in the near future when the version of Node.js is reliably above the new minimum requirement.

The Gutenberg repository has also been updated to use the same values for engines.

Merges [57212] to the 6.4 branch.

Props jorbin, joemcgill, swissspidy, benharri, dhrupo, flootr, gziolo, noahtallen.
See #59663.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57214 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-20 18:59:17 +00:00
Jonathan Desrosiers
02e0733577 Build/Test Tools: Change the default value of LOCAL_PHP.
This changes the default value for `LOCAL_PHP` in the 6.4 branch from `latest` to `8.3-fpm` to reflect the highest version of PHP this branch will support (with beta support).

After this change, future updates to the `latest` container built and published by the `wpdev-docker-images` repository will not cause failures in this branch.

While there are currently no failures in the 6.4 branch, the `latest` container was recently changed from using PHP 7.4 to 8.2 and caused failures in the 5.8-6.3 branches. Pinning a PHP version to this branch now will prevent that same scenario in the future. Going forward, this should be done at the time of branching.

Older branches already have specific PHP versions defined.

See #60095.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57198 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-18 18:54:28 +00:00
Sergey Biryukov
d9d0fd6495 Tests: Revert [57182] from the 6.4 branch.
This will be committed to trunk instead.

See #59825.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57183 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-12 12:15:45 +00:00
Aaron Jorbin
1bc6ffd52b Build/Test: Add unit tests for wp_checkdate.
Props pbearne, ironprogrammer.
Fixes #59825.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57182 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-11 19:19:25 +00:00
Joe McGill
f90515acdb Update package-lock.json after the 6.4.3-alpha version bump.
This is a followup to [57167] to fix a version number in `package-lock.json` that was missed in the initial commit.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57168 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-06 17:18:31 +00:00
Joe McGill
a211c6848a Post WordPress 6.4.2 version bump.
The 6.4 branch is now 6.4.3-alpha.



git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57167 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-06 16:58:04 +00:00
Joe McGill
e6be06e823 WordPress 6.4.2.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57165 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-06 16:10:27 +00:00
Joe McGill
b90dc99d51 HTML-API: Prevent unintended behavior when WP_HTML_Token is unserialized.
Merges [57163] to the to the 6.4 branch.

Props dmsnell, peterwilsoncc, dd32, xknown, rawrly, johnbillion, barry, jeffpaul, vortfu, isabel_brison, mikeschroder, jorbin.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57164 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-06 16:04:44 +00:00
Aaron Jorbin
c1f36fafdb Help/About: Change CSS align-item for full browser support.
The values of start and end are not fully supported by Opera Mini which has 1.01% usage. There is no material change in functionality with this change.

Reviewed by hellofromTonya.
Merges [57151] to 6.4 branch.

Props kebbet, NekoJonez, luminuu, hellofromTonya.
Fixes #59819.



git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57160 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-05 17:11:26 +00:00
Aaron Jorbin
f2c05952c0 Themes: Remove memoization from stylesheet and theme directories.
This fixes bugs introduced in [56635] whereby the template or stylesheet path could be memoized incorrectly if get_template_directory() or get_stylesheet_directory() were called before the theme has been fully initialized.

Reviewed by Jorbin.
Merges [57129] to 6.4 branch.

Props partyfrikadelle, coreyw, kdowns, rebasaurus, meta4, flixos90, mukesh27, joemcgill, icaleb.
Fixes #59847.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57156 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-04 19:57:30 +00:00
Tonya Mork
743109013b REST API: Restore site logo and icon in index.
Restores setting the site's logo, icon, and wp-admin's back button image (which defaults to W).

Prior to [56566], the site logo and icon were unconditionally added to the index. [56566] changed this by conditionally adding them if either the `_links` or `_embedded` fields were included. However, these fields are not included when using the Site Logo block, as it uses the `site_logo`, `site_icon`, and `site_icon_url` fields instead.

This changeset restores the functionality by checking specifically for the `site_*` fields when neither of the `_links` or `_embedded` fields are present.

Follow up to [56566].

Reviewed by jorbin.
Merges [57147] to the 6.4 branch.

Props antonvlasenko, hellofromTonya, ironprogrammer, priethor, wildworks.
Fixes #59935.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57154 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-04 19:42:44 +00:00
Bernie Reiter
1029dde1bc Block Hooks: Expose serialized template content to filter.
The recently introduced Block Hooks API exposes a filter (`hooked_block_types`) which is given a `$context` argument, among others. If the filter is called on a block that's part of a template or template part, `$context` is set to the corresponding `WP_Block_Template` object.

However, that object's `$content` property is currently ''not'' exposed to the filter. This changeset amends that shortcoming.

This is useful for callbacks that might want to detect the presence of a serialized block instance (or potentially in the future utilize the HTML API) to restrict where the block is injected (before the template is rendered).

Addressing this also achieves parity with the structure of `$context` when it represents a pattern (where pattern serialized content is present).

Merges [57118] to the 6.4 branch.

Props nerrad.
Fixes #59882.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57119 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-17 07:15:35 +00:00
Bernie Reiter
4ac42561a7 HTML API: Fix typo in documentation example.
The example code in the PHPDoc comment for the HTML Tag Processor class
previously showed calling `next_tag()` with an array containing a `class`
key, which should have been `class_name`. This patch fixes this by using
the appropriate `class_name` key.

Merges [57116] to the 6.4 branch.

Props dmsnell, gaambo, crstauf, atachibana, audrasjb, krupalpanchal.
Fixes #59891.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57117 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-17 06:44:57 +00:00
Aaron Jorbin
3aa1af628b Remove unintended changes introduced in [57112].
Unprops jorbin.



git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57113 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-15 17:45:54 +00:00
Aaron Jorbin
6eede9e591 Help/About: Improve translation comment around release notes.
Reviewed by SergeyBiryukov.
Merges [57081] to the 6.4 branch.

Props kharisblank, kebbet.
Fixes #59821.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57112 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-15 17:35:35 +00:00
Joe McGill
d66ef46847 Themes: Correct docblock for _register_theme_block_patterns.
This updates the '@since 6.4.0' annotation in _register_theme_block_patterns to reference WP_Theme::get_block_patterns instead of _wp_get_block_patterns, which was changed in [56978].

Reviewed by audrasjb.
Merges [57102] to the to the 6.4 branch.

Props audrasjb, mukesh27, joemcgill.
Fixes #59869.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57103 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-10 15:58:50 +00:00
Peter Wilson
f413a31ce9 Post WordPress 6.4.1 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57098 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-09 01:47:37 +00:00
Peter Wilson
4dd1c1f57e WordPress 6.4.1
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57096 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-09 00:41:04 +00:00
Peter Wilson
3d8bc3190d Help/About: Update the About page for 6.4.1.
Props peterwilsoncc, hellofromtonya, jorbin, webcommsat.
Fixes #59852.



git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57095 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 23:43:02 +00:00
Peter Wilson
373e364894 Quick/Bulk Edit: Prevent assigning posts to default categories during bulk edit.
During a bulk edit of posts with different categories, the categories for the edited posts would be reset to the default category: uncategorized by default.

This reverts [56712] to resolve the issue.

Merges [57093] to the 6.4 branch.

Props peterwilsoncc, hellofromtonya, jorbin.
Fixes #59837.
See #11302.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57094 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 23:23:10 +00:00
Aaron Jorbin
951941bce4 Post WordPress 6.4.1 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57092 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 21:31:28 +00:00
Aaron Jorbin
d98418d578 WordPress 6.4.1 RC1.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57091 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 21:15:08 +00:00
Tonya Mork
9133c83dea Database: Reinstate wpdb::$use_mysqli property.
Partial revert of [56475] to reinstate the private `wpdb::$use_mysqli` property and set to its default to true. This private property was / is accessible through the magic methods. Though Core's usage of this property was removed by [56475], plugins are using the property. Reinstating it resolves the BC break.

Follow up to [56475].

Reviewed by jorbin.
Merges [57089] to the 6.4 branch.

Props jason_the_adams, joemcgill, johnbillion, johnjamesjacoby, jrf, rajinsharwar, renehermi.
Fixes #59846.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57090 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 20:36:13 +00:00
Aaron Jorbin
299ba76a50 External Libraries: Update Requests to 2.0.9.
This updates the Requests library from version 2.0.8 to 2.0.9. This is a hotfix release.

Reviewed by jorbin, desrosj.
Merges [57086] to 6.4 branch.

Props jorbin, hellofromTonya, desrosj, barry, cenkdemir, nexflaszlo, schlessera, jrf, Clorith, tomsommer, azaozz, pbiron, afragen, howdy_mcgee.
Fixes #59842.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57088 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 20:30:06 +00:00
Aaron Jorbin
faedab68e5 Administration: Fix typos in wp_admin_notice() arguments in a few instances.
Follow-up to [56570], [56599].

Reviewed by azaozz, joedolson, jorbin.

Props dlh, mukesh27, sumitbagthariya16.
Fixes #59830.


git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57087 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-08 20:08:53 +00:00
Tonya Mork
5b1edbf740 Post WordPress 6.4 version bump.
The 6.4 branch is now 6.4.1-alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57080 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-07 20:20:54 +00:00
Tammie Lister
dd49116414 WordPress 6.4.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57078 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-07 19:20:19 +00:00
Tonya Mork
36742704fc Upgrade/Install: Update $_old_files for 6.4.
Reviewed by davidbaumwald.
Merges [57075] to the 6.4 branch.

Props davidbaumwald.
Fixes #59817.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57076 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-06 17:51:53 +00:00
Tonya Mork
3cb832c126 Post WordPress 6.4 RC4 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57074 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-06 16:35:37 +00:00
Tonya Mork
8c9ac405dc WordPress 6.4 RC4.
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57073 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-06 16:20:54 +00:00
Jonathan Desrosiers
aebc798d7b Bundled Themes: Bump versions for WP 6.4 releases.
Since every default theme was updated during the 6.4 release cycle, this bumps the version of each one.

Twenty Ten: 4.0
Twenty Eleven: 4.5
Twenty Twelve: 4.1
Twenty Thirteen: 4.0
Twenty Fourteen: 3.8
Twenty Fifteen: 3.6
Twenty Sixteen: 3.1
Twenty Seventeen: 3.4
Twenty Nineteen: 2.7
Twenty Twenty: 2.4
Twenty Twenty-One: 2.0
Twenty Twenty-Two: 1.6
Twenty Twenty-Three: 1.3

Reviewed by hellofromTonya.
Merges [57069] to the 6.4 branch.

Props sabernhardt, rajinsharwar, mukesh27.
Fixes #58832.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57072 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-06 15:33:59 +00:00
Tonya Mork
74989ead6c Blocks: Document Block Hooks functions as private.
Documents the 4 new 6.4 Block Hooks global functions as private and for Core-only internal usage:

* `make_before_block_visitor()`
* `make_after_block_visitor()`
* `traverse_and_serialize_block()`
* `traverse_and_serialize_blocks()`

This is being done as the architectural design of these new functions may change in the next cycle. Further denoting them as private / Core only can help to avoid extender churn if any of these functions are deprecated.

Follow up to [56649], [56620].

Reviewed by karmatosed.
Merges [57066] to the 6.4 branch.

Props azaozz, hellofromTonya, bernhard-reiter, gziolo, mikeschroder.
Fixes #59783.
See #59313.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57071 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-06 15:27:52 +00:00
Tonya Mork
35c6c024e7 Twenty Twenty-Four: Bugfixes and refinement for 6.4 RC4.
This update includes the following changes:

* [https://github.com/WordPress/twentytwentyfour/pull/723 Remove custom CSS for links].
* [https://github.com/WordPress/twentytwentyfour/pull/718 Fix the link to the theme's docs].
* [https://github.com/WordPress/twentytwentyfour/pull/719 Separate outline css to its own function] - which introduces `twentytwentyfour_block_stylesheets()` for enqueuing custom block stylesheets.
* [https://github.com/WordPress/twentytwentyfour/pull/720 Fix height of newsletter landing pattern].
* [https://github.com/WordPress/twentytwentyfour/pull/722/ Resolve border colors in variations].

Follow up to [57036], [56999], [56951], [56813], [56764], [56716].

Reviewed by desrosj.
Merges [57067] to the 6.4 branch.

Props onemaggie, richtabor, luminuu, huzaifaalmesbah, sabernhardt, poena, rajinsharwar.
Fixes #59812.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57070 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-06 15:22:41 +00:00