Changeset 15138
- Timestamp:
- 06/04/2010 12:59:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/l10n.php
r15137 r15138 512 512 513 513 foreach( (array)glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) { 514 if ( false === strpos( $lang_file, 'continents-cities' ) && false === strpos( $lang_file, 'ms-' ) ) 515 $languages[] = basename($lang_file, '.mo'); 514 $lang_file = basename($lang_file, '.mo'); 515 if ( 0 !== strpos( $lang_file, 'continents-cities' ) && 0 !== strpos( $lang_file, 'ms-' ) ) 516 $languages[] = $lang_file; 516 517 } 517 518
Note: See TracChangeset
for help on using the changeset viewer.