diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 65b8e9c6f..d1e5f710a 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -511,9 +511,8 @@ function get_available_languages( $dir = null ) { $languages = array(); foreach( (array)glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) { - if ( false === strpos( $lang_file, 'continents-cities' ) ) { + if ( false === strpos( $lang_file, 'continents-cities' ) && 0 !== strpos( $lang_file, 'ms-' ) ) $languages[] = basename($lang_file, '.mo'); - } } return $languages;