Changeset 55990 for trunk/src/wp-includes/pomo/po.php
- Timestamp:
- 06/22/2023 02:55:47 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/po.php
r55988 r55990 506 506 */ 507 507 public static function trim_quotes( $s ) { 508 if ( '"' === substr( $s, 0, 1) ) {508 if ( str_starts_with( $s, '"' ) ) { 509 509 $s = substr( $s, 1 ); 510 510 } 511 if ( '"' === substr( $s, -1, 1) ) {511 if ( str_ends_with( $s, '"' ) ) { 512 512 $s = substr( $s, 0, -1 ); 513 513 }
Note: See TracChangeset
for help on using the changeset viewer.