Changeset 22350 for trunk/wp-includes/pomo/po.php
- Timestamp:
- 10/31/2012 10:26:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pomo/po.php
r22349 r22350 356 356 } 357 357 $line = $use_last_line? $last_line : fgets($f); 358 $line = gp_endswith( $line, "\r\n" )? rtrim( $line, "\r\n" ) . "\n" : $line;358 $line = ( "\r\n" == substr( $line, -2 ) ) ? rtrim( $line, "\r\n" ) . "\n" : $line; 359 359 $last_line = $line; 360 360 $use_last_line = false;
Note: See TracChangeset
for help on using the changeset viewer.