From c057097377fcc23a49ab3e0203505ce3d215b51d Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 11 Aug 2024 14:26:17 +0000 Subject: [PATCH] Twenty Twelve: Fixes Code block font family difference in editors. The Code block font family was different in the front-end and the editor. This resolves the overruling in the iframe editor. Props pitamdey, sabernhardt. Fixes #61808. Built from https://develop.svn.wordpress.org/trunk@58882 git-svn-id: http://core.svn.wordpress.org/trunk@58278 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/css/editor-blocks.css | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwelve/css/editor-blocks.css b/wp-content/themes/twentytwelve/css/editor-blocks.css index 4a1049dae0..85dd813bf2 100644 --- a/wp-content/themes/twentytwelve/css/editor-blocks.css +++ b/wp-content/themes/twentytwelve/css/editor-blocks.css @@ -268,6 +268,7 @@ p.has-drop-cap:not(:focus)::first-letter { .wp-block-code { border: 0; + font-family: Consolas, Monaco, Lucida Console, monospace; font-size: 12px; line-height: 2; padding: 0; diff --git a/wp-includes/version.php b/wp-includes/version.php index 39c1b6e092..e1da5b3a51 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58881'; +$wp_version = '6.7-alpha-58882'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.