From 15ecbb0dfc1b6e01fef7779abe5e0974c73290b1 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Tue, 12 Feb 2019 09:15:33 +0000 Subject: [PATCH] Fix: Impossible to set empty array on editor-font-sizes. (#13824) --- 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 97afc6084a41c4..e2a6cd048467d2 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; }