mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
a6895dff86
commit
8f2c73e971
@ -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' );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user