Skip to content

Commit

Permalink
fix: invalid _doing_it_wrong() for experimental-link-color
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Dec 30, 2024
1 parent a28455c commit 8983ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public static function get_theme_data( $deprecated = array(), $options = array()
}
if ( current_theme_supports( 'experimental-link-color' ) ) {
_doing_it_wrong(
current_theme_supports( 'experimental-link-color' ),
"add_theme_support( 'experimental-link-color' )",
__( '`experimental-link-color` is no longer supported. Use `link-color` instead.', 'gutenberg' ),
'6.3.0'
);
Expand Down

0 comments on commit 8983ab1

Please sign in to comment.