From 02d01de6c57da90137403c60e11e211cd84dedc3 Mon Sep 17 00:00:00 2001 From: ianbelanger Date: Wed, 5 Feb 2020 15:02:05 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty Menu rendering problem Unicode (Bangla). Fixes a bug where certain words break on to a second line in the primary and footer menus, in certain languages. Props smallprogrammers, Shital Patel, mukesh27, audrasjb. Fixes #48970. Built from https://develop.svn.wordpress.org/trunk@47192 git-svn-id: http://core.svn.wordpress.org/trunk@46992 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/style-rtl.css | 4 ++++ wp-content/themes/twentytwenty/style.css | 4 ++++ wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index 034d57b93c..ef552c21b8 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -1627,6 +1627,8 @@ ul.primary-menu { display: block; line-height: 1.2; text-decoration: none; + word-break: normal; + word-wrap: normal; } .primary-menu a:hover, @@ -4330,6 +4332,8 @@ div.comment:first-of-type { .footer-menu a { text-decoration: none; + word-break: normal; + word-wrap: normal; } .footer-menu a:hover, diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index e377dba7ea..d845fc0223 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -1633,6 +1633,8 @@ ul.primary-menu { display: block; line-height: 1.2; text-decoration: none; + word-break: normal; + word-wrap: normal; } .primary-menu a:hover, @@ -4364,6 +4366,8 @@ div.comment:first-of-type { .footer-menu a { text-decoration: none; + word-break: normal; + word-wrap: normal; } .footer-menu a:hover, diff --git a/wp-includes/version.php b/wp-includes/version.php index 4cc9ef10c3..b2dbef12ae 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47191'; +$wp_version = '5.4-alpha-47192'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.