Changeset 14456
- Timestamp:
- 05/04/2010 09:55:34 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/l10n.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/l10n.php
r14417 r14456 494 494 $languages = array(); 495 495 496 foreach( glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) {496 foreach( (array)glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) { 497 497 if ( false === strpos( $lang_file, 'continents-cities' ) ) { 498 498 $languages[] = basename($lang_file, '.mo');
Note: See TracChangeset
for help on using the changeset viewer.