Commit 004c2326fc for wordpress.org
commit 004c2326fc32207c41c08fc9d36398a834e853a2
Author: mikachan <mikachan@git.wordpress.org>
Date: Mon Oct 19 20:31:53 2026 +0000
Editor: Fix link color in the "Large title" query pattern.
The Post Title block in the `core/query-large-title-posts` pattern set its link color with the old `style.color.link` attribute, which the block no longer supports. The setting was ignored, so the title links took the theme's link colour. In themes such as Twenty Twenty-Two and Twenty Twenty-Four, that made the titles nearly invisible on the pattern's dark background.
This changeset moves the link colour to `style.elements.link.color.text`, the Elements API attribute, so the titles show as intended.
Props sakshamsharma5, onemaggie.
Fixes #66201.
Built from https://develop.svn.wordpress.org/trunk@64579
git-svn-id: http://core.svn.wordpress.org/trunk@63729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/block-patterns/query-large-title-posts.php b/wp-includes/block-patterns/query-large-title-posts.php
index 0adf63aced..32c2e19eae 100644
--- a/wp-includes/block-patterns/query-large-title-posts.php
+++ b/wp-includes/block-patterns/query-large-title-posts.php
@@ -22,7 +22,7 @@ return array(
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"72px","lineHeight":"1.1"},"color":{"text":"#ffffff","link":"#ffffff"}}} /--></div>
+ <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"72px","lineHeight":"1.1"},"color":{"text":"#ffffff"},"elements":{"link":{"color":{"text":"#ffffff"}}}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template --></div>
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 1991b701e3..b485a33ba7 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-64578';
+$wp_version = '7.2-alpha-64579';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.