From 463df820f85b7b29bcb2bf79c71653a0aa16b333 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 12 Feb 2021 07:55:06 +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. Built from https://develop.svn.wordpress.org/trunk@50295 git-svn-id: http://core.svn.wordpress.org/trunk@49940 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-blocks.php | 5 ++--- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wp-admin/edit-form-blocks.php b/wp-admin/edit-form-blocks.php index 48a9ebd3dd..bc198de8b7 100644 --- a/wp-admin/edit-form-blocks.php +++ b/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' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7d1ef4555f..134a6d42e3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta2-50294'; +$wp_version = '5.7-beta2-50295'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.