From a6fd5722ae6962ce6fb7bc4950f7a61523ed6581 Mon Sep 17 00:00:00 2001 From: Jorge Date: Mon, 11 Feb 2019 22:30:54 +0000 Subject: [PATCH] Fix: Impossible to set empty array on editor-font-sizes. --- lib/client-assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-assets.php b/lib/client-assets.php index 97afc6084a41c..e2a6cd048467d 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -1118,7 +1118,7 @@ function gutenberg_editor_scripts_and_styles( $hook ) { $editor_settings['colors'] = $color_palette; } - if ( ! empty( $font_sizes ) ) { + if ( false !== $font_sizes ) { $editor_settings['fontSizes'] = $font_sizes; }