Ticket #17128: 17128.patch
File 17128.patch, 685 bytes (added by , 13 years ago) |
---|
-
wp-includes/pomo/entry.php
61 61 * @return string|bool the key or false if the entry is empty 62 62 */ 63 63 function key() { 64 if ( is_null($this->singular)) return false;64 if ( null === $this->singular ) return false; 65 65 // prepend context and EOT, like in MO files 66 return is_null($this->context)? $this->singular : $this->context.chr(4).$this->singular;66 return ( null === $this->context ) ? $this->singular : $this->context . chr(4) . $this->singular; 67 67 } 68 68 69 69 function merge_with(&$other) {