Changeset 35686 for trunk/src/wp-includes/pomo/entry.php
- Timestamp:
- 11/18/2015 08:36:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/entry.php
r34348 r35686 70 70 function key() { 71 71 if (is_null($this->singular)) return false; 72 // prepend context and EOT, like in MO files 73 return is_null($this->context)? $this->singular : $this->context.chr(4).$this->singular; 72 73 // Prepend context and EOT, like in MO files 74 $key = is_null($this->context)? $this->singular : $this->context.chr(4).$this->singular; 75 // Standardize on \n line endings 76 $key = str_replace( array( "\r\n", "\r" ), "\n", $key ); 77 78 return $key; 74 79 } 75 80
Note: See TracChangeset
for help on using the changeset viewer.