diff --git a/src/wp-includes/pomo/translations.php b/src/wp-includes/pomo/translations.php index 6008f4aa18..aaf9a35550 100644 --- a/src/wp-includes/pomo/translations.php +++ b/src/wp-includes/pomo/translations.php @@ -82,6 +82,7 @@ class Translations { */ function translate_entry(&$entry) { $key = $entry->key(); + $key = str_replace( "\r\n", "\n", $key ); return isset($this->entries[$key])? $this->entries[$key] : false; }