WordPress.org

Make WordPress Core

Ticket #22172: 22172.patch

File 22172.patch, 425 bytes (added by SergeyBiryukov, 18 months ago)
  • wp-includes/pomo/translations.php

     
    6969 
    7070        function translate_entry(&$entry) { 
    7171                $key = $entry->key(); 
     72                $key = str_replace( "\r\n", "\n", $key ); 
    7273                return isset($this->entries[$key])? $this->entries[$key] : false; 
    7374        } 
    7475