Changeset 55988 for trunk/src/wp-includes/pomo/po.php
- Timestamp:
- 06/22/2023 02:34:56 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pomo/po.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/po.php
r54959 r55988 129 129 $po = $quote . implode( "{$slash}n{$quote}{$newline}{$quote}", explode( $newline, $input_string ) ) . $quote; 130 130 // Add empty string on first line for readbility. 131 if ( false !== strpos( $input_string, $newline ) &&131 if ( str_contains( $input_string, $newline ) && 132 132 ( substr_count( $input_string, $newline ) > 1 || substr( $input_string, -strlen( $newline ) ) !== $newline ) ) { 133 133 $po = "$quote$quote$newline$po";
Note: See TracChangeset
for help on using the changeset viewer.