Changeset 55990 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 06/22/2023 02:55:47 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r55928 r55990 1182 1182 1183 1183 // Translations are always based on the unminified filename. 1184 if ( s ubstr( $relative, -7 ) === '.min.js') {1184 if ( str_ends_with( $relative, '.min.js' ) ) { 1185 1185 $relative = substr( $relative, 0, -7 ) . '.js'; 1186 1186 } … … 1455 1455 continue; 1456 1456 } 1457 if ( substr( $file, -3 ) !== '.po') {1457 if ( ! str_ends_with( $file, '.po' ) ) { 1458 1458 continue; 1459 1459 }
Note: See TracChangeset
for help on using the changeset viewer.