From 433448f1d897c5b2766e5884b4e15e55d37463eb Mon Sep 17 00:00:00 2001 From: desrosj Date: Fri, 2 Jul 2021 13:02:58 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-theme-json.php | 8 -------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 9cb206adce..64ce47b035 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index c96b728cc5..59ca712df0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.