From b41c040f18bb6d27def8703e4fbe178c49bddbb0 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Fri, 17 Apr 2020 10:11:08 +0200 Subject: [PATCH] Avoid using get_theme_support for drop cap --- lib/compat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat.php b/lib/compat.php index b9ca5927d5b9c..0f4ea78a7618e 100644 --- a/lib/compat.php +++ b/lib/compat.php @@ -52,7 +52,7 @@ function register_block_type_from_metadata( $path, $args = array() ) { * @return array Filtered editor settings. */ function gutenberg_extend_settings_drop_cap( $settings ) { - $settings['__experimentalDisableDropCap'] = get_theme_support( 'disable-drop-cap' ); + $settings['__experimentalDisableDropCap'] = false; return $settings; } add_filter( 'block_editor_settings', 'gutenberg_extend_settings_drop_cap' );