Changeset 39230
- Timestamp:
- 11/14/2016 09:06:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r39169 r39230 860 860 861 861 foreach ( $locations as $location ) { 862 foreach ( get_available_languages( $location ) as $file ) { 863 $cached_mofiles[] = "{$location}/{$file}.mo"; 862 $mofiles = glob( $location . '/*.mo' ); 863 if ( $mofiles ) { 864 $cached_mofiles = array_merge( $cached_mofiles, $mofiles ); 864 865 } 865 866 }
Note: See TracChangeset
for help on using the changeset viewer.