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.
Built from https://develop.svn.wordpress.org/trunk@51306


git-svn-id: http://core.svn.wordpress.org/trunk@50915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-07-02 13:02:58 +00:00
parent d0c596c992
commit 433448f1d8
2 changed files with 1 additions and 9 deletions

View File

@ -1219,14 +1219,6 @@ class WP_Theme_JSON {
$theme_settings['settings']['spacing']['customPadding'] = $settings['enableCustomSpacing']; $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; return $theme_settings;
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51304'; $wp_version = '5.9-alpha-51306';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.