Changeset 39592
- Timestamp:
- 12/13/2016 02:47:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/po.php
r39591 r39592 170 170 $lines = explode("\n", $string); 171 171 $append = ''; 172 if ( '' === end($lines)) {172 if ("\n" === substr($string, -1) && '' === end($lines)) { 173 173 // Last line might be empty because $string was terminated 174 174 // with a newline, remove it from the $lines array,
Note: See TracChangeset
for help on using the changeset viewer.