From 68f5457770f5e9828f03c93cca7c46a29e028adf Mon Sep 17 00:00:00 2001 From: "David A. Kennedy" Date: Wed, 23 Nov 2016 00:44:30 +0000 Subject: [PATCH] Twenty Seventeen: Ensure edit button label displays properly in other languages This bug occurred in any language where text wraps character-by-character, since those languages don't delimit words with spaces. In Japanese, Chinese and Korean, etc., it was possible for the label to be displayed vertically. Props tg29359, afercia, odysseygate. Fixes #38876. Built from https://develop.svn.wordpress.org/trunk@39341 git-svn-id: http://core.svn.wordpress.org/trunk@39281 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/style.css | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index ed06206297..8355bc52a8 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -2014,10 +2014,12 @@ body:not(.twentyseventeen-front-page) .entry-header { color: #222; display: inline-block; margin-left: 1em; + white-space: nowrap; } .search .page .entry-meta a.post-edit-link { margin-left: 0; + white-space: nowrap; } .taxonomy-description { @@ -2134,6 +2136,7 @@ body:not(.twentyseventeen-front-page) .entry-header { padding: 0.7em 2em; -webkit-transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out; + white-space: nowrap; } .entry-footer .edit-link a.post-edit-link:hover, diff --git a/wp-includes/version.php b/wp-includes/version.php index c12b3a3b68..51cf0c6a0c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta4-39340'; +$wp_version = '4.7-beta4-39341'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.