From 6f694a5983ccde4858cec24b096c0e552e437d59 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Tue, 16 Jul 2024 09:50:10 +0000 Subject: [PATCH] Twenty Fifteen: Fixes code block family being different in iframe editor. The font family was not being included for the code block. This adds Inconsolata to the code block within the editor styles. Props pranitdugad, sabernhardt. Fixes #61571. Built from https://develop.svn.wordpress.org/trunk@58730 git-svn-id: http://core.svn.wordpress.org/trunk@58132 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/css/editor-blocks.css | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfifteen/css/editor-blocks.css b/wp-content/themes/twentyfifteen/css/editor-blocks.css index 6ff376ef10..9ff366708d 100644 --- a/wp-content/themes/twentyfifteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfifteen/css/editor-blocks.css @@ -672,6 +672,10 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0; } +.wp-block-code { + font-family: Inconsolata, monospace; +} + /* Pullquote */ .wp-block-pullquote, diff --git a/wp-includes/version.php b/wp-includes/version.php index 04ae7b34b7..f5ecd4c228 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58729'; +$wp_version = '6.7-alpha-58730'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.