From d271a206dbc87421b221edb2f7acff6ea523fb5d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 12 Feb 2021 07:53:28 +0000 Subject: [PATCH] Block Editor: Remove extra quotes from the default font stack for editor styles. Follow-up to [50155]. Props dd32, Joen, kafleg. Fixes #46169. git-svn-id: https://develop.svn.wordpress.org/trunk@50295 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-blocks.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/edit-form-blocks.php b/src/wp-admin/edit-form-blocks.php index 48a9ebd3dd..bc198de8b7 100644 --- a/src/wp-admin/edit-form-blocks.php +++ b/src/wp-admin/edit-form-blocks.php @@ -193,9 +193,8 @@ $styles = array( ), ); -$locale_font_family = '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif'; -$styles[] = array( - 'css' => "body { font-family: '$locale_font_family' }", +$styles[] = array( + 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }', ); if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {