Skip to content

Commit

Permalink
Fix: Impossible to set empty array on editor-font-sizes. (#13824)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Feb 12, 2019
1 parent 9dc1a33 commit 15ecbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 15ecbb0

Please sign in to comment.