- Timestamp:
- 06/22/2023 02:55:47 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-language-pack-upgrader.php
r55911 r55990 337 337 $mo = false; 338 338 foreach ( (array) $files as $file => $filedata ) { 339 if ( '.po' === substr( $file, -3) ) {339 if ( str_ends_with( $file, '.po' ) ) { 340 340 $po = true; 341 } elseif ( '.mo' === substr( $file, -3) ) {341 } elseif ( str_ends_with( $file, '.mo' ) ) { 342 342 $mo = true; 343 343 }
Note: See TracChangeset
for help on using the changeset viewer.