From db48c08d85938bcec2155fababa03945e12f51dc Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 10 Nov 2025 04:08:34 +0000 Subject: [PATCH] Twenty Twenty: Fix font inconsistency for Latest Posts block in block editor. This ensures that the font used on the frontend is also used in the block editor. Props rishabhwp, shailu25, sabernhardt, jobata, gulamdastgir04, oglekler, nidhidhandhukiya, Maia12345, audrasjb. Fixes #63798. Built from https://develop.svn.wordpress.org/trunk@61189 git-svn-id: http://core.svn.wordpress.org/trunk@60525 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 4 ++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 4 ++++ wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 141b9d9f86..c2bfa33d63 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -1064,6 +1064,10 @@ hr.wp-block-separator.is-style-dots::before { margin-top: 15px; } +.wp-block-latest-posts__post-full-content p { + font-family: inherit; +} + .wp-block-latest-posts__post-full-content > p:first-child { margin-top: 1em; } diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 862a51cc2b..222019e9a9 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -1068,6 +1068,10 @@ hr.wp-block-separator.is-style-dots::before { margin-top: 15px; } +.wp-block-latest-posts__post-full-content p { + font-family: inherit; +} + .wp-block-latest-posts__post-full-content > p:first-child { margin-top: 1em; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 2cd4bcf218..2ced61758d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta4-61188'; +$wp_version = '6.9-beta4-61189'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.