diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index 64ce47b035..486156fcd3 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -1206,12 +1206,6 @@ class WP_Theme_JSON { $theme_settings['settings']['typography']['fontSizes'] = $font_sizes; } - /* - * This allows to make the plugin work with WordPress 5.8 beta - * as well as lower versions. The second check can be removed - * as soon as the minimum WordPress version for the plugin - * is bumped to 5.8. - */ if ( isset( $settings['enableCustomSpacing'] ) ) { if ( ! isset( $theme_settings['settings']['spacing'] ) ) { $theme_settings['settings']['spacing'] = array();