Editor: Remove the experimental experimental-link-color feature.

This has been plugin only so far and should remain so.

Follow up to [50959].

Props nosolosw.
Fixes #53175.

git-svn-id: https://develop.svn.wordpress.org/trunk@51306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2021-07-02 13:01:59 +00:00
parent 7d72515899
commit d64fe64bbb

View File

@ -1219,14 +1219,6 @@ class WP_Theme_JSON {
$theme_settings['settings']['spacing']['customPadding'] = $settings['enableCustomSpacing'];
}
// Things that didn't land in core yet, so didn't have a setting assigned.
if ( current( (array) get_theme_support( 'experimental-link-color' ) ) ) {
if ( ! isset( $theme_settings['settings']['color'] ) ) {
$theme_settings['settings']['color'] = array();
}
$theme_settings['settings']['color']['link'] = true;
}
return $theme_settings;
}