From 8f2c73e9717b40442b726f07f3defffadbe85fae Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 9 Jul 2023 14:29:16 +0000 Subject: [PATCH] Twenty Twenty-One: Replace the experimental link color theme support. This replaces `add_theme_support( 'experimental-link-color' )` with `add_theme_support( 'link-color' )`, to provide the feature to Twenty Twenty-One users, but also to avoid throwing a "doing it wrong" message when Gutenberg version 16.2 is active. Follow-up to [58597]. Props poena. Fixes #58702. git-svn-id: https://develop.svn.wordpress.org/trunk@56170 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwentyone/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentyone/functions.php b/src/wp-content/themes/twentytwentyone/functions.php index d406776042..eb80b67daa 100644 --- a/src/wp-content/themes/twentytwentyone/functions.php +++ b/src/wp-content/themes/twentytwentyone/functions.php @@ -322,8 +322,8 @@ if ( ! function_exists( 'twenty_twenty_one_setup' ) ) { // Add support for custom line height controls. add_theme_support( 'custom-line-height' ); - // Add support for experimental link color control. - add_theme_support( 'experimental-link-color' ); + // Add support for link color control. + add_theme_support( 'link-color' ); // Add support for experimental cover block spacing. add_theme_support( 'custom-spacing' );