Ticket #38590: 38590.diff
File 38590.diff, 485 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/l10n.php
diff --git src/wp-includes/l10n.php src/wp-includes/l10n.php index e8bb37a..10a9071 100644
function _load_textdomain_just_in_time( $domain ) { 859 859 ); 860 860 861 861 foreach ( $locations as $location ) { 862 foreach ( get_available_languages( $location ) as $file ) { 863 $cached_mofiles[] = "{$location}/{$file}.mo"; 864 } 862 $cached_mofiles = array_merge( $cached_mofiles, glob( $location . '/*.mo' ) ); 865 863 } 866 864 } 867 865