From 6789149d20ed9e26a5640e02f30ea08cb6a7c8f7 Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 2 Jun 2010 21:11:37 +0000 Subject: [PATCH] Let's not emphasize that multisite might as well be its own language. fixes #13706. git-svn-id: http://svn.automattic.com/wordpress/trunk@15118 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;